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:Jump to solution
See https://discord.com/channels/222078108977594368/769862166131245066/1076213839990894604
Use
!isStageChannel(channel)
(function from @sapphire/discord.js-utilities
) to eliminate the StageChannel
type...4 Replies
Tried to setup it by the first code, it did not work.
Solution
See https://discord.com/channels/222078108977594368/769862166131245066/1076213839990894604
Use
!isStageChannel(channel)
(function from @sapphire/discord.js-utilities
) to eliminate the StageChannel
typeI found an alternative that works better.
But thanks for the help.