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

698 Commits

Author SHA1 Message Date
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
AnxietyisReal
e62c5e972e Only display one server for now 2023-08-20 11:04:14 +10:00
Toast
a5630ed6c1 Disable debugging for MPLoop 2023-08-20 10:24:41 +10:00
Toast
bf29b5016b Update config.json 2023-08-20 10:23:02 +10:00
AnxietyisReal
21631bf2fd Stable enough. 2023-08-20 10:17:22 +10:00
AnxietyisReal
9ac2665af5 I am so broken and confusion 2023-08-19 22:50:05 +10:00
AnxietyisReal
96444a4c02 After few trial and errors, I finally got it!! 2023-08-19 10:54:17 +10:00
AnxietyisReal
4a6060e966 Wait until bot receives WS heartbeat 2023-08-19 09:13:20 +10:00
Toast
38fdd79864 Remove timestamp 2023-08-19 01:03:56 +10:00
Toast
a42a654b9b Update client.ts 2023-08-19 01:02:39 +10:00
AnxietyisReal
2400898266 Ran out of time for today, atleast it's a start. 2023-08-18 21:18:33 +10:00
Toast
b3a918a8ca Rename client-error to match the rest 2023-08-18 03:06:00 +10:00
AnxietyisReal
a96cd9e854 Painful progress.. 2023-08-15 20:47:31 +10:00
Toast
7bf557c861 Return an error if tag doesn't exist 2023-08-15 03:15:23 +10:00
AnxietyisReal
a5acffb101 Remove commented out code and add support for newline 2023-08-15 01:51:35 +10:00
AnxietyisReal
74ffcdba89 Add tag system 2023-08-15 00:36:29 +10:00
AnxietyisReal
066f769b55 Add new switch for dailyMsgs operation 2023-08-14 18:33:49 +10:00
AnxietyisReal
1856df7d9f Update startWithYarn.cjs 2023-08-13 17:29:07 +10:00
AnxietyisReal
68df86477f it didnt work.. 2023-08-13 17:16:39 +10:00
Toast
6bdb57e2ad Update index.ts 2023-08-13 12:24:39 +10:00
Toast
35c350d9af Temporarily switching to D.JS 14.13 2023-08-13 03:18:46 +10:00
AnxietyisReal
44b63451c7 Optimizations and update packages 2023-08-13 02:40:18 +10:00
Toast
15c7527c6d Prevent MP function from throwing errors. 2023-08-12 19:46:03 +10:00
AnxietyisReal
e4f8ab6dfd Add Custom Status to presence command 2023-08-12 18:28:48 +10:00
Toast
e64998ad76 Add wake_device command 2023-08-12 18:17:51 +10:00
Toast
323bb61273 Enable raw error output in DZ function 2023-08-11 22:19:13 +10:00
AnxietyisReal
18a90ed998 Hide terminal window when spawning child process 2023-08-11 13:41:01 +10:00
AnxietyisReal
638e35e3a8 Refactor inviteinfo.ts 2023-08-11 13:02:12 +10:00
Toast
32dba351d9 Update dev.ts 2023-08-09 10:12:04 +10:00
AnxietyisReal
428d3dea52 Update suggestion schema 2023-08-08 07:44:02 +10:00
AnxietyisReal
e8b75bdf4d Add Verify game faq 2023-08-08 05:20:49 +10:00
AnxietyisReal
a13c418adb Add debug logging 2023-08-08 00:42:32 +10:00
AnxietyisReal
ccb94cc475 Mentally dying of 9 commands being loaded. 2023-08-07 18:14:08 +10:00
Toast
f226da8fb9 Update messageCreate.ts 2023-08-05 19:56:40 +10:00
AnxietyisReal
e76bf10d93 A real hotfix this time. Istg Discord 2023-08-05 11:40:07 +10:00
AnxietyisReal
cf63766112 Hopefully this fixes it now. 2023-08-05 11:20:10 +10:00
Toast
7cc63c534a Update messageCreate.ts 2023-08-05 10:38:14 +10:00
AnxietyisReal
6af7f3694d Support for Discord's new username system 2023-08-01 19:24:24 +10:00
AnxietyisReal
71dd0681e5 Add future function 2023-08-01 17:51:42 +10:00
Toast
6286c9bc69 Update messageCreate.ts 2023-07-31 17:13:18 +10:00
AnxietyisReal
f9bab0da78 Add another SSL error to array 2023-07-23 14:18:59 +10:00
AnxietyisReal
edf2ff8e8c Nothing special really. 2023-07-22 00:17:27 +10:00
AnxietyisReal
3d7949ad55 🍪🍪🍪🍪🍪🍪🍪 2023-07-21 19:17:14 +10:00
AnxietyisReal
ad9f6e07cd Use Discord's builtin ordered listing 2023-07-20 22:17:51 +10:00
AnxietyisReal
fd0b966e83 Begone import assertion 2023-07-20 22:13:09 +10:00
AnxietyisReal
6a7a56ce39 Improved music function a bit better. 2023-07-19 19:13:59 +10:00
AnxietyisReal
db1bdabf2e Add skip command to music player 2023-07-19 18:25:42 +10:00
AnxietyisReal
a250baf012 Remove 2nd useless hotfix entirely then, major bruh. 2023-07-13 21:46:09 +10:00
AnxietyisReal
44298cc8ec Previous hotfix was basically useless... Let's try this one. 2023-07-13 21:44:44 +10:00
AnxietyisReal
0223b1977e Prevent music player error on Spotify links. 2023-07-13 21:40:05 +10:00
AnxietyisReal
c72721da50 I called it. I knew it was going to break it. 2023-07-08 00:03:12 +10:00
AnxietyisReal
99b962db2e Major bot improvements
Half of them is untested on development bot so I wouldn't be surprised if I broke it in production.
2023-07-07 23:49:24 +10:00
AnxietyisReal
dc2d2fa262 Delete unused file 2023-07-07 22:05:32 +10:00
AnxietyisReal
ec414b35e1 Add autosave interval 2023-07-07 21:21:42 +10:00
Toast
26d4a086c1 Fix incorrect path
Thanks intellisense....
2023-07-07 16:01:06 +10:00
AnxietyisReal
abe3b9897c Automate the dailyMsgs backup 2023-07-07 15:54:48 +10:00
Toast
c5ea4e66c1 https://media.tenor.com/mZZoOtDcouoAAAAC/stop-it-get-some-help.gif 2023-07-06 17:14:09 +10:00
AnxietyisReal
1bc4a65d26 Status update 2023-07-05 18:36:33 +10:00
AnxietyisReal
33e195791f I hate struggling... *shivers* 2023-07-04 15:56:47 +10:00
AnxietyisReal
2fabfa7946 Add level-up notification setting (False by default) 2023-06-30 19:24:34 +10:00
AnxietyisReal
5b2d47e498 Better picture for No Content 2023-06-27 16:38:01 +10:00