Ajout de la commande !say pour permettre l'envoi de messages en tant que bot dans un canal spécifié, avec des instructions d'utilisation .

This commit is contained in:
Mow
2025-11-11 22:38:22 +01:00
parent a0a14abf57
commit cb559c2863
2 changed files with 61 additions and 1 deletions
+6 -1
View File
@@ -18,7 +18,8 @@ from discordbot.moderation import (
handle_inspect_command,
handle_ban_list_command,
handle_staff_help_command,
handle_timeout_command
handle_timeout_command,
handle_say_command
)
from discordbot.welcome import sendWelcomeMessage, sendLeaveMessage, updateInviteCache
from protondb import searhProtonDb
@@ -136,6 +137,10 @@ async def on_message(message: Message):
await handle_inspect_command(message, bot)
return
if command_name == '!say':
await handle_say_command(message, bot)
return
if command_name in ['!aide', '!help']:
await handle_staff_help_command(message, bot)
return