From 79e3c9c7f07a84a1990df19ab8b815481a9c1a93 Mon Sep 17 00:00:00 2001 From: Tubuanha <70151015+tubuanha@users.noreply.github.com> Date: Mon, 14 Mar 2022 17:17:48 +0900 Subject: [PATCH] fix: error --- src/Events/messageUpdate.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Events/messageUpdate.ts b/src/Events/messageUpdate.ts index 64b68ec..ed4f9a7 100644 --- a/src/Events/messageUpdate.ts +++ b/src/Events/messageUpdate.ts @@ -16,8 +16,8 @@ module.exports = { } if ( - message.author.id === '302050872383242240' && - message.embeds[0].description?.includes('表示順をアップしたよ') + newMessage.author.id === '302050872383242240' && + newMessage.embeds[0].description?.includes('表示順をアップしたよ') ) { UpdateBoard(newMessage); }