Method BatchEditApplicationCommandPermissionsAsync
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
BatchEditApplicationCommandPermissionsAsync(IEnumerable<DiscordGuildApplicationCommandPermissions>)
Batch edits permissions for a application command in this guild.
public Task<IReadOnlyList<DiscordGuildApplicationCommandPermissions>> BatchEditApplicationCommandPermissionsAsync(IEnumerable<DiscordGuildApplicationCommandPermissions> permissions)
Parameters
permissions
IEnumerable<DiscordGuildApplicationCommandPermissions>The list of permissions to use.
Returns
- Task<IReadOnlyList<DiscordGuildApplicationCommandPermissions>>
A list of edited permissions.