diff --git a/CommandLab.py b/CommandLab.py index 9e9b302..3606f54 100644 --- a/CommandLab.py +++ b/CommandLab.py @@ -154,7 +154,7 @@ async def on_message(message: discord.Message): if message.author.id in client.owner_ids or []: await client.process_commands(message) - if message.channel.id == 965095619838488576: + if message.channel.id == config.botcommand_channel_id: if message.author.bot: return diff --git a/config/config.py b/config/config.py index 4e29fba..69d0864 100644 --- a/config/config.py +++ b/config/config.py @@ -40,6 +40,7 @@ class Config(BaseModel): mee6: MEe6 advertisement_channnel_id: int admin_category_id: int + botcommand_channel_id: int # -----------------------------------------------------------