Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
client.application.commands.permissions.set(), 401: Unauthorized - discord.js - Imagine ❄
d-I❄
discord.js - Imagine ❄
•
14mo ago
•
13 replies
Ypsilon
client.application.commands.permissions.set(), 401: Unauthorized
When I try to use the
client.application.commands.permissions.set()
client.application.commands.permissions.set()
I get the
401: Unauthorized
401: Unauthorized
You just use the bot token right
? or do you have to use the application secret but i still get the error then
. What am I doing wrong
?
discord.js - Imagine ❄
Join
Support server for discord.js, a Node.js module to interact with Discord's apps API.
57,915
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
set permissions
d-I❄
discord.js - Imagine ❄ / djs-questions
2y ago
Client Permissions
d-I❄
discord.js - Imagine ❄ / djs-questions
3y ago