Merge branch 'master' of github.com:aveao/robocop-ng
This commit is contained in:
commit
f7d4af3a5e
1 changed files with 3 additions and 1 deletions
|
@ -97,7 +97,9 @@ async def on_ready():
|
|||
data_files = [discord.File(fpath) for fpath in wanted_jsons]
|
||||
await bot.botlog_channel.send(msg, files=data_files)
|
||||
|
||||
await bot.change_presence(activity=discord.Game(name=game_name))
|
||||
activity = discord.Activity(name=game_name, type=discord.ActivityType.listening)
|
||||
|
||||
await bot.change_presence(activity=activity)
|
||||
|
||||
|
||||
@bot.event
|
||||
|
|
Loading…
Reference in a new issue