mirror of
https://github.com/danbulant/discord.js
synced 2026-06-20 23:21:04 +00:00
Webpack build for branch 11.1-dev: e96daba7c0
This commit is contained in:
parent
bb39eeeae0
commit
2c6e095d60
2 changed files with 3 additions and 3 deletions
|
|
@ -24929,11 +24929,11 @@ class RESTMethods {
|
|||
);
|
||||
}
|
||||
|
||||
fetchMeMentions(options) {
|
||||
fetchMentions(options) {
|
||||
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)));
|
||||
}
|
||||
|
||||
|
|
|
|||
2
discord.11.1-dev.min.js
vendored
2
discord.11.1-dev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue