Question
How can i make the message commands work in only one specific channel using discord.js
8 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!Make an if for if channel.id === '12345678910'
ok
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
(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•5mo ago
Message Not Public
Sign In & Join Server To View
yea i was aking for prefix commands
not slash