Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Client Permissions - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
•
3y ago
•
18 replies
Jwn5
Client Permissions
When using the client permission tag from applyOption it always passes as true even if the bot doesnt have the permission
Solution
Previously
, obtaining permissions for new applications did not work due to this
check
:
if
(
isNullish
(permissions))
if
(
isNullish
(permissions))
Because permissions have always had the value of
this.dmChannelPermissions
this.dmChannelPermissions
(for new applications
)
, in fix
, I removed this check
GitHub
framework/src/preconditions/ClientPermissions.ts at ed6d54784a79010...
Discord bot framework built on top of discord
.js for advanced and amazing bots
.
- sapphiredev
/framework
Jump to solution
Sapphire - Imagine a Framework
Join
Sapphire is a next-gen object-oriented Discord.js bot framework.
2,261
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
client permissions failing to resolve in channel
S-IaF
Sapphire - Imagine a Framework / sapphire-support
10mo ago
Default Permissions
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago
Subcommand Permissions
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Slash Command Permissions
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago