73 Commits

Author SHA1 Message Date
tsomic a276c1e7cd (hopefully) fix crashes 2023-01-10 21:31:58 +01:00
StarAppeal 50a0e83e43 add string interpolation 2022-11-02 22:24:55 +01:00
StarAppeal 3f38b1504d fix ratelimit bug, hopefully 2022-03-08 00:27:10 +01:00
StarAppeal 9ac98509cc Update src/bot/handlers/messageHandler.js
Co-authored-by: tsomic <60610467+tsomic@users.noreply.github.com>
2022-03-07 17:43:10 +01:00
StarAppeal 7fbfe60959 add todo 2022-03-05 22:37:01 +01:00
StarAppeal 1913ba1471 add info log when bot is starting 2022-03-05 22:36:44 +01:00
StarAppeal 7ceb58e903 refactor to more promise-style 2022-03-05 22:33:19 +01:00
StarAppeal 6ffce4b848 remove debug logs 2022-03-05 20:23:01 +01:00
StarAppeal 8e2d020249 delete comment 2022-03-05 20:22:18 +01:00
StarAppeal f755653f73 getModifiedText now uses promises 2022-03-05 20:21:59 +01:00
StarAppeal 8081b9b4f7 merge, resolve conflicts 2022-03-05 01:21:02 +01:00
StarAppeal fceffac73f remove unneccesary variable 2022-03-05 01:10:45 +01:00
StarAppeal 1919691d34 comments are now sorted by latest 2022-03-05 01:09:57 +01:00
StarAppeal ac8b0d0ebb change comment 2022-03-05 00:50:56 +01:00
StarAppeal 78480737da fix bug #2 2022-03-05 00:50:09 +01:00
StarAppeal 7b5d186a00 fix bug 2022-03-05 00:49:09 +01:00
StarAppeal f7570d5d4b getTextTpRespond now returns a promise 2022-03-05 00:33:30 +01:00
StarAppeal 18fbebcebc add example robots.json 2022-03-05 00:07:42 +01:00
StarAppeal 6e8434d0cb change comment 2022-03-05 00:03:44 +01:00
StarAppeal e821b0310d remove info log in seperate file 2022-03-05 00:01:49 +01:00
StarAppeal b761fd5169 change messageType to a constant 2022-03-04 23:58:52 +01:00
StarAppeal 193106ffc9 createLogger won't get all of the botConfig now 2022-03-04 23:57:35 +01:00
StarAppeal 5632ff2437 remove debug log 2022-03-04 23:55:19 +01:00
StarAppeal ab6edeb836 delete unneeded function 2022-03-04 23:53:26 +01:00
StarAppeal 1baf3e5f7f 'beautify' composeMessage 2022-03-04 23:51:49 +01:00
StarAppeal b5bfd06b25 Update src/bot/handlers/postHandler.js
Co-authored-by: tsomic <60610467+tsomic@users.noreply.github.com>
2022-03-04 23:50:33 +01:00
StarAppeal 44a6d70671 Update src/bot/handlers/commentHandler.js
Co-authored-by: tsomic <60610467+tsomic@users.noreply.github.com>
2022-03-04 23:50:11 +01:00
StarAppeal cd1524ef46 Update src/bot/genericBot.js
Co-authored-by: tsomic <60610467+tsomic@users.noreply.github.com>
2022-03-04 23:49:51 +01:00
StarAppeal 5062692e44 change debug variable to node_env 2022-03-04 23:49:26 +01:00
StarAppeal 48dcd914b3 move mention logging 2022-03-04 23:41:27 +01:00
StarAppeal 30b6ec6c79 change _createLogger to createLogger 2022-03-04 23:39:20 +01:00
StarAppeal 96821cfef6 bots.forEach instead of a for loop 2022-03-04 23:36:37 +01:00
StarAppeal 657d0076f5 Update src/bot/handlers/streamHandler.js
Co-authored-by: tsomic <60610467+tsomic@users.noreply.github.com>
2022-03-04 23:33:24 +01:00
StarAppeal d25a1093e2 Update src/bot/genericBot.js
Co-authored-by: tsomic <60610467+tsomic@users.noreply.github.com>
2022-03-04 23:33:14 +01:00
StarAppeal ca3f590e9a Update src/bot/genericBot.js
Co-authored-by: tsomic <60610467+tsomic@users.noreply.github.com>
2022-03-04 23:33:09 +01:00
StarAppeal 79aa4620eb Update src/bot/genericBot.js
Co-authored-by: tsomic <60610467+tsomic@users.noreply.github.com>
2022-03-04 23:33:03 +01:00
StarAppeal 3f5a2458bc Update src/server.js
Co-authored-by: tsomic <60610467+tsomic@users.noreply.github.com>
2022-03-04 23:32:50 +01:00
StarAppeal c9d8d30128 change interval from 6 seconds to 1 minute 2022-02-27 16:42:36 +01:00
StarAppeal 70160b66ad move inboxLoop log in async function 2022-02-27 00:30:55 +01:00
StarAppeal 1b56fd39ed merge master, resolve conflicts 2022-02-27 00:29:34 +01:00
StarAppeal 1da7945cf9 remove unneeded function 2022-02-27 00:21:27 +01:00
StarAppeal 9574a9226c adds todo 2022-02-27 00:16:15 +01:00
StarAppeal 6111239c0c add bot functionality for multi instances 2022-02-27 00:15:08 +01:00
tsomic 927fe9599d add try catch to main functions 2022-02-22 21:32:23 +01:00
tsomic 09176c3fff hopefully fix bots crashing 2022-02-15 19:48:00 +01:00
StarAppeal 2d79a5c4ab add functionality if text too long 2022-01-28 23:04:35 +01:00
StarAppeal c55d06347c adding multi-instances mentioning 2022-01-27 23:48:56 +01:00
tsomic d6a850593f adds retry code for reply errors 2021-07-28 22:27:42 +02:00
tsomic d63b804913 increases inbox poll time to 15 sec 2021-07-28 20:43:20 +02:00
tsomic 7dd1310abd adds possible fix 2021-07-28 20:17:20 +02:00