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

x/wackford/src/commands.ts>SlashCommandOptions

The wackiest Discord bot framework for Deno powered by Discordeno
Go to Latest
interface SlashCommandOptions
import { type SlashCommandOptions } from "https://deno.land/x/wackford@v0.0.5/src/commands.ts";

Properties

name: string
optional
description: string
execute: (
bot: Bot,
interaction: Interaction,
args: Record<string, CustomInteractionDataOption>,
) => unknown
optional
options: ApplicationCommandOption[]