Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/denocordts/mod.ts>SlashCommand

An Object Oriented Discord API wrapper for Deno.
Latest
class SlashCommand
extends BaseApplicationCommand
Re-export
import { SlashCommand } from "https://deno.land/x/denocordts@1.2.0/mod.ts";

Constructors

new
SlashCommand()

Methods

addSubCommand(callback: (e: SubCommand) => SubCommand): this
addSubCommandGroup(callback: (e: SubCommandGroup) => SubCommandGroup): this