mirror of
https://github.com/sern-handler/handler
synced 2026-06-18 05:42:15 +00:00
refactor: make description optional
This commit is contained in:
@@ -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>
|
||||
}>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user