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
176
177
:param bot_id: User ID of the bot.
177
178
:param bot_token: Token of the bot.
178
179
:param guild_id: ID of the guild to update permissions on.
179
180
:param command_id: ID for the command to update permissions on.
180
-
:param permissions: List of permissions for the command.
181
181
:return: JSON Response of the request. A list of <https://discord.com/developers/docs/interactions/slash-commands#edit-application-command-permissions>
182
182
:raises: :class:`.error.RequestFailure` - Requesting to Discord API has failed.
:param guild_id: ID of the guild to update permissions.
236
-
:param permissions: List of dict with permissions for each commands.
235
+
:param cmd_permissions: List of dict with permissions for each commands.
237
236
:return: JSON Response of the request. A list of <https://discord.com/developers/docs/interactions/slash-commands#batch-edit-application-command-permissions>.
238
237
:raises: :class:`.error.RequestFailure` - Requesting to Discord API has failed.
0 commit comments