Merge pull request #6 from leo60228/master

Use "Listening to .help" instead of "Playing .help"
This commit is contained in:
Ave 2019-01-01 03:49:43 +02:00 committed by GitHub
commit 4c7d975073
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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