Skip to content Skip to sidebar Skip to footer

Discord.py: Missing Access Error Why And How Can I Fix It? (solution Found)

Solution at the end... I try to do a bot, who makes temp. Voice Channels. All commands works fine, but when I 'lock' the channel, so nobody can join anymore, all commands that mana

Solution 1:

From the docs: The error is thrown when status code 403 occurs. In other words, you're bot doesn't have access to the channel. This is probably because the channel is syncing permissions with the category which is disabling the bot its needed permissions.

You can fix this by setting up your role perm or category perm hierarchy so the bot will have access to all channels that are created.

Another possible cause is that you're locking the permissions for @everyone first which is locking the bots permissions. If this is the case, just add the line ctx.guild.me before the ctx.guild.default_role line.

Post a Comment for "Discord.py: Missing Access Error Why And How Can I Fix It? (solution Found)"