mirror of
https://github.com/Floriansylvain/Risitas_BOT.git
synced 2026-08-19 19:53:19 +02:00
✨ - Replaced the default activity status (None) by a custom one ($help).
This commit is contained in:
@@ -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)
|
||||||
Reference in New Issue
Block a user