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:
parent
490cb68dae
commit
7575875f88
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue