Fix typo in RESTMethods.js (#1455)

Mentions should be written with a capital M
This commit is contained in:
Anxeal
2017-05-03 22:35:24 +03:00
committed by Amish Shah
parent 3a73628567
commit e96daba7c0

View File

@@ -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)));
}