diff options
Diffstat (limited to '174bg/discord-bot')
| -rw-r--r-- | 174bg/discord-bot/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/174bg/discord-bot/main.js b/174bg/discord-bot/main.js index b911e1d..adebe04 100644 --- a/174bg/discord-bot/main.js +++ b/174bg/discord-bot/main.js @@ -127,7 +127,8 @@ const commands = [ execute: async (interaction) => { // get "tickets" category const ticketsCategory = interaction.guild.channels.cache.find( - (channel) => channel.name === "tickets" && channel.type === 4, + (channel) => + channel.name.toLowerCase() === "tickets" && channel.type === 4, ); if (!ticketsCategory) |
