Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/harmony/src/interactions/mod.ts>GuildSlashCommandsManager

An easy to use Discord API Library for Deno.
Go to Latest
class GuildSlashCommandsManager
import { GuildSlashCommandsManager } from "https://deno.land/x/harmony@v2.8.0/src/interactions/mod.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>