3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-23 09:35:02 +00:00

Fix missing await

This commit is contained in:
Dragory 2021-09-04 20:49:25 +03:00
parent b81ee40567
commit e6a738727d

View file

@ -25,7 +25,7 @@ export async function applyReactionRoleReactionsToMessage(
let targetMessage;
try {
targetMessage = channel.messages.fetch(messageId, { force: true });
targetMessage = await channel.messages.fetch(messageId, { force: true });
} catch (e) {
if (isDiscordAPIError(e)) {
if (e.code === 10008) {