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) (function from @sapphire/discord.js-utilities) to eliminate the StageChannel type...
Jump to solution
4 Replies
Huijiro
HuijiroOP2y ago
Tried to setup it by the first code, it did not work.
Solution
Favna
Favna2y ago
See https://discord.com/channels/222078108977594368/769862166131245066/1076213839990894604 Use !isStageChannel(channel) (function from @sapphire/discord.js-utilities) to eliminate the StageChannel type
Huijiro
HuijiroOP2y ago
I found an alternative that works better.
Huijiro
HuijiroOP2y ago
But thanks for the help.
Want results from more Discord servers?
Add your server