1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-24 22:27:28 +00:00

Fix equality comparisons for strings

This commit is contained in:
Myned 2020-01-11 02:46:55 -05:00
parent 861259ec01
commit 09c4fc844e
No known key found for this signature in database
GPG key ID: E0C1E07EC22E19C8

View file

@ -44,7 +44,7 @@ async def on_ready():
u.cogs[type(cog).__name__] = cog
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']))
print('\n> > > > > > > > >'
@ -83,7 +83,7 @@ async def on_ready():
u.cogs['Admin'].deleting = True
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 reconnect.add_reaction('\N{WHITE HEAVY CHECK MARK}')