🖥️
Discord Base
  • Welcome
  • Getting Started
    • Quickstart
  • Templates
    • Command
    • Events
    • Component
    • Route
  • Utilities
    • Colors
    • Logger
    • Remote MySQL
    • Local MySQL
    • Query Builder
  • DataTypes
    • Commands
    • Events
    • Routes
Powered by GitBook
On this page
  • Command
  • CallbackOptions
  • CommandOptions
  1. DataTypes

Commands

Defined in index, you can import them from it.

Command

property name
type annotation

data

callback

callback (below)

cooldown

number

used

date

options

callback: (client: Client, interaction: any, options: CallbackOptions) => Promise<void>;

CallbackOptions

property name
type annotation

data

cooldown

number

used

date

options

Has an alias called CommandOptions defined in engine. Can be imported from engine instead of index

CommandOptions

Defined in index, you can import it from it

import { CommandOptions } from "index"
export type CommandOptions = {
	command: {
		guild: string[];
	};
};

PreviousQuery BuilderNextEvents

Last updated 8 months ago

SlashCommandBuilder
SlashCommandBuilder
CommandOptions
CommandOptions