From 7afb17c5a7c369163e85ee0c50d6f49882284f2e Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Sat, 16 Apr 2022 03:52:28 +0200 Subject: [PATCH] show a custom activity with prefix and help command --- bot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bot.py b/bot.py index e4c4b4e..fc003a3 100644 --- a/bot.py +++ b/bot.py @@ -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):