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

708 Commits

Author SHA1 Message Date
AnxietyisReal
11fcbdcad2 Remove unneeded param from fetchers 2024-01-17 06:33:06 +11:00
AnxietyisReal
5c0f238531 Uppercase the prefix to match others 2024-01-17 03:23:59 +11:00
AnxietyisReal
9979a4af9d Add debug logging to Logger class 2024-01-17 00:25:22 +11:00
AnxietyisReal
137a0ae7b8 Missed a few bits here and there 2024-01-16 22:41:30 +11:00
AnxietyisReal
ab6c6de9c1 Add bold formatting to uptime text 2024-01-16 22:30:23 +11:00
AnxietyisReal
2a7c243c16 Sort the member's punishment history from newest to oldest by time. 2024-01-16 22:28:31 +11:00
AnxietyisReal
f72c17746a Make them one-liner. 2024-01-16 22:28:03 +11:00
AnxietyisReal
d0d65c2986 Remove clock speed if virtualized
Add dataSweeper cronjob

Add Better Breakfast Day array

Update @types/node
2024-01-16 18:24:37 +11:00
AnxietyisReal
84c803671b Correct the "uses" property, been there since the start of V2 apparently. 2024-01-15 00:03:05 +11:00
AnxietyisReal
7e133ab018 Remove unused command 2024-01-14 19:06:27 +11:00
AnxietyisReal
93303cb1d9 Filter moderator role properly 2024-01-14 17:58:25 +11:00
AnxietyisReal
785eb8eaf2 Add /reminder moderation command 2024-01-14 17:51:17 +11:00
AnxietyisReal
1884a6bd04 Fix typo in "modify_rank_msgs" subcmd 2024-01-14 17:27:47 +11:00
AnxietyisReal
61f358e76e Add top 5 members to yearly nuke. 2024-01-14 16:31:26 +11:00
AnxietyisReal
94e41c5269 *dies of cringe* 2024-01-11 16:52:20 +11:00
AnxietyisReal
b5fb8bde97 Add new automod rule and refactor the existing rules 2024-01-11 09:19:39 +11:00
AnxietyisReal
7f389c3eb9 Attempt to prevent MPModule from requesting the hidden server 2024-01-10 09:45:30 +11:00
AnxietyisReal
2bf6a71c98 700th commit, add new dev subcmd. 2024-01-08 20:22:06 +11:00
AnxietyisReal
1eaab9475a Add modifyUser function to modify the user's messages 2024-01-08 11:37:20 +11:00
AnxietyisReal
138dd14d27 Changed my mind on it. 2024-01-08 04:11:43 +11:00
AnxietyisReal
cd99b7f856 Also fix stupidity 2024-01-07 20:49:49 +11:00
AnxietyisReal
c53841f0e6 Fix stupidity 2024-01-07 20:46:04 +11:00
AnxietyisReal
b247a0957b Add webhook notification in add/remove commands 2024-01-07 16:35:04 +11:00
AnxietyisReal
ab43ddc337 Add new response trigger 2024-01-07 12:37:28 +11:00
Toast
839fb4b163
Add home dir 2024-01-07 02:19:17 +11:00
AnxietyisReal
73a8471f4b Hotfix for no log whenever the "Server didn't respond" embed appears 2024-01-06 23:46:21 +11:00
AnxietyisReal
c88c252d99 Trim the trailing whitespaces 2024-01-06 20:49:35 +11:00
AnxietyisReal
b151f04c48 Refactor CmdModule.ts 2024-01-06 20:49:12 +11:00
AnxietyisReal
543a84a433 Replace janky reconnect method with a reliable one from the package. 2024-01-06 18:03:26 +11:00
AnxietyisReal
d434507b9b Fix variables being missing during the Redis attack. 2024-01-06 17:28:26 +11:00
AnxietyisReal
fff9e67769 Add "see you later" to evening trigger 2024-01-05 12:59:56 +11:00
AnxietyisReal
e64089e29c Fetch user directly from cache and send DM from there. 2024-01-05 12:50:33 +11:00
AnxietyisReal
2ff8b5a0e1 Fix not being able to use /pw outside of main guild 2024-01-04 11:46:19 +11:00
AnxietyisReal
be14114f8e Trim some unnecessary stuff 2024-01-03 08:04:05 +11:00
AnxietyisReal
05ccbdd908 Improvements to eval cmd 2024-01-03 05:42:32 +11:00
AnxietyisReal
ffca13d6ba Optimize a few things 2024-01-02 03:41:25 +11:00
AnxietyisReal
f0b7cb2812 Fix file extension in URL 2024-01-02 03:31:07 +11:00
AnxietyisReal
b1b0c3692e Forgot to add disclaimer 2024-01-02 01:17:01 +11:00
AnxietyisReal
8fa72b2aa1 Update articles 2024-01-02 01:11:05 +11:00
AnxietyisReal
c53c1493d7 Add academy command 2024-01-02 00:50:50 +11:00
AnxietyisReal
da89a71128 Remove migrations as MongoDB is no longer used 2024-01-01 11:14:17 +11:00
AnxietyisReal
1011c39642 Yearly rank data reset 2024-01-01 11:01:15 +11:00
AnxietyisReal
79da90cab8 Remove .setTimestamp() 2024-01-01 02:10:33 +11:00
AnxietyisReal
ee11e6a5e1 First commit in 2024 2024-01-01 00:12:45 +11:00
AnxietyisReal
ee38c8c09d This ain't MongoDB, bruh 2023-12-31 18:30:10 +11:00
AnxietyisReal
b6294fcf8f Proper channel name 2023-12-31 18:12:44 +11:00
AnxietyisReal
b553c5b8b3 Add database connection pool 2023-12-31 03:04:19 +11:00
AnxietyisReal
d8414e528a Remove gif filter in mp-mod-chat 2023-12-30 22:26:31 +11:00
AnxietyisReal
197c6b7229 Oversight on isActive flag 2023-12-30 17:15:16 +11:00
AnxietyisReal
bb1b0a2637 Add server identifier to MPModule webhook 2023-12-30 08:08:58 +11:00
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