© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Miss matching objects on permission setting. - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
•
4y ago
•
5 replies
Huijiro
Miss matching objects on permission setting.
Typescript says that permissionOverwrites does not exits in GuildBasedChannel
, even tho it exists
, is there a specific way to setup permissions for a channel that i
'm not understanding here
?
Solution
See
https://discord.com/channels/222078108977594368/769862166131245066/1076213839990894604
Use
!isStageChannel(channel)
!isStageChannel(channel)
(function from
@sapphire/discord.js-utilities
@sapphire/discord.js-utilities
) to eliminate the
StageChannel
StageChannel
type
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
Recent Announcements
Similar Threads
Overriding default permission precondition
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago
Setting Nicknames
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Permission check in other guild
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago
Setting autocomplete options based on other option's value
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago