From 1804ebcbcbdeb8b96bf66f6fb87f2c85c19bbf4a Mon Sep 17 00:00:00 2001 From: Florian SYLVAIN Date: Thu, 4 Feb 2021 20:11:18 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20-=20Replaced=20the=20default=20acti?= =?UTF-8?q?vity=20status=20(None)=20by=20a=20custom=20one=20($help).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 7b93cfd..4399ffe 100644 --- a/main.py +++ b/main.py @@ -132,7 +132,7 @@ async def chat_stop(ctx): SOCK.shutdown(1) SOCK.close() SOCK = socket.socket(socket.AF_INET, socket.SOCK_STREAM) - await bot.change_presence(activity=None) + await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name=f"$help")) await ctx.send('```Le chat a été arrêté !```') bot.run(token_bot) \ No newline at end of file