We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dc3e79c + b0e8693 commit 406ffc9Copy full SHA for 406ffc9
1 file changed
src/structures/Message.js
@@ -403,7 +403,10 @@ class Message extends Base {
403
async getMentions() {
404
return await Promise.all(
405
this.mentionedIds.map(
406
- async (m) => await this.client.getContactById(m),
+ async (m) =>
407
+ await this.client.getContactById(
408
+ typeof m === 'string' ? m : m._serialized,
409
+ ),
410
),
411
);
412
}
0 commit comments