mirror of
https://github.com/alterware/aw-bot.git
synced 2025-10-26 22:16:58 +00:00
chore: schizo
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user