Merge branch 'master' of github.com:aveao/robocop-ng

This commit is contained in:
Ave Ozkal 2019-01-02 02:16:17 +03:00
commit f7d4af3a5e
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B

View file

@ -97,7 +97,9 @@ async def on_ready():
data_files = [discord.File(fpath) for fpath in wanted_jsons] data_files = [discord.File(fpath) for fpath in wanted_jsons]
await bot.botlog_channel.send(msg, files=data_files) 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 @bot.event