mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 04:52:22 +00:00
Fix typo in RESTMethods.js (#1455)
Mentions should be written with a capital M
This commit is contained in:
parent
3d92c6d316
commit
ac5d4d1050
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;
|
||||
return this.rest.makeRequest(
|
||||
'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)));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue