Created
December 27, 2018 08:31
-
-
Save bloodywing/d92a909445b39df208276b2056c85299 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async def reset_filter(self, ctx, name): | |
server = ctx.message.server.id | |
channel = ctx.message.channel.id | |
try: | |
self.feeds[server][channel][name]['filter'] = [""] | |
except IndexError: | |
return False | |
self.save_feeds() | |
return True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment