bugfix
This commit is contained in:
parent
b754444d32
commit
eb5c989e88
@ -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] };
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user