Question

How can i make the message commands work in only one specific channel using discord.js
8 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!
axiprime2.0
axiprime2.07mo ago
Make an if for if channel.id === '12345678910'
Pragati
PragatiOP7mo ago
ok
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
d.js docs
d.js docs7mo ago
Suggestion for @Pragati: :discord: Application Commands - Permissions read more
duck
duck7mo ago
(I'd guess that when they said "message commands", they're referring to prefix commands, not message context menu commands, so this wouldn't be an option available to them)
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
Pragati
PragatiOP7mo ago
yea i was aking for prefix commands not slash
Want results from more Discord servers?
Add your server