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

778 Commits

Author SHA1 Message Date
toast-ts
af8cbb016c Update Yarn config and handle macOS paths properly 2024-02-28 20:16:11 +11:00
toast-ts
cf3bdcc290 Refactor calculator.ts 2024-02-28 18:18:28 +11:00
toast-ts
f936d75489 It didn't put the reason, so useless. 2024-02-26 21:02:51 +11:00
toast-ts
b541379fea Fix flood in console 2024-02-25 23:18:33 +11:00
toast-ts
a48c8441b9 Clean up some of the stuff 2024-02-25 20:40:44 +11:00
toast-ts
97fc6b6389 Update dependencies 2024-02-24 16:43:08 +11:00
toast-ts
7edbd072ea Back to softban for phishing domains, 2 valid runs so far. 2024-02-24 09:28:22 +11:00
toast-ts
3714f65651 Whoever removed this, please eat a raw tuna fish. 2024-02-24 08:14:35 +11:00
toast-ts
4379ecef56 Update scanMsg regex to include 'ed'. 2024-02-23 07:37:39 +11:00
toast-ts
2c6b561872 Visual improvements 2024-02-22 10:22:09 +11:00
toast-ts
4def4e877a I hate the board that clips papers 2024-02-20 19:47:32 +11:00
toast-ts
3c8443723f Move message ID to top of file 2024-02-20 17:34:12 +11:00
toast-ts
7196917fd3 Silence uncontactable server when limit is reached 2024-02-19 22:08:24 +11:00
toast-ts
3348482061 Stop the audit log flood 2024-02-19 16:29:01 +11:00
toast-ts
6dc4b278a8 Lock and archive the old threads 2024-02-19 13:38:17 +11:00
toast-ts
9d9b13b6ca Good morning pals! 2024-02-18 05:54:55 +11:00
toast-ts
23fb8e1239 Update CanvasBuilder to use methods instead of functions 2024-02-17 18:58:34 +11:00
toast-ts
fe7cf04927 "5 automod violations" 2024-02-16 07:46:49 +11:00
toast-ts
92ac4b51de Attempt to fix the 'RanIntoHumor' that's been broken under the radar. 2024-02-15 07:38:50 +11:00
toast-ts
ba08a37023 Move server join date from guildMemberRemove to guildBanAdd 2024-02-13 17:29:48 +11:00
toast-ts
7a7a8b1ade Merge Response calls into one. 2024-02-13 16:44:26 +11:00
toast-ts
e578c2b7da Remove unused automod function 2024-02-12 04:57:54 +11:00
toast-ts
81f590dea7 Hopefully I ironed out the issues in phishingDetection module. 2024-02-11 21:50:38 +11:00
toast-ts
33820b0145 Change font, container didn't support it. 2024-02-09 22:34:57 +11:00
toast-ts
f427b81cbb Drop-in replacement for Canvas 2024-02-09 22:27:08 +11:00
toast-ts
635a22998f Remind myself 2024-02-09 14:59:32 +11:00
toast-ts
a4816d4195 Graph optimizations 2024-02-09 14:54:49 +11:00
toast-ts
b58bcc59bb Add raw SQL query support 2024-02-08 07:36:37 +11:00
toast-ts
3170de7ead Add private_dir option. 2024-02-07 09:14:40 +11:00
toast-ts
9a34739c8e Add new automod rule 2024-02-07 07:19:26 +11:00
toast-ts
65a3f86c38 Display creation date differently 2024-02-05 06:00:59 +11:00
toast-ts
964b987a42 Moderation improvements 2024-02-04 13:09:33 +11:00
toast-ts
ffb9220064 Update ResponseModule.ts 2024-02-03 20:47:15 +11:00
toast-ts
1d9f3d9ba7 Naughty naughty 2024-02-03 10:32:29 +11:00
toast-ts
f536759c18 Make the punishment log more readable. 2024-02-02 20:22:42 +11:00
toast-ts
cf738ffaeb Attempt to prevent undefined: null in purge log 2024-02-02 07:12:15 +11:00
toast-ts
ebb2b5e445 Remove pointless bold text 2024-02-02 06:04:10 +11:00
toast-ts
bbf01dc7ba Some improvements 2024-02-01 07:54:38 +11:00
toast-ts
cdf72bceb1 Hacky workaround for timestamp thing when member is banned 2024-01-31 23:57:56 +11:00
toast-ts
13ead1f086 Fix up embed formatting 2024-01-31 23:57:40 +11:00
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