mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-04-19 12:53:56 +02:00
12 lines
412 B
TypeScript
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>;
|
|
}
|