Procházet zdrojové kódy

Fix message id search

ghorsington před 5 roky
rodič
revize
ae48d46539
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      commands/rss_checker.js

+ 1 - 1
commands/rss_checker.js

@@ -86,7 +86,7 @@ async function checkFeeds() {
 function initPendingReactors() {
     let verifyChannel = client.channels.get(verifyChannelID);
     db.get("newsCache").forOwn(async i => {
-        let m = await tryFetchMessage(verifyChannel, i.verifyChannelID);
+        let m = await tryFetchMessage(verifyChannel, i.verifyMessageId);
         let collector = m.createReactionCollector(isVerifyReaction, { maxEmojis: 1 });
         collector.on("collect", collectReaction)
         reactionCollectors[m.id] = collector;