import { GuildSlashCommandsManager } from "https://deno.land/x/harmony@v2.6.0/src/interactions/applicationCommand.ts";
Constructors
new
GuildSlashCommandsManager(slash: InteractionsClient, guild: Guild | string)Properties
private
readonly
commands: ApplicationCommandsManagerreadonly
guild: Guild | stringreadonly
permissions: ApplicationCommandPermissionsManagerreadonly
slash: InteractionsClientMethods
all(): Promise<Collection<string, ApplicationCommand>>
bulkEdit(commands: Array<ApplicationCommandPartial & { id?: string; }>): Promise<Collection<string, ApplicationCommand>>
create(cmd: ApplicationCommandPartial): Promise<ApplicationCommand>
delete(id: string): Promise<GuildApplicationCommandsManager>
edit(id: string, cmd: ApplicationCommandPartial): Promise<ApplicationCommand>
get(id: string): Promise<ApplicationCommand>
[Symbol.asyncIterator](): AsyncIterableIterator<ApplicationCommand>