Question

How can i make the message commands work in only one specific channel using discord.js
8 Replies
d.js toolkit
d.js toolkit5mo 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.05mo ago
Make an if for if channel.id === '12345678910'
Pragati
Pragati5mo ago
ok
Unknown User
Unknown User5mo ago
Message Not Public
Sign In & Join Server To View
d.js docs
d.js docs5mo ago
Suggestion for @Pragati: :discord: Application Commands - Permissions read more
duck
duck5mo 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 User5mo ago
Message Not Public
Sign In & Join Server To View
Pragati
Pragati5mo ago
yea i was aking for prefix commands not slash
Want results from more Discord servers?
Add your server