mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 21:02:38 +00:00
Change to use intrinsic boolean value for None types
This commit is contained in:
parent
36bf46753e
commit
814d8eaf25
1 changed files with 1 additions and 1 deletions
|
@ -1324,7 +1324,7 @@ class MsG:
|
|||
|
||||
@_get_blacklist.group(name='all', aliases=['a'])
|
||||
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.message.add_reaction('\N{CROSS MARK}')
|
||||
|
||||
|
|
Loading…
Reference in a new issue