Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

discord bot missing permission but granted admin access

Tags:

discord

I'm trying to hit the /guilds/{guildId} endpoint, and I've created a bot and installed it on the server I'm trying to access and even granted it admin access, but I'm still getting a "missing access" error:

enter image description here

enter image description here

enter image description here

like image 377
Matt Westlake Avatar asked Apr 28 '19 17:04

Matt Westlake


People also ask

Why does discord keep saying missing permissions?

One of the following can cause this error: Your bot is missing the needed permission to execute this action in its calculated base or final permissions (requirement changes based on the type of action you are trying to perform). You provided an invalid permission number while trying to create overwrites.

How do I grant discord bot permissions?

You go to the OAuth2 URL Generator, and put your client ID (I hope you already know how to get that.) You then select the bot scope(and any other scopes you would like...), then scroll down to the permissions section, and select the permission your bot needs.

Should discord bots have admin rights?

A bot shouldn't automatically be able to assign itself higher-ranking than Administrators despite the fact that we specifically let it join under the conditions of it not having access to Administrative power. Administrator roles should be able to automatically kick any bots in the server.

How do I get discord permissions?

You can adjust permissions of specific channels, both text and voice, through the channel settings menu by hovering over a channel and clicking on the cog icon. Select the Permissions tab on the left-hand side. By default @everyone has access to all features of a channel.


2 Answers

In this case, Error 403 either means that the Bot is not in a guild with that id or that there is no guild with the id you provided in the URL.

Make sure, you copied the id of the correct server.

like image 121
dan1st Avatar answered Sep 30 '22 11:09

dan1st


Double check if you are using the correct token and if you're posting to the right guild.

If the bot has administrator, it simply has access to all channels. This error means that the bot user either does not have permission or is not in that guild.

like image 32
Thom Avatar answered Sep 30 '22 12:09

Thom