This commit is contained in:
Erik 2022-07-29 12:08:36 +03:00
parent b754444d32
commit eb5c989e88
Signed by: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -361,7 +361,7 @@ class CommandOption {
return { value: boolean, removed: [this._rawValue] }; return { value: boolean, removed: [this._rawValue] };
}, },
MEMBER: async () => { MEMBER: async () => {
const member = await this.guild.resomveMember(this._rawValue, this.strict); const member = await this.guild.resolveMember(this._rawValue, this.strict);
if (!member) return { error: true }; if (!member) return { error: true };
return { value: member, removed: [this._rawValue] }; return { value: member, removed: [this._rawValue] };
}, },