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

768 Commits

Author SHA1 Message Date
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
toast-ts
9bd606822b Forgot the embed color 💀 2023-10-01 04:57:59 +11:00
toast-ts
481283df17 Add vehicle data to typings 2023-10-01 04:44:38 +11:00
toast-ts
30e76ece59 Merge PR #42 2023-09-30 17:05:29 +10:00
toast-ts
a4d93af0d7 Add commit URLs 2023-09-30 10:56:35 +10:00
toast-ts
3bf92854b9 Remove commit timestamps 2023-09-30 10:42:09 +10:00
toast-ts
5db3ce2563 Move FAQ images to different CDN 2023-09-30 07:42:36 +10:00
toast-ts
abf19a8b98 Delete unused command 2023-09-30 07:28:11 +10:00
toast-ts
30078c34fa Add reliability to DatabaseServer and logging 2023-09-30 07:27:32 +10:00
toast-ts
e64faac2ea Add timestamp next to hashes 2023-09-26 21:21:40 +10:00
toast-ts
f2fd51a3f3 Tweak contributor.ts 2023-09-26 20:52:56 +10:00
toast-ts
e2ff4fbae5 Add hashes 2023-09-26 20:48:06 +10:00
toast-ts
740db17fd3 Look at previous commit message for more info. 2023-09-26 20:03:27 +10:00
toast-ts
6ea618c762 Dies of cringe. 2023-09-26 20:00:53 +10:00
toast-ts
56914a270a Check if member has Role A then remove before adding Role B 2023-09-25 18:01:46 +10:00
toast-ts
676fa61615 Change role ID for YTLoop 2023-09-25 17:01:48 +10:00
toast-ts
5ca873e964 Backfired real hard.. 2023-09-24 00:43:19 +10:00
toast-ts
2de723d728 I hope this works, it's hard to test. 2023-09-24 00:41:33 +10:00
toast-ts
4f4576a45b Add MF farm pw to CmdTrigger 2023-09-19 17:15:26 +10:00
toast-ts
88e60020df Concerned about eval but k 2023-09-17 20:28:39 +10:00
toast-ts
2fc21c303a Transparent error messages on Discord side 2023-09-14 20:03:36 +10:00
toast-ts
38da6d1e6a Bot improvements 2023-09-13 10:53:07 +10:00
toast-ts
1d40c58f1c Remove "no content" embed as bot doesn't run into 204 anymore. 2023-09-12 15:30:50 +10:00
toast-ts
2a0221cbd0 Fix fetch failing to get data due to slow host connection 2023-09-10 20:21:54 +10:00
toast-ts
bf136d36c7 Format DOTY in a proper way 2023-09-09 16:54:21 +10:00
toast-ts
7bbead0815 Update SO link 2023-09-09 16:48:55 +10:00
toast-ts
29adc800c9 Filter multifarm chat 2023-09-08 20:06:17 +10:00
toast-ts
0eae563e8d Enable choice for second server 2023-09-08 20:01:54 +10:00
toast-ts
b7e199bbcb Move second server stats embed into rules channel 2023-09-08 17:19:19 +10:00
toast-ts
b92b8edee4 Create DM subcommand 2023-09-07 00:27:41 +10:00
toast-ts
bb871c906a Create FAQStore, will do more later at some point. 2023-09-06 11:19:02 +10:00
toast-ts
b45ab632b9 Update config.json 2023-09-05 19:33:00 +10:00
toast-ts
77d98f238d Fix embed title when starting the poll 2023-09-05 01:18:37 +10:00
toast-ts
66fb8bc36c Create poll.ts 2023-09-05 00:21:04 +10:00
toast-ts
eae95775e5 Move automoderation to dedicated file 2023-09-04 15:04:34 +10:00
toast-ts
80eadc0968 Update MPModule.ts 2023-09-04 00:09:48 +10:00
toast-ts
1045270d44 Attempt to fix CSG fail 2023-09-03 23:56:19 +10:00
toast-ts
6633d7648d minipatch 2023-09-03 19:27:58 +10:00
toast-ts
4393e9e7db 2023-09-03 19:07:15 +10:00
toast-ts
0a5f8aa093 Fix CSG failing after bot restart 2023-09-03 19:04:20 +10:00
toast-ts
c33ec78c7c Optimize LogPrefix 2023-09-03 18:56:22 +10:00
toast-ts
2c4de7dfb9 Cache improvements 2023-09-03 14:15:02 +10:00
toast-ts
a72f422139 Forgot to remove it after testing 2023-09-03 03:36:16 +10:00
toast-ts
059e2d6e81 MP fixes 2023-09-03 03:27:00 +10:00
toast-ts
e5586f5359 Update whois.ts 2023-09-02 09:35:08 +10:00
toast-ts
da402b6165 Add Spotify status to whois 2023-09-02 09:25:48 +10:00
toast-ts
65c8597881 2023-09-01 17:51:38 +10:00
toast-ts
ff580afb06 Rename clarkson to hammond 2023-09-01 17:50:44 +10:00
toast-ts
2106f170f0 Add a check to empty commit message 2023-09-01 17:47:13 +10:00
toast-ts
5aba2be342 Optimizations 2023-09-01 14:32:11 +10:00
toast-ts
a02aac5d88 Add modifiers to ResponseSystem 2023-08-31 11:15:41 +10:00
toast-ts
b1a9365798 Update DatabaseServer.ts 2023-08-31 10:26:14 +10:00
toast-ts
51a6f2e566 Move essentials out of client.ts 2023-08-30 18:34:59 +10:00
toast-ts
277fdacf9f Rename dontlookatme to spotify 2023-08-30 16:42:06 +10:00
toast-ts
9d39a0ef9c Add dedicated class for music module 2023-08-30 10:34:22 +10:00
toast-ts
7861808790 Forgot the index.ts 2023-08-30 10:25:44 +10:00
toast-ts
0714d36c3b Create MessageTool 2023-08-30 10:21:53 +10:00
toast-ts
adaa6c57dd Update ping.ts 2023-08-30 00:57:13 +10:00
toast-ts
8c41ec90fa 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-ts
86807c0fc0 Improve wording for ping cmd 2023-08-29 01:21:52 +10:00
toast-ts
dc7ae24e59 Fix client import 2023-08-28 21:24:59 +10:00
toast-ts
7c4be7ee94 Update mp.ts 2023-08-28 21:17:27 +10:00
toast-ts
34b49b7614 Darken the red color
bright colors is blinding me, send help
2023-08-28 20:54:39 +10:00
toast-ts
fe2eb65ef8 Update MPLoop.ts 2023-08-28 14:23:49 +10:00
toast-ts
3816f4e905 Update index.ts 2023-08-28 14:22:47 +10:00
toast-ts
fa4a57b3e8 Update MPLoop.ts 2023-08-28 14:22:12 +10:00
toast-ts
e241791dab Why is this here? 2023-08-28 12:51:17 +10:00
toast-ts
9ea8b91e8c Fix ID for general-chat 2023-08-28 12:50:16 +10:00
toast-ts
d1f594fac5 Create ResponseSystem 2023-08-28 12:48:18 +10:00
toast-ts
15ee06a88e Rename fetch, as Nodejs uses undici under the hood 2023-08-27 15:56:12 +10:00
toast-ts
403b28ae40 Simplify the number range in regex 2023-08-27 15:10:31 +10:00