muse/src/commands/index.ts
2021-12-12 20:22:21 -05:00

12 lines
412 B
TypeScript

import {SlashCommandBuilder} from '@discordjs/builders';
import {CommandInteraction} from 'discord.js';
export default interface Command {
// TODO: remove
name?: string;
aliases?: string[];
examples?: string[][];
slashCommand?: Partial<SlashCommandBuilder> & Pick<SlashCommandBuilder, 'toJSON'>;
requiresVC?: boolean;
executeFromInteraction?: (interaction: CommandInteraction) => Promise<void>;
}