diff --git a/src/interfaces/Resolver.ts b/src/interfaces/Resolver.ts index 64ddee2..ead53fb 100644 --- a/src/interfaces/Resolver.ts +++ b/src/interfaces/Resolver.ts @@ -8,7 +8,7 @@ interface IResolver { * @return {User} {User} * @memberof IResolver */ - resolveUser(resolveable: string, strict?: boolean): User | null + resolveUser(resolveable: string, strict?: boolean): Promise /** * Should resolve to a member abstraction @@ -19,7 +19,7 @@ interface IResolver { * @return {Member} {Member} * @memberof IResolver */ - resolveMember(resolveable: string, strict?: boolean, guild?: Guild): Member | null + 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): Channel | null + 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): Role | null + resolveRole(resolveable: string, strict?: boolean, guild?: Guild): Promise /** * Should resolve to true when a truthy resolveable is passed, i.e. yes, true, on etc