diff options
| author | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-07-06 00:49:15 +0100 |
|---|---|---|
| committer | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-07-06 00:49:15 +0100 |
| commit | 8325625cb26450e2f5f1d118bd3b3e86ca217f0c (patch) | |
| tree | 481b6f5f47b5fac83a64a4a80855eb300844d615 /174bg/discord-bot | |
| parent | e2ad36830cb505b6560e98715cb62b9a778e7eae (diff) | |
| download | unnamed-group-8325625cb26450e2f5f1d118bd3b3e86ca217f0c.tar unnamed-group-8325625cb26450e2f5f1d118bd3b3e86ca217f0c.tar.gz unnamed-group-8325625cb26450e2f5f1d118bd3b3e86ca217f0c.tar.bz2 unnamed-group-8325625cb26450e2f5f1d118bd3b3e86ca217f0c.tar.xz unnamed-group-8325625cb26450e2f5f1d118bd3b3e86ca217f0c.zip | |
oops
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) |
