refactor(handler): exported the option builder v0.0.1

This commit is contained in:
Jacob Nguyen
2022-02-20 10:48:24 -06:00
parent 408d1e31e3
commit 15ab87aac5
3 changed files with 8 additions and 2 deletions

View File

@@ -8,7 +8,8 @@ import type {
ApplicationCommandSubGroupData
} from 'discord.js';
type BaseOption = { name : string, description : string, required : false };
// TODO : make required property optional
type BaseOption = { name : string, description : string, required : false };
export interface OptionData {
SUB_COMMAND: ApplicationCommandSubCommandData