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); }