addReaction -> createReaction
This commit is contained in:
parent
cdbae2c0be
commit
5557b96997
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue