Help with ticket bot
Need someone who programs in js. I have a problem with the ticket panel and select menu. I would like the tickets after selecting the appropriate category from the select menu to create on the appropriate channel.
11 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!this is for questions with djs itself, what part specifically are you struggling to do with djs?
djs itself
:guide: Message Components: Component interactions - Component collectors
In the collect event, each interaction is a StringSelectMenuInteractionopen in new window thanks to the componentType: ComponentType.StringSelect option provided to the collector (and because that was the only type of component in the message). The selected value(s) are available via the in new...
read more
You can use this to collect the information from a select menu
You will need to store that somewhere so that your ticket command knows what channel to use
@ʎǝɹquoɯ Thank you for help
❤️
@ʎǝɹquoɯ Could you still help?
with what?
Bot fails to remember panels after reboot despite panels.json database
json is not a database
Not sure I can help you with that since it has nothing to do with discord.js
Sequelize?
also no