1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-11-01 21:02:38 +00:00

Added change log to game command

This commit is contained in:
Myned 2017-11-20 06:08:16 -05:00
parent 490cb68dae
commit 7575875f88

View file

@ -76,10 +76,12 @@ class Bot:
await self.bot.change_presence(game=d.Game(name=game))
u.config['playing'] = game
u.dump(u.config, 'config.json', json=True)
await ctx.send(f'**Game changed to** `{game}`')
else:
await self.bot.change_presence(game=None)
u.config['playing'] = 'None'
u.dump(u.config, 'config.json', json=True)
await ctx.send('**Game changed to** ` `')
class Tools: