Initialisation du repository de Beta

This commit is contained in:
Mathis 2026-02-06 22:23:20 +01:00
commit 14985f6dbb
9469 changed files with 1903273 additions and 0 deletions

View file

@ -0,0 +1,12 @@
import discord
from .config import config
async def execute(bot, params, message):
channel_name = params.get('channel_name')
guild = message.guild
channel = discord.utils.find(lambda c: c.name.casefold() == channel_name.casefold(), guild.channels)
if not channel:
await message.channel.send(f"Salon '{channel_name}' introuvable.")
return
config.set_goodbye_channel(guild.id, channel.id)
await message.channel.send(f"Salon d'au revoir défini sur {channel.mention}.")