Question

How can i make the message commands work in only one specific channel using discord.js
8 Replies
d.js toolkit
d.js toolkit10mo 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.010mo ago
Make an if for if channel.id === '12345678910'
Pragati
PragatiOP10mo ago
ok
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
d.js docs
d.js docs10mo ago
Suggestion for @Pragati: :discord: Application Commands - Permissions read more
duck
duck10mo 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 User10mo ago
Message Not Public
Sign In & Join Server To View
Pragati
PragatiOP10mo ago
yea i was aking for prefix commands not slash

Did you find this page helpful?