mirror of
https://github.com/danbulant/discord.js
synced 2026-07-06 03:31:03 +00:00
Webpack build for branch master: ed42d7bd85
This commit is contained in:
parent
62561bb110
commit
ae746c5c06
2 changed files with 2 additions and 2 deletions
|
|
@ -23007,7 +23007,7 @@ class RESTMethods {
|
||||||
const data = { image, name };
|
const data = { image, name };
|
||||||
if (roles) data.roles = roles.map(r => r.id ? r.id : r);
|
if (roles) data.roles = roles.map(r => r.id ? r.id : r);
|
||||||
return this.rest.makeRequest('post', `${Constants.Endpoints.guildEmojis(guild.id)}`, true, data)
|
return this.rest.makeRequest('post', `${Constants.Endpoints.guildEmojis(guild.id)}`, true, data)
|
||||||
.then(emoji => this.client.actions.GuildEmojiCreate.handle(emoji, guild).emoji);
|
.then(emoji => this.client.actions.GuildEmojiCreate.handle(guild, emoji).emoji);
|
||||||
}
|
}
|
||||||
|
|
||||||
updateEmoji(emoji, _data) {
|
updateEmoji(emoji, _data) {
|
||||||
|
|
|
||||||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue