1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-12-27 20:35:38 -05:00
Commit Graph

738 Commits

Author SHA1 Message Date
toast-ts
baa5d9406a Attempt to fix regex when updating case 2024-01-31 23:35:18 +11:00
toast-ts
670477d7aa Update activity status (#80) 2024-01-31 14:45:07 +11:00
toast-ts
efdada20ad Change Advertisement rule to ban from mute 2024-01-29 17:46:28 +11:00
toast-ts
6f010cf2a9 Update TokenService to work in isolated environment 2024-01-29 14:45:08 +11:00
toast-ts
4332baa85e Fix wording 2024-01-28 12:29:36 +11:00
toast-ts
702bf39df4 Notify over DM channel regarding I/O issues 2024-01-27 23:08:30 +11:00
toast-ts
cdd65f1969 Fix MESSAGE_UPDATE raw event for message content being same 2024-01-27 04:33:59 +11:00
toast-ts
6c6c7435da Log the error messages returned by the API 2024-01-27 02:48:56 +11:00
toast-ts
fe54826aec The forgotten if statement 2024-01-26 08:09:14 +11:00
toast-ts
d048b0b002 Add author field to punishment log 2024-01-24 10:27:46 +11:00
toast-ts
aa112b55cb Ripbozo on Dave? 2024-01-24 09:37:38 +11:00
toast-ts
05f9d1d18c Display limit for reason option in Punish.ts 2024-01-24 07:24:09 +11:00
toast-ts
14df879b6e Add ability to disable raw gateway events 2024-01-23 09:15:40 +11:00
toast-ts
0e70dbb396 Finetune the raw gateway events 2024-01-23 08:57:07 +11:00
toast-ts
814a267e2a Add raw gateway packets for messageUpdate and messageDelete 2024-01-23 07:13:59 +11:00
toast-ts
549d0652bf Update ResponseModule.ts 2024-01-23 05:58:06 +11:00
toast-ts
d19a3fbfd3 Update GitHub username 2024-01-22 16:38:10 +11:00
toast-ts
5cb816854f Punishment improvements 2024-01-22 15:45:25 +11:00
toast-ts
6f0dc39606 Spelling. 2024-01-22 13:52:52 +11:00
toast-ts
76a9584fb7 Sigh, don't want to deal with sudo issues. 2024-01-21 22:46:11 +11:00
toast-ts
6d9c3bf73a Add cronjob task for previous commit. 2024-01-21 22:31:58 +11:00
toast-ts
1288147a52 Match webhook's error message. 2024-01-21 19:35:23 +11:00
toast-ts
0373c3b0bc Fix automod preventing autoresponses from responding to non-staff 2024-01-21 00:14:28 +11:00
toast-ts
54145161ec Improvements 2024-01-20 23:13:18 +11:00
toast-ts
2d412c0994 Add British complaint department to Automod rule. 2024-01-19 23:26:39 +11:00
toast-ts
f8430db3e5 Improvements 2024-01-19 21:33:51 +11:00
toast-ts
559375aae3 Revamp interactionCreate file 2024-01-19 12:25:01 +11:00
toast-ts
4fa0cb50e8 Add temp_block command 2024-01-18 18:10:08 +11:00
toast-ts
d059e2b1aa Refactor the BKL channel selection for a reliable system. 2024-01-17 07:01:01 +11:00
toast-ts
6dce994400 Move player functions into MPModule 2024-01-17 06:45:01 +11:00
toast-ts
06528d80ff Remove unneeded param from fetchers 2024-01-17 06:33:06 +11:00
toast-ts
de75ac2745 Uppercase the prefix to match others 2024-01-17 03:23:59 +11:00
toast-ts
366cd45bbb Add debug logging to Logger class 2024-01-17 00:25:22 +11:00
toast-ts
fc50a6da17 Missed a few bits here and there 2024-01-16 22:41:30 +11:00
toast-ts
51353d464f Add bold formatting to uptime text 2024-01-16 22:30:23 +11:00
toast-ts
76dd282372 Sort the member's punishment history from newest to oldest by time. 2024-01-16 22:28:31 +11:00
toast-ts
17628b2e4b Make them one-liner. 2024-01-16 22:28:03 +11:00
toast-ts
f6fec518cf Remove clock speed if virtualized
Add dataSweeper cronjob

Add Better Breakfast Day array

Update @types/node
2024-01-16 18:24:37 +11:00
toast-ts
127dd8ad05 Correct the "uses" property, been there since the start of V2 apparently. 2024-01-15 00:03:05 +11:00
toast-ts
9f8976cd07 Remove unused command 2024-01-14 19:06:27 +11:00
toast-ts
09afcc80a6 Filter moderator role properly 2024-01-14 17:58:25 +11:00
toast-ts
bcec1ab48a Add /reminder moderation command 2024-01-14 17:51:17 +11:00
toast-ts
e5d1dc5e9d Fix typo in "modify_rank_msgs" subcmd 2024-01-14 17:27:47 +11:00
toast-ts
18cbc40d79 Add top 5 members to yearly nuke. 2024-01-14 16:31:26 +11:00
toast-ts
b7a43c04a6 *dies of cringe* 2024-01-11 16:52:20 +11:00
toast-ts
455b9a2f80 Add new automod rule and refactor the existing rules 2024-01-11 09:19:39 +11:00
toast-ts
12c2714ccf Attempt to prevent MPModule from requesting the hidden server 2024-01-10 09:45:30 +11:00
toast-ts
bbef3da0cc 700th commit, add new dev subcmd. 2024-01-08 20:22:06 +11:00
toast-ts
0b9d3b89a7 Add modifyUser function to modify the user's messages 2024-01-08 11:37:20 +11:00
toast-ts
13be00acd3 Changed my mind on it. 2024-01-08 04:11:43 +11:00
toast-ts
026b34b811 Also fix stupidity 2024-01-07 20:49:49 +11:00
toast-ts
65240ab211 Fix stupidity 2024-01-07 20:46:04 +11:00
toast-ts
caa4cd829b Add webhook notification in add/remove commands 2024-01-07 16:35:04 +11:00
toast-ts
19b7094051 Add new response trigger 2024-01-07 12:37:28 +11:00
toast-ts
9827320eee Add home dir 2024-01-07 02:19:17 +11:00
toast-ts
e3a55e6210 Hotfix for no log whenever the "Server didn't respond" embed appears 2024-01-06 23:46:21 +11:00
toast-ts
cb5d0e31f7 Trim the trailing whitespaces 2024-01-06 20:49:35 +11:00
toast-ts
012f8d6eb2 Refactor CmdModule.ts 2024-01-06 20:49:12 +11:00
toast-ts
70acd9b7bf Replace janky reconnect method with a reliable one from the package. 2024-01-06 18:03:26 +11:00
toast-ts
5f29723247 Fix variables being missing during the Redis attack. 2024-01-06 17:28:26 +11:00
toast-ts
ac420faa74 Add "see you later" to evening trigger 2024-01-05 12:59:56 +11:00
toast-ts
fce639de1c Fetch user directly from cache and send DM from there. 2024-01-05 12:50:33 +11:00
toast-ts
1b849e26e6 Fix not being able to use /pw outside of main guild 2024-01-04 11:46:19 +11:00
toast-ts
eef4a72315 Trim some unnecessary stuff 2024-01-03 08:04:05 +11:00
toast-ts
624560e684 Improvements to eval cmd 2024-01-03 05:42:32 +11:00
toast-ts
1e2ba296f5 Optimize a few things 2024-01-02 03:41:25 +11:00
toast-ts
3208030313 Fix file extension in URL 2024-01-02 03:31:07 +11:00
toast-ts
25019d2e52 Forgot to add disclaimer 2024-01-02 01:17:01 +11:00
toast-ts
703f587cc9 Update articles 2024-01-02 01:11:05 +11:00
toast-ts
f111268164 Add academy command 2024-01-02 00:50:50 +11:00
toast-ts
3609911866 Remove migrations as MongoDB is no longer used 2024-01-01 11:14:17 +11:00
toast-ts
9b530144a4 Yearly rank data reset 2024-01-01 11:01:15 +11:00
toast-ts
1db327dd49 Remove .setTimestamp() 2024-01-01 02:10:33 +11:00
toast-ts
f46bc12be8 First commit in 2024 2024-01-01 00:12:45 +11:00
toast-ts
869b057f50 This ain't MongoDB, bruh 2023-12-31 18:30:10 +11:00
toast-ts
6a1700bcd2 Proper channel name 2023-12-31 18:12:44 +11:00
toast-ts
e4aacd8dcb Add database connection pool 2023-12-31 03:04:19 +11:00
toast-ts
4a29ccf97f Remove gif filter in mp-mod-chat 2023-12-30 22:26:31 +11:00
toast-ts
b00baccf3c Oversight on isActive flag 2023-12-30 17:15:16 +11:00
toast-ts
4950eca51e Add server identifier to MPModule webhook 2023-12-30 08:08:58 +11:00
toast-ts
0eba82789d Fix bug with YTModule not sending notification 2023-12-29 17:23:04 +11:00
toast-ts
e8e1342f21 Increase PD capacity to 1920 from 256 2023-12-29 02:43:04 +11:00
toast-ts
1765a0ef2a Refactor role conflict handling in interactionCreate.ts 2023-12-29 01:20:10 +11:00
toast-ts
81914d832e Add CLI args to TSClient 2023-12-29 00:28:44 +11:00
toast-ts
c8aa7dc022 Add TokenService dependency to embed 2023-12-28 19:03:10 +11:00
toast-ts
78129d1e9e This hurts to look at 2023-12-27 23:11:33 +11:00
toast-ts
574145a183 Fix destructure issue in MPModule's webhook 2023-12-27 21:56:38 +11:00
toast-ts
f393a836a9 Remove unused functions in models directory 2023-12-27 19:43:57 +11:00
toast-ts
b45bc31997 Move stuff inside the for loop 2023-12-27 11:21:30 +11:00
toast-ts
cfc1d5db19 Remove reaction-related events 2023-12-27 09:49:07 +11:00
toast-ts
713df7bfcc Fix boolean check 2023-12-27 09:46:46 +11:00
toast-ts
708ffe8539 Dedupe the get and set functions. 2023-12-27 09:46:08 +11:00
toast-ts
5b1f4080f5 Move statsGraph to mp file 2023-12-27 09:18:21 +11:00
toast-ts
c50aef2741 Refactor role conflict logic in interactionCreate.ts 2023-12-27 00:36:48 +11:00
toast-ts
2e664c0e6a Fix case evasion check for expired value 2023-12-26 22:41:39 +11:00
toast-ts
8d03360899 Big bruh on update cmd 2023-12-26 17:35:56 +11:00
toast-ts
0dddf1b109 I didn't like that, so removed inlines. 2023-12-26 17:31:59 +11:00
toast-ts
e23ef7b19a Fix MPModule's webhook 2023-12-26 12:05:24 +11:00
toast-ts
7bc2d08cee Update API endpoint 2023-12-26 11:27:02 +11:00
toast-ts
6e97774cda Add migration to UserLevelsSvc 2023-12-26 04:00:17 +11:00
toast-ts
0cff16c168 Add reply author in DM 2023-12-25 23:21:15 +11:00
toast-ts
9b10f6daba Align messageUpdate to be same format as messageDelete 2023-12-25 15:42:42 +11:00
toast-ts
a90bf9f458 Fix a few things that flew under the radar 2023-12-25 14:02:59 +11:00
toast-ts
bfec8ec431 Merry Christmas! Here's the V3 2023-12-25 02:22:29 +11:00
toast-ts
cdfb4ee88c Fix incorrect field name 2023-12-16 17:20:21 +11:00
toast-ts
66178d5637 Push uncommitted changes to repository 2023-12-12 22:00:12 +11:00
toast-ts
075156cfcc Add another incoming trigger for morning array 2023-11-27 23:58:18 +11:00
toast-ts
656bbfa023 Update MPModule.ts 2023-11-26 13:27:09 +11:00
toast-ts
cbea6c515f Add UserID to the DM notification 2023-11-08 20:19:45 +11:00
toast-ts
ce6ec50ee1 Fix formatting of poll results in JSON file. 2023-11-05 09:06:53 +11:00
toast-ts
1a6504a25d Ping MP Players when the poll is live. 2023-11-04 09:12:06 +11:00
toast-ts
8a8d40c9e4 Update streaming activity 2023-10-31 20:15:23 +11:00
toast-ts
c4b5984428 Fixed issue caused by PEBCAK 2023-10-30 21:34:15 +11:00
toast-ts
c8301fc50a Update CDN url 2023-10-18 19:53:28 +11:00
toast-ts
8fc725b570 Bot keeps forgetting commands on startup 2023-10-16 17:39:01 +11:00
toast-ts
b3b4002afc Offload commitHashes() to worker thread 2023-10-16 04:38:12 +11:00
toast-ts
2022dd6adf YouTube no longer has videos.xml page 2023-10-13 09:11:17 +11:00
toast-ts
d7d271a9bb Add YouTube token 2023-10-13 08:45:44 +11:00
toast-ts
cba97a3beb Backport the patch from Canary bot. 2023-10-12 22:34:00 +11:00
toast-ts
16bb01058e Fix bot not responding to certain triggers properly. 2023-10-12 17:41:52 +11:00
toast-ts
671d0c1b7a Fix scanMsg not filtering the message properly. 2023-10-12 17:14:46 +11:00
toast-ts
f4fcd78774 Update userLevels.ts 2023-10-09 11:05:15 +11:00
toast-ts
e3c025ad12 Bot improvements 2023-10-09 09:03:17 +11:00
toast-ts
c37bffe8a9 Remove unused intent 2023-10-08 21:10:03 +11:00
toast-ts
c57f55a48f Fix parsed XML data not being stored properly in cache 2023-10-08 09:50:13 +11:00
toast-ts
969618843b Remove stuff that aren't supposed to be in production 2023-10-08 08:09:30 +11:00
toast-ts
805d2ed0c7 Restructured some of the files 2023-10-08 08:01:16 +11:00
toast-ts
ef20ff5632 Fix CSG values being undefined 2023-10-08 05:26:45 +11:00
toast-ts
0d61a8e6cb Add webhook for multifarm chat 2023-10-07 19:48:39 +11:00
toast-ts
902003ca91 Update time for resetAllData() 2023-10-07 10:57:14 +11:00
toast-ts
5d47d3506b Create HookManager.ts 2023-10-07 01:26:23 +11:00
toast-ts
c2a7725546 Change depth level 2023-10-06 17:19:24 +11:00
toast-ts
7f48ed4e82 Swap package 2023-10-06 17:11:23 +11:00
toast-ts
673d2e0aee Codebase improvements 2023-10-06 16:54:27 +11:00
toast-ts
b9e7cfc3d4 Improve codebase in various files 2023-10-05 22:57:07 +11:00
toast-ts
d618896aa1 Add cronjob 2023-10-05 22:56:29 +11:00
toast-ts
24b2d5126b Remove nonexistent object from TokenService 2023-10-05 19:44:44 +11:00
toast-ts
564ec33f08 Rework the eval command 2023-10-05 19:43:29 +11:00
toast-ts
1088c9266a Buhbye tokens.json! 2023-10-05 15:09:01 +11:00
toast-ts
5d52969635 Update URL 2023-10-05 13:01:39 +11:00
toast-ts
5cb2ab3172 Implement client for TokenService server 2023-10-05 12:01:36 +11:00
toast-ts
83a15de99a 🗿 2023-10-04 00:27:50 +11:00
toast-ts
0f5877ce7f Reduce the cache expiration 2023-10-04 00:21:17 +11:00
toast-ts
1a8437daf6 Rework the YTModule and CacheServer 2023-10-03 18:07:19 +11:00
toast-ts
8216e4adfb Remove cache hit & miss logs 2023-10-03 16:33:20 +11:00
toast-ts
22edab7ce1 Remove unused import 2023-10-03 10:06:54 +11:00
toast-ts
3720ca753f Block redis_uri from eval 2023-10-03 10:00:02 +11:00
toast-ts
a036d47e72 Add support for Redis 2023-10-03 09:40:03 +11:00
toast-ts
63613059e7 Fix message 2023-10-03 04:14:57 +11:00
toast-ts
3b86da0af8 Add PalletLibrary helper 2023-10-03 04:05:51 +11:00