- Replaced the default activity status (None) by a custom one ($help).

This commit is contained in:
Florian SYLVAIN
2021-02-04 20:11:18 +01:00
parent ccfb67b7be
commit 1804ebcbcb
+1 -1
View File
@@ -132,7 +132,7 @@ async def chat_stop(ctx):
SOCK.shutdown(1) SOCK.shutdown(1)
SOCK.close() SOCK.close()
SOCK = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 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é !```') await ctx.send('```Le chat a été arrêté !```')
bot.run(token_bot) bot.run(token_bot)