Bot Not Updating Voice Permissions
I'm trying to have an event voice channel that is locked(
everyone
cannot connect or speak), but when an event is live have the perms update so everyone
can connect and speak to that channel.
There are no console errors I am seeing, and I know it's detecting an active event since the channels status gets updated to reflect the event name as it's supposed to.
Can someone give this a look over and see what I'm doing wrong in the permissions area?
2 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!I know it's detecting an active event since the channels status gets updated to reflect the event name as it's supposed tothat's strange given that
<GuildScheduledEvent>.status
isn't a string
it should be a number for which you could use the GuildScheduledEventStatus
enum