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
Add missing /commands to some permission endpoints
Update permissions functions descriptions
Fix bug that calls the wrong function if there's a ratelimit
Fixes: #198
A coroutine that sends a slash command get request to Discord API.
150
+
A coroutine that sends a gets all the commands permissions for that guild.
151
151
152
152
:param bot_id: User ID of the bot.
153
153
:param bot_token: Token of the bot.
154
154
:param guild_id: ID of the guild to get permissions.
155
155
:return: JSON Response of the request. A list of <https://discord.com/developers/docs/interactions/slash-commands#get-application-command-permissions>.
156
156
:raises: :class:`.error.RequestFailure` - Requesting to Discord API has failed.
:return: JSON Response of the request. A list of <https://discord.com/developers/docs/interactions/slash-commands#batch-edit-application-command-permissions>.
210
211
:raises: :class:`.error.RequestFailure` - Requesting to Discord API has failed.
0 commit comments