No duplicate tickets in discord.js
I want to make my bot to not create another ticket if there is an open ticket by the user requesting this action.
10 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
But this is not working*
discord.js v13.8.0
node.js v16
No errors*
Elaborate
oh wait
In JavaScript, = is used for assignment, == for loose equality, and === for strict equality checks.
• Equality and sameness in JavaScript: learn more
It doesn't work again
case sensitive
channel names are lowercase
Also this ^
For ticketCategory declaration
Thanks this worked
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View