1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-18 00:31:00 -05:00
Commit Graph

626 Commits

Author SHA1 Message Date
AnxietyisReal
0bc8ab5d5b Fixed issue caused by PEBCAK 2023-10-30 21:34:15 +11:00
AnxietyisReal
7662d6e8b6 Update CDN url 2023-10-18 19:53:28 +11:00
Toast
917465a728 Bot keeps forgetting commands on startup 2023-10-16 17:39:01 +11:00
AnxietyisReal
c55bf8c6c0 Offload commitHashes() to worker thread 2023-10-16 04:38:12 +11:00
AnxietyisReal
1558e53cdc YouTube no longer has videos.xml page 2023-10-13 09:11:17 +11:00
AnxietyisReal
0bcd398d0e Add YouTube token 2023-10-13 08:45:44 +11:00
AnxietyisReal
4750e165a2 Backport the patch from Canary bot. 2023-10-12 22:34:00 +11:00
Toast
a5b12217a3 Fix bot not responding to certain triggers properly. 2023-10-12 17:41:52 +11:00
AnxietyisReal
1c41672103 Fix scanMsg not filtering the message properly. 2023-10-12 17:14:46 +11:00
Toast
3c4bc8df33 Update userLevels.ts 2023-10-09 11:05:15 +11:00
AnxietyisReal
d8b05de115 Bot improvements 2023-10-09 09:03:17 +11:00
AnxietyisReal
23697ccf87 Remove unused intent 2023-10-08 21:10:03 +11:00
Toast
7735d940b3 Fix parsed XML data not being stored properly in cache 2023-10-08 09:50:13 +11:00
Toast
1e6c7ad8e3 Remove stuff that aren't supposed to be in production 2023-10-08 08:09:30 +11:00
AnxietyisReal
a0aa3518d7 Restructured some of the files 2023-10-08 08:01:16 +11:00
Toast
01b1f0e650 Fix CSG values being undefined 2023-10-08 05:26:45 +11:00
AnxietyisReal
d9b048c4d2 Add webhook for multifarm chat 2023-10-07 19:48:39 +11:00
Toast
2b7df4104e Update time for resetAllData() 2023-10-07 10:57:14 +11:00
AnxietyisReal
e4e0a60056 Create HookManager.ts 2023-10-07 01:26:23 +11:00
AnxietyisReal
cf9f228e51 Change depth level 2023-10-06 17:19:24 +11:00
AnxietyisReal
d4fe3d74f7 Swap package 2023-10-06 17:11:23 +11:00
AnxietyisReal
c5162c02d1 Codebase improvements 2023-10-06 16:54:27 +11:00
AnxietyisReal
6f1f373a82 Improve codebase in various files 2023-10-05 22:57:07 +11:00
AnxietyisReal
81f0427756 Add cronjob 2023-10-05 22:56:29 +11:00
AnxietyisReal
b66d010dcc Remove nonexistent object from TokenService 2023-10-05 19:44:44 +11:00
AnxietyisReal
278322f0be Rework the eval command 2023-10-05 19:43:29 +11:00
AnxietyisReal
b5caf8125a Buhbye tokens.json! 2023-10-05 15:09:01 +11:00
AnxietyisReal
4cd3b6729a Update URL 2023-10-05 13:01:39 +11:00
AnxietyisReal
51c37a4c8e Implement client for TokenService server 2023-10-05 12:01:36 +11:00
AnxietyisReal
c602c7ed3d 🗿 2023-10-04 00:27:50 +11:00
AnxietyisReal
6fbda43855 Reduce the cache expiration 2023-10-04 00:21:17 +11:00
AnxietyisReal
555a3e4930 Rework the YTModule and CacheServer 2023-10-03 18:07:19 +11:00
AnxietyisReal
9719fce92f Remove cache hit & miss logs 2023-10-03 16:33:20 +11:00
AnxietyisReal
0d405f7167 Remove unused import 2023-10-03 10:06:54 +11:00
AnxietyisReal
2d5bedf34c Block redis_uri from eval 2023-10-03 10:00:02 +11:00
AnxietyisReal
23b846c9ea Add support for Redis 2023-10-03 09:40:03 +11:00
AnxietyisReal
c7031d55e5 Fix message 2023-10-03 04:14:57 +11:00
AnxietyisReal
5647c12d45 Add PalletLibrary helper 2023-10-03 04:05:51 +11:00
AnxietyisReal
ebc35f8252 Forgot the embed color 💀 2023-10-01 04:57:59 +11:00
AnxietyisReal
b9c4ee7141 Add vehicle data to typings 2023-10-01 04:44:38 +11:00
Toast
d5ef1ef543 Merge PR #42 2023-09-30 17:05:29 +10:00
AnxietyisReal
ce4b3ea4e2 Add commit URLs 2023-09-30 10:56:35 +10:00
AnxietyisReal
80d31925bd Remove commit timestamps 2023-09-30 10:42:09 +10:00
AnxietyisReal
41b8cf26fa Move FAQ images to different CDN 2023-09-30 07:42:36 +10:00
AnxietyisReal
ec19b159e8 Delete unused command 2023-09-30 07:28:11 +10:00
AnxietyisReal
92ff63f36e Add reliability to DatabaseServer and logging 2023-09-30 07:27:32 +10:00
AnxietyisReal
5fcec4b688 Add timestamp next to hashes 2023-09-26 21:21:40 +10:00
AnxietyisReal
cfa228a431 Tweak contributor.ts 2023-09-26 20:52:56 +10:00
AnxietyisReal
358c51edeb Add hashes 2023-09-26 20:48:06 +10:00
AnxietyisReal
586296e3f6 Look at previous commit message for more info. 2023-09-26 20:03:27 +10:00
AnxietyisReal
f4611c1f1a Dies of cringe. 2023-09-26 20:00:53 +10:00
AnxietyisReal
7c4f060d26 Check if member has Role A then remove before adding Role B 2023-09-25 18:01:46 +10:00
AnxietyisReal
31a497f470 Change role ID for YTLoop 2023-09-25 17:01:48 +10:00
AnxietyisReal
c6b2d61201 Backfired real hard.. 2023-09-24 00:43:19 +10:00
AnxietyisReal
6f606ad3ca I hope this works, it's hard to test. 2023-09-24 00:41:33 +10:00
AnxietyisReal
bb4428881a Add MF farm pw to CmdTrigger 2023-09-19 17:15:26 +10:00
AnxietyisReal
09762316d8 Concerned about eval but k 2023-09-17 20:28:39 +10:00
AnxietyisReal
0d2e20b1e0 Transparent error messages on Discord side 2023-09-14 20:03:36 +10:00
AnxietyisReal
46bd01493d Bot improvements 2023-09-13 10:53:07 +10:00
AnxietyisReal
5df212249c Remove "no content" embed as bot doesn't run into 204 anymore. 2023-09-12 15:30:50 +10:00
AnxietyisReal
c916321917 Fix fetch failing to get data due to slow host connection 2023-09-10 20:21:54 +10:00
AnxietyisReal
e927ada2c7 Format DOTY in a proper way 2023-09-09 16:54:21 +10:00
AnxietyisReal
9005f9de75 Update SO link 2023-09-09 16:48:55 +10:00
AnxietyisReal
e68378e0bc Filter multifarm chat 2023-09-08 20:06:17 +10:00
AnxietyisReal
93d0fa5cab Enable choice for second server 2023-09-08 20:01:54 +10:00
AnxietyisReal
25fd7f0b49 Move second server stats embed into rules channel 2023-09-08 17:19:19 +10:00
AnxietyisReal
98539e217d Create DM subcommand 2023-09-07 00:27:41 +10:00
AnxietyisReal
df8be80f6d Create FAQStore, will do more later at some point. 2023-09-06 11:19:02 +10:00
Toast
89bdf91feb Update config.json 2023-09-05 19:33:00 +10:00
Toast
be0b09f4e4 Fix embed title when starting the poll 2023-09-05 01:18:37 +10:00
AnxietyisReal
75d9e9ddee Create poll.ts 2023-09-05 00:21:04 +10:00
AnxietyisReal
9405c1c5c1 Move automoderation to dedicated file 2023-09-04 15:04:34 +10:00
Toast
ae575d43b5 Update MPModule.ts 2023-09-04 00:09:48 +10:00
Toast
e5e84c02e3 Attempt to fix CSG fail 2023-09-03 23:56:19 +10:00
AnxietyisReal
e4b3581acc minipatch 2023-09-03 19:27:58 +10:00
AnxietyisReal
60890a28e1 2023-09-03 19:07:15 +10:00
AnxietyisReal
18de791ce2 Fix CSG failing after bot restart 2023-09-03 19:04:20 +10:00
AnxietyisReal
a9af0af35c Optimize LogPrefix 2023-09-03 18:56:22 +10:00
AnxietyisReal
f7daf243ee Cache improvements 2023-09-03 14:15:02 +10:00
AnxietyisReal
7f0ea4e5c2 Forgot to remove it after testing 2023-09-03 03:36:16 +10:00
AnxietyisReal
b78edc9a5f MP fixes 2023-09-03 03:27:00 +10:00
Toast
193b0f35ee Update whois.ts 2023-09-02 09:35:08 +10:00
AnxietyisReal
b25ce254b2 Add Spotify status to whois 2023-09-02 09:25:48 +10:00
AnxietyisReal
8e82fbd696 2023-09-01 17:51:38 +10:00
AnxietyisReal
7387eeda83 Rename clarkson to hammond 2023-09-01 17:50:44 +10:00
AnxietyisReal
ee548cee3b Add a check to empty commit message 2023-09-01 17:47:13 +10:00
AnxietyisReal
7e1203b708 Optimizations 2023-09-01 14:32:11 +10:00
AnxietyisReal
1dba2cc572 Add modifiers to ResponseSystem 2023-08-31 11:15:41 +10:00
AnxietyisReal
058d3d1dcf Update DatabaseServer.ts 2023-08-31 10:26:14 +10:00
AnxietyisReal
838b743f68 Move essentials out of client.ts 2023-08-30 18:34:59 +10:00
AnxietyisReal
6a5123ff34 Rename dontlookatme to spotify 2023-08-30 16:42:06 +10:00
AnxietyisReal
0b09fc769d Add dedicated class for music module 2023-08-30 10:34:22 +10:00
AnxietyisReal
4b8917982e Forgot the index.ts 2023-08-30 10:25:44 +10:00
AnxietyisReal
f15908e725 Create MessageTool 2023-08-30 10:21:53 +10:00
Toast
4982c5b641 Update ping.ts 2023-08-30 00:57:13 +10:00
Toast
1cb0ad997b Remove reconnected event
Seems entirely useless and both events just emits at once (reconnected and connected) when it loses connection to the database
2023-08-29 02:37:16 +10:00
Toast
08cfe68747 Improve wording for ping cmd 2023-08-29 01:21:52 +10:00
Toast
ba4b1f39cc Fix client import 2023-08-28 21:24:59 +10:00
Toast
f752e651a7 Update mp.ts 2023-08-28 21:17:27 +10:00
Toast
21233f3afe Darken the red color
bright colors is blinding me, send help
2023-08-28 20:54:39 +10:00
Toast
c388c1337c Update MPLoop.ts 2023-08-28 14:23:49 +10:00
Toast
a49c48f9d6 Update index.ts 2023-08-28 14:22:47 +10:00
Toast
373c6bc685 Update MPLoop.ts 2023-08-28 14:22:12 +10:00
AnxietyisReal
587783efea Why is this here? 2023-08-28 12:51:17 +10:00
AnxietyisReal
525ff8e821 Fix ID for general-chat 2023-08-28 12:50:16 +10:00
AnxietyisReal
76a8c62b80 Create ResponseSystem 2023-08-28 12:48:18 +10:00
AnxietyisReal
60424a87ba Rename fetch, as Nodejs uses undici under the hood 2023-08-27 15:56:12 +10:00
Toast
3a035211d3 Simplify the number range in regex 2023-08-27 15:10:31 +10:00
AnxietyisReal
d739cf9670 Move dedicated files to functions folder 2023-08-27 01:03:14 +10:00
AnxietyisReal
edd5d36ee6 Rehome the ready event 2023-08-27 00:47:06 +10:00
AnxietyisReal
8f0fb87204 Not sure how it got missed. 2023-08-25 19:51:09 +10:00
AnxietyisReal
b2a9041b80 Drop WClient from client.ts 2023-08-25 09:15:56 +10:00
Toast
32c927e57e Disable maintenance cmd until further notice 2023-08-25 02:56:47 +10:00
AnxietyisReal
37d16a4f55 attempt #2 2023-08-25 02:31:32 +10:00
AnxietyisReal
8fc456e2db make restart option required 2023-08-25 02:27:23 +10:00
AnxietyisReal
399ca7c102 attempt to fix maintenance cmd 2023-08-25 02:26:11 +10:00
AnxietyisReal
44bcf816ed Riverstream of updates 2023-08-25 02:06:39 +10:00
AnxietyisReal
15ccb98a8b Update index.ts 2023-08-20 12:41:12 +10:00
AnxietyisReal
e62c5e972e Only display one server for now 2023-08-20 11:04:14 +10:00
Toast
a5630ed6c1 Disable debugging for MPLoop 2023-08-20 10:24:41 +10:00
Toast
bf29b5016b Update config.json 2023-08-20 10:23:02 +10:00
AnxietyisReal
21631bf2fd Stable enough. 2023-08-20 10:17:22 +10:00
AnxietyisReal
9ac2665af5 I am so broken and confusion 2023-08-19 22:50:05 +10:00
AnxietyisReal
96444a4c02 After few trial and errors, I finally got it!! 2023-08-19 10:54:17 +10:00
AnxietyisReal
4a6060e966 Wait until bot receives WS heartbeat 2023-08-19 09:13:20 +10:00
Toast
38fdd79864 Remove timestamp 2023-08-19 01:03:56 +10:00
Toast
a42a654b9b Update client.ts 2023-08-19 01:02:39 +10:00
AnxietyisReal
2400898266 Ran out of time for today, atleast it's a start. 2023-08-18 21:18:33 +10:00
Toast
b3a918a8ca Rename client-error to match the rest 2023-08-18 03:06:00 +10:00
AnxietyisReal
a96cd9e854 Painful progress.. 2023-08-15 20:47:31 +10:00
Toast
7bf557c861 Return an error if tag doesn't exist 2023-08-15 03:15:23 +10:00
AnxietyisReal
a5acffb101 Remove commented out code and add support for newline 2023-08-15 01:51:35 +10:00
AnxietyisReal
74ffcdba89 Add tag system 2023-08-15 00:36:29 +10:00
AnxietyisReal
066f769b55 Add new switch for dailyMsgs operation 2023-08-14 18:33:49 +10:00
AnxietyisReal
1856df7d9f Update startWithYarn.cjs 2023-08-13 17:29:07 +10:00
AnxietyisReal
68df86477f it didnt work.. 2023-08-13 17:16:39 +10:00
Toast
6bdb57e2ad Update index.ts 2023-08-13 12:24:39 +10:00
Toast
35c350d9af Temporarily switching to D.JS 14.13 2023-08-13 03:18:46 +10:00
AnxietyisReal
44b63451c7 Optimizations and update packages 2023-08-13 02:40:18 +10:00
Toast
15c7527c6d Prevent MP function from throwing errors. 2023-08-12 19:46:03 +10:00
AnxietyisReal
e4f8ab6dfd Add Custom Status to presence command 2023-08-12 18:28:48 +10:00
Toast
e64998ad76 Add wake_device command 2023-08-12 18:17:51 +10:00
Toast
323bb61273 Enable raw error output in DZ function 2023-08-11 22:19:13 +10:00
AnxietyisReal
18a90ed998 Hide terminal window when spawning child process 2023-08-11 13:41:01 +10:00
AnxietyisReal
638e35e3a8 Refactor inviteinfo.ts 2023-08-11 13:02:12 +10:00
Toast
32dba351d9 Update dev.ts 2023-08-09 10:12:04 +10:00
AnxietyisReal
428d3dea52 Update suggestion schema 2023-08-08 07:44:02 +10:00
AnxietyisReal
e8b75bdf4d Add Verify game faq 2023-08-08 05:20:49 +10:00
AnxietyisReal
a13c418adb Add debug logging 2023-08-08 00:42:32 +10:00
AnxietyisReal
ccb94cc475 Mentally dying of 9 commands being loaded. 2023-08-07 18:14:08 +10:00