Skip to main content
Module

x/harmony/deploy.ts>GuildSlashCommandsManager

An easy to use Discord API Library for Deno.
Latest
class GuildSlashCommandsManager
import { GuildSlashCommandsManager } from "https://deno.land/x/harmony@v2.9.0/deploy.ts";

Constructors

new
GuildSlashCommandsManager(slash: InteractionsClient, guild: Guild | string)

Properties

private
readonly
commands: ApplicationCommandsManager
readonly
guild: Guild | string
readonly
slash: InteractionsClient

Methods

all(): Promise<Collection<string, ApplicationCommand>>
bulkEdit(commands: Array<ApplicationCommandPartial & { id?: string; }>): Promise<Collection<string, ApplicationCommand>>
get(id: string): Promise<ApplicationCommand>
[Symbol.asyncIterator](): AsyncIterableIterator<ApplicationCommand>