import { ApplicationCommandPermissionsManager } from "https://deno.land/x/harmony@v2.8.0/src/interactions/mod.ts";
Constructors
new
ApplicationCommandPermissionsManager(client: InteractionsClient, guildID?: string)Properties
readonly
rest: RESTManagerreadonly
slash: InteractionsClientMethods
all(guild?: Guild | string): Promise<GuildApplicationCommandPermissions[]>
Get an array of all Slash Commands (of current Client) Permissions in a Guild
bulkEdit(permissions: GuildSlashCommmandPermissionsPartial[], guild?: Guild | string): Promise<GuildApplicationCommandPermissions[]>
Sets permissions of multiple Slash Commands in a Guild with just one call
get(cmd: string | ApplicationCommand, guild: Guild | string): Promise<GuildApplicationCommandPermissions>
Get slash command permissions for a specific command
set(): Promise<GuildApplicationCommandPermissions>
Sets permissions of a Slash Command in a Guild
[Symbol.asyncIterator](): AsyncIterableIterator<GuildApplicationCommandPermissions>