From af6e09c200ba212694c3a155347e08758972c151 Mon Sep 17 00:00:00 2001 From: Win Date: Sun, 30 Jun 2024 11:30:53 +0700 Subject: [PATCH] initial thaithai bot --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 070db4f..28181af 100644 --- a/src/index.js +++ b/src/index.js @@ -115,7 +115,7 @@ client.on('ready', () => { console.log("File change detected!"); channel.messages - .fetch(sentMessage.id) + .fetch(message_id) .then((fetchedMessage) => { console.log('Message exists');