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

658 Commits

Author SHA1 Message Date
AnxietyisReal
df5a6b25f9 Fix bug with YTModule not sending notification 2023-12-29 17:23:04 +11:00
AnxietyisReal
32dda719e4 Increase PD capacity to 1920 from 256 2023-12-29 02:43:04 +11:00
AnxietyisReal
8c3052fee3 Refactor role conflict handling in interactionCreate.ts 2023-12-29 01:20:10 +11:00
AnxietyisReal
815f4aa3bb Add CLI args to TSClient 2023-12-29 00:28:44 +11:00
AnxietyisReal
a75d1bdfa0 Add TokenService dependency to embed 2023-12-28 19:03:10 +11:00
Toast
1660ea5f6d
This hurts to look at 2023-12-27 23:11:33 +11:00
AnxietyisReal
08115380f8 Fix destructure issue in MPModule's webhook 2023-12-27 21:56:38 +11:00
AnxietyisReal
ef1b395352 Remove unused functions in models directory 2023-12-27 19:43:57 +11:00
AnxietyisReal
fcfd11431a Move stuff inside the for loop 2023-12-27 11:21:30 +11:00
AnxietyisReal
c5101717e5 Remove reaction-related events 2023-12-27 09:49:07 +11:00
AnxietyisReal
1510d8d5c6 Fix boolean check 2023-12-27 09:46:46 +11:00
AnxietyisReal
c80a7e9d15 Dedupe the get and set functions. 2023-12-27 09:46:08 +11:00
AnxietyisReal
b7cad061bd Move statsGraph to mp file 2023-12-27 09:18:21 +11:00
AnxietyisReal
6912392130 Refactor role conflict logic in interactionCreate.ts 2023-12-27 00:36:48 +11:00
AnxietyisReal
b047cc4ee0 Fix case evasion check for expired value 2023-12-26 22:41:39 +11:00
AnxietyisReal
ccaa1579b9 Big bruh on update cmd 2023-12-26 17:35:56 +11:00
AnxietyisReal
a0e2ebdac1 I didn't like that, so removed inlines. 2023-12-26 17:31:59 +11:00
Toast
3bd917a814 Fix MPModule's webhook 2023-12-26 12:05:24 +11:00
AnxietyisReal
8906b4f660 Update API endpoint 2023-12-26 11:27:02 +11:00
AnxietyisReal
80b989b956 Add migration to UserLevelsSvc 2023-12-26 04:00:17 +11:00
AnxietyisReal
c5e853bce4 Add reply author in DM 2023-12-25 23:21:15 +11:00
AnxietyisReal
263d3d1cdd Align messageUpdate to be same format as messageDelete 2023-12-25 15:42:42 +11:00
AnxietyisReal
f8d4f350fa Fix a few things that flew under the radar 2023-12-25 14:02:59 +11:00
AnxietyisReal
48069755d8 Merry Christmas! Here's the V3 2023-12-25 02:22:29 +11:00
AnxietyisReal
84f48e9123 Fix incorrect field name 2023-12-16 17:20:21 +11:00
Toast
f2dcf9233d Push uncommitted changes to repository 2023-12-12 22:00:12 +11:00
AnxietyisReal
d610c07f34 Add another incoming trigger for morning array 2023-11-27 23:58:18 +11:00
Toast
b7e0cea2b9
Update MPModule.ts 2023-11-26 13:27:09 +11:00
AnxietyisReal
d472f0fd3f Add UserID to the DM notification 2023-11-08 20:19:45 +11:00
Toast
a89ab08aeb Fix formatting of poll results in JSON file. 2023-11-05 09:06:53 +11:00
AnxietyisReal
e5f4cd966a Ping MP Players when the poll is live. 2023-11-04 09:12:06 +11:00
AnxietyisReal
a6ed435306 Update streaming activity 2023-10-31 20:15:23 +11:00
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