diff --git a/src/lib/commandDispatcher.js b/src/lib/commandDispatcher.js index a62ba87..5b69232 100644 --- a/src/lib/commandDispatcher.js +++ b/src/lib/commandDispatcher.js @@ -160,7 +160,7 @@ async function CommandDispatcher(msg) { } } if (response.reaction) { - msg.createReaction(response.reaction); + msg.addReaction(response.reaction); } else { try { const outMessage = await msg.channel.createMessage( @@ -179,7 +179,7 @@ async function CommandDispatcher(msg) { if (response.addReactions) { for (const index in response.addReactions) { const reaction = response.addReactions[index]; - await outMessage.createReaction(reaction); + await outMessage.addReaction(reaction); } } } catch (err) { diff --git a/src/modules/fedimbed.js b/src/modules/fedimbed.js index decdfab..b12983b 100644 --- a/src/modules/fedimbed.js +++ b/src/modules/fedimbed.js @@ -521,7 +521,7 @@ async function processUrl(msg, url, spoiler = false) { let sendWait = false; if (files.length > 0) { sendWait = true; - await msg.createReaction("\uD83D\uDCE4"); + await msg.addReaction("\uD83D\uDCE4"); } await msg.channel