From 4bce011b0cea52b0ed14a80beea9d0ddf0901e23 Mon Sep 17 00:00:00 2001 From: Max Isom Date: Mon, 13 Sep 2021 13:18:06 -0400 Subject: [PATCH] Fix type error Closes #313 --- src/utils/loading-message.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/loading-message.ts b/src/utils/loading-message.ts index 115aff2..a5a2fa1 100644 --- a/src/utils/loading-message.ts +++ b/src/utils/loading-message.ts @@ -1,4 +1,4 @@ -import {TextChannel, Message} from 'discord.js'; +import {TextChannel, Message, MessageReaction} from 'discord.js'; import delay from 'delay'; const INITAL_DELAY = 500; @@ -20,7 +20,7 @@ export default class { const icons = ['🐮', '🐴', '🐄']; - const reactions = []; + const reactions: MessageReaction[] = []; let i = 0; let isRemoving = false;