Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
class GuildSlashCommandsManager
import { GuildSlashCommandsManager } from "https://deno.land/x/harmony@v2.9.1/src/interactions/applicationCommand.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>