show a custom activity with prefix and help command

This commit is contained in:
Aaron Riedel 2022-04-16 03:52:28 +02:00
parent f78cfa6853
commit 7afb17c5a7
Signed by: aaron
GPG key ID: 643004654D40D577

3
bot.py
View file

@ -72,6 +72,9 @@ async def on_command_error(ctx, error):
@bot.event
async def on_ready():
print("Bot ready on Version %s..." % discord.__version__)
activity = discord.Activity(name='%shelp' % prefix, type=discord.ActivityType.listening)
#activity = discord.Game('%shelp for Help' % prefix)
await bot.change_presence(status=discord.Status.online, activity=activity)
#@bot.event
#async def on_message(message):