Corrected how to remove a subscription
This commit is contained in:
parent
ca9d3e1f06
commit
9cdbfda3ee
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ class Deviantart:
|
||||||
if content is None:
|
if content is None:
|
||||||
await self.bot.say("You are not subscribed to anyone at the moment!")
|
await self.bot.say("You are not subscribed to anyone at the moment!")
|
||||||
elif username in content[0]['subbed']:
|
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))
|
await self.bot.say("You have just unsubscribed from {}!".format(username))
|
||||||
else:
|
else:
|
||||||
await self.bot.say("You are not subscribed to that user!")
|
await self.bot.say("You are not subscribed to that user!")
|
||||||
|
|
Loading…
Reference in a new issue