Skip to content

Commit

Permalink
fix: resolve emoji in Message#react (#5614)
Browse files Browse the repository at this point in the history
  • Loading branch information
monbrey committed May 13, 2021
1 parent 73f4114 commit c733436
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/structures/Message.js
Expand Up @@ -555,6 +555,7 @@ class Message extends Base {
* .catch(console.error);
*/
async react(emoji) {
emoji = this.client.emojis.resolveIdentifier(emoji);
await this.channel.messages.react(this.id, emoji);
return this.client.actions.MessageReactionAdd.handle({
user: this.client.user,
Expand Down

0 comments on commit c733436

Please sign in to comment.