Don't include type files in build
This commit is contained in:
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
import { Client, ContextMenuCommandBuilder, SlashCommandBuilder } from 'discord.js';
|
||||
import { Handler } from './handler';
|
||||
|
||||
export type CommandBuilder = ContextMenuCommandBuilder | SlashCommandBuilder;
|
||||
|
||||
export interface Command extends Handler {
|
||||
data: CommandBuilder | ((client: Client) => Promise<CommandBuilder>);
|
||||
guilds?: string[];
|
||||
}
|
||||
Reference in New Issue
Block a user