mirror of
https://github.com/danbulant/discord.js
synced 2026-06-06 16:22:08 +00:00
Fix typo in RESTMethods.js (#1455)
Mentions should be written with a capital M
This commit is contained in:
parent
3a73628567
commit
e96daba7c0
1 changed files with 1 additions and 1 deletions
|
|
@ -767,7 +767,7 @@ class RESTMethods {
|
||||||
if (options.guild) options.guild = options.guild.id ? options.guild.id : options.guild;
|
if (options.guild) options.guild = options.guild.id ? options.guild.id : options.guild;
|
||||||
return this.rest.makeRequest(
|
return this.rest.makeRequest(
|
||||||
'get',
|
'get',
|
||||||
Endpoints.User('@me').mentions(options.limit, options.roles, options.everyone, options.guild)
|
Endpoints.User('@me').Mentions(options.limit, options.roles, options.everyone, options.guild)
|
||||||
).then(res => res.body.map(m => new Message(this.client.channels.get(m.channel_id), m, this.client)));
|
).then(res => res.body.map(m => new Message(this.client.channels.get(m.channel_id), m, this.client)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue