mirror of
https://github.com/myned/modufur.git
synced 2024-12-25 14:47:29 +00:00
Fix equality comparisons for strings
This commit is contained in:
parent
861259ec01
commit
09c4fc844e
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ async def on_ready():
|
||||||
u.cogs[type(cog).__name__] = cog
|
u.cogs[type(cog).__name__] = cog
|
||||||
print(f'COG : {type(cog).__name__}')
|
print(f'COG : {type(cog).__name__}')
|
||||||
|
|
||||||
if u.config['playing'] is not '':
|
if u.config['playing'] != '':
|
||||||
await bot.change_presence(activity=d.Game(u.config['playing']))
|
await bot.change_presence(activity=d.Game(u.config['playing']))
|
||||||
|
|
||||||
print('\n> > > > > > > > >'
|
print('\n> > > > > > > > >'
|
||||||
|
@ -83,7 +83,7 @@ async def on_ready():
|
||||||
u.cogs['Admin'].deleting = True
|
u.cogs['Admin'].deleting = True
|
||||||
bot.loop.create_task(u.cogs['Admin'].delete())
|
bot.loop.create_task(u.cogs['Admin'].delete())
|
||||||
|
|
||||||
if u.config['playing'] is not '':
|
if u.config['playing'] != '':
|
||||||
await bot.change_presence(activity=d.Game(u.config['playing']))
|
await bot.change_presence(activity=d.Game(u.config['playing']))
|
||||||
|
|
||||||
await reconnect.add_reaction('\N{WHITE HEAVY CHECK MARK}')
|
await reconnect.add_reaction('\N{WHITE HEAVY CHECK MARK}')
|
||||||
|
|
Loading…
Reference in a new issue