How to create setable commands
I want to create setable commands like
/set ticket-channel <channel id i want to set for this server>
7 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!
- ✅
Marked as resolved by OPI've tried but it changes nothing as i want to do :/
and i don't want to enter the channel id/name everytime i do that command
the entire file : https://pastebin.com/KiCt4r3u
Pastebin
ticket.js - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
I'm using adkynet to host my bot and i have the option to create a database but how can i create table and iteract with using the bot ?
okay thx ^^