Corrected how to remove a subscription
This commit is contained in:
parent
ca9d3e1f06
commit
9cdbfda3ee
|
@ -129,7 +129,7 @@ class Deviantart:
|
|||
if content is None:
|
||||
await self.bot.say("You are not subscribed to anyone at the moment!")
|
||||
elif username in content[0]['subbed']:
|
||||
await config.update_content('deviantart', {'subbed': r.row['subbed'].remove(username)}, r_filter)
|
||||
await config.update_content('deviantart', {'subbed': content[0]['subbed'].remove(username)}, r_filter)
|
||||
await self.bot.say("You have just unsubscribed from {}!".format(username))
|
||||
else:
|
||||
await self.bot.say("You are not subscribed to that user!")
|
||||
|
|
Loading…
Reference in a new issue