diff --git a/src/handler/structures/module.ts b/src/handler/structures/module.ts index 5075471..5afc91c 100644 --- a/src/handler/structures/module.ts +++ b/src/handler/structures/module.ts @@ -37,7 +37,7 @@ export type TextCommand = Override< onEvent: EventPlugin[]; //maybe allow BothPlugins for this also? plugins: CommandPlugin[]; //maybe allow BothPlugins for this also? alias?: string[]; - execute: (ctx: Context, args: Args) => Awaitable; + execute: (ctx: Context, args: ['text', string[]]) => Awaitable; } >; @@ -48,7 +48,7 @@ export type SlashCommand = Override< onEvent: EventPlugin[]; //maybe allow BothPlugins for this also? plugins: CommandPlugin[]; //maybe allow BothPlugins for this also? options?: SernOptionsData[]; - execute: (ctx: Context, args: Args) => Awaitable; + execute: (ctx: Context, args: ['slash', SlashOptions]) => Awaitable; } >;