소스 검색

Remove debug features

ghorsington 5 년 전
부모
커밋
e3605ad778
2개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 1
      bot/src/bbcode-parser/bbcode-js.ts
  2. 1 1
      bot/src/commands/forums_news_checker.ts

+ 0 - 1
bot/src/bbcode-parser/bbcode-js.ts

@@ -56,7 +56,6 @@ function doReplace(content: string, matches: Replacement[], options: BBCodeConfi
 }
 
 function listItemReplace(options: BBCodeConfig, fullMatch: string, tag: string, value: string) {
-    console.log(fullMatch);
     return '<li>' + doReplace(value.trim(), [{ e: '\\[(\\w+)(?:[= ]([^\\]]+))?]((?:.|[\r\n])*?)\\[/\\1]', func: tagReplace }], options) + '</li>';
 }
 

+ 1 - 1
bot/src/commands/forums_news_checker.ts

@@ -306,6 +306,6 @@ export default {
         botUserId = user.user_id;
 
         await initPendingReactors();
-        interval(checkFeeds, RSS_UPDATE_INTERVAL_MIN * 1000);
+        interval(checkFeeds, RSS_UPDATE_INTERVAL_MIN * 60 * 1000);
     }
 } as ICommand;