1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-25 06:37:29 +00:00

Change to use intrinsic boolean value for None types

This commit is contained in:
Myned 2017-11-19 23:41:51 -05:00
parent 36bf46753e
commit 814d8eaf25

View file

@ -1324,7 +1324,7 @@ class MsG:
@_get_blacklist.group(name='all', aliases=['a']) @_get_blacklist.group(name='all', aliases=['a'])
async def __get_all_blacklists(self, ctx): async def __get_all_blacklists(self, ctx):
if ctx.invoked_subcommand is None: if not ctx.invoked_subcommand:
await ctx.send('**Invalid blacklist**') await ctx.send('**Invalid blacklist**')
await ctx.message.add_reaction('\N{CROSS MARK}') await ctx.message.add_reaction('\N{CROSS MARK}')