From 9ae4270e04f507325020f89645ba812bf85068bc Mon Sep 17 00:00:00 2001 From: Sid <93219711+SindreKjelsrud@users.noreply.github.com> Date: Sun, 19 Dec 2021 11:55:41 +0100 Subject: [PATCH] added bots activity to "!help" --- main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index ea9d42c..724cc5f 100644 --- a/main.py +++ b/main.py @@ -44,10 +44,12 @@ def get_dog(): dog.set_image(url = res['message']) return dog -# when bot is ready +## BOT READY @client.event # Register an event async def on_ready(): print('We have logged in as {0.user}'.format(client)) + activity = discord.Game(name = "!help") # sets bot activity + await client.change_presence(status = discord.Status.online, activity = activity) ## MESSAGE RESPONSES