mirror of
https://github.com/SrIzan10/handler.git
synced 2026-05-01 10:45:17 +00:00
fix: Fix return type of sernModule
This commit is contained in:
@@ -30,14 +30,14 @@ export type TextCommand = Override<BaseModule, {
|
||||
export type SlashCommand = Override<BaseModule, {
|
||||
type: CommandType.Slash;
|
||||
onEvent?: EventPlugin<CommandType.Slash>[]
|
||||
plugins?: (CommandPlugin)[];
|
||||
plugins?: CommandPlugin[];
|
||||
options?: ApplicationCommandOptionData[];
|
||||
}>;
|
||||
|
||||
export type BothCommand = Override<BaseModule, {
|
||||
type: CommandType.Both;
|
||||
onEvent?: EventPlugin<CommandType.Both>[]
|
||||
plugins?: (CommandPlugin)[]
|
||||
plugins?: CommandPlugin[]
|
||||
alias?: string[];
|
||||
options?: ApplicationCommandOptionData[];
|
||||
}>;
|
||||
@@ -45,7 +45,7 @@ export type BothCommand = Override<BaseModule, {
|
||||
export type ContextMenuUser = Override<BaseModule, {
|
||||
type: CommandType.MenuUser;
|
||||
onEvent?: EventPlugin<CommandType.MenuUser>[];
|
||||
plugins?: (CommandPlugin)[];
|
||||
plugins?: CommandPlugin[];
|
||||
execute: (ctx: UserContextMenuCommandInteraction) => Awaitable<void>
|
||||
}>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user