You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A coroutine that sends a request to get a single command's permissions in guild
175
+
176
+
:param bot_id: User ID of the bot.
177
+
:param bot_token: Token of the bot.
178
+
:param guild_id: ID of the guild to update permissions on.
179
+
:param command_id: ID for the command to update permissions on.
180
+
:param permissions: List of permissions for the command.
181
+
:return: JSON Response of the request. A list of <https://discord.com/developers/docs/interactions/slash-commands#edit-application-command-permissions>
182
+
:raises: :class:`.error.RequestFailure` - Requesting to Discord API has failed.
0 commit comments