1
0
Fork 0
mirror of synced 2024-06-26 10:10:44 +12:00

Corrected how to remove a subscription

This commit is contained in:
Phxntxm 2016-10-07 20:58:52 -05:00
parent ca9d3e1f06
commit 9cdbfda3ee

View file

@ -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!")