addReaction -> createReaction

This commit is contained in:
Cynthia Foxwell 2022-10-09 12:25:52 -06:00
parent cdbae2c0be
commit 5557b96997
1 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ async function CommandDispatcher(msg) {
}
}
if (response.reaction) {
msg.addReaction(response.reaction);
msg.createReaction(response.reaction);
} else {
try {
const outMessage = await msg.channel.createMessage(
@ -123,7 +123,7 @@ async function CommandDispatcher(msg) {
if (response.addReactions) {
for (const index in response.addReactions) {
const reaction = response.addReactions[index];
await outMessage.addReaction(reaction);
await outMessage.createReaction(reaction);
}
}
} catch (err) {