diff --git a/src/interfaces/Command.ts b/src/interfaces/Command.ts index e2c96c8..0e921f6 100644 --- a/src/interfaces/Command.ts +++ b/src/interfaces/Command.ts @@ -20,7 +20,7 @@ interface ICommand { subcommandGroup(name: string): SubcommandGroupOption | null - execute(message: unknown, args?: ArgsResult): Promise + execute(message: unknown, opts?: {args?: ArgsResult, subcommand?: string, subcommandGroup?: string}): Promise } diff --git a/src/interfaces/Resolver.ts b/src/interfaces/Resolver.ts index f097f19..8a576c8 100644 --- a/src/interfaces/Resolver.ts +++ b/src/interfaces/Resolver.ts @@ -19,7 +19,7 @@ interface IResolver { * @return {Member} {Member} * @memberof IResolver */ - resolveMember(resolveable: string, strict: boolean, guild: Guild): Promise + resolveMember(resolveable: string, strict: boolean, guild: Guild): Promise /** * Should resolve to a role abstraction @@ -30,7 +30,7 @@ interface IResolver { * @return {Channel} {Channel} * @memberof IResolver */ - resolveChannel(resolveable: string, strict: boolean, guild: Guild): Promise + resolveChannel(resolveable: string, strict: boolean, guild: Guild): Promise /** * Should resolve to a role abstraction @@ -41,7 +41,7 @@ interface IResolver { * @return {Role} {Role} * @memberof IResolver */ - resolveRole(resolveable: string, strict: boolean, guild: Guild): Promise + resolveRole(resolveable: string, strict: boolean, guild: Guild): Promise /** * Should resolve to true when a truthy resolveable is passed, i.e. yes, true, on etc