chore: schizo

This commit is contained in:
2025-06-10 14:09:17 +02:00
parent ced26fcb59
commit 63fb12dbba
5 changed files with 3139 additions and 23 deletions

View File

@@ -13,20 +13,6 @@ GUILD_ID = 1110531063161299074
BOT_LOG = 1112049391482703873
GENERAL_CHANNEL = 1110531063744303138
ALLOWED_CHANNELS = [
GENERAL_CHANNEL,
1119371841711112314, # vip-channel
1112048063448617142, # off-topic
1112016681880014928, # mw2 sp
1145459504436220014, # iw5 support
1145469136919613551, # s1 general
1145459788151537804, # s1 support
1145469106133401682, # iw6 general
1145458770122649691, # iw6 support
1180796251529293844, # bo3 general
1180796301953212537, # bo3 support
BOT_LOG,
]
async def setup(bot):
@@ -119,13 +105,6 @@ async def setup(bot):
"""
Slash command to check if the input matches any predefined patterns.
"""
# Check if the command is executed in an allowed channel
if interaction.channel_id not in ALLOWED_CHANNELS:
await interaction.response.send_message(
"This command cannot be used in this channel.", ephemeral=True
)
return
# Check if the user is blacklisted
if is_user_blacklisted(interaction.user.id):
await interaction.response.send_message(