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
d.js toolkit
d.js toolkit7mo ago
- 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 OP
d.js docs
d.js docs7mo ago
Suggestion for @HydrA2F/ミズさん:guide Slash Commands: Advanced command creation - Option types User, Channel, Role and Mentionable options will show a selection list in the Discord interface for their associated type, or will accept a Snowflake (id) as input. read more
HydrA2F/ミズさん
I've tried but it changes nothing as i want to do :/
HydrA2F/ミズさん
and i don't want to enter the channel id/name everytime i do that command
HydrA2F/ミズさん
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.
HydrA2F/ミズさん
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 ^^