refactor: make description optional

This commit is contained in:
Jacob Nguyen
2022-05-17 16:18:14 -05:00
parent 5556b2aa0a
commit f8987499f6

View File

@@ -47,6 +47,7 @@ export type ContextMenuUser = Override<BaseModule, {
type: CommandType.MenuUser;
onEvent?: EventPlugin<CommandType.MenuUser>[];
plugins?: (CommandPlugin)[];
description? : string;
execute: (ctx: UserContextMenuCommandInteraction) => Awaitable<void>
}>
@@ -54,6 +55,7 @@ export type ContextMenuMsg = Override<BaseModule, {
type: CommandType.MenuMsg;
onEvent?: EventPlugin<CommandType.MenuMsg>[];
plugins?: CommandPlugin[];
description? : string;
execute: (ctx: MessageContextMenuCommandInteraction) => Awaitable<void>
}>;