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

738 Commits

Author SHA1 Message Date
toast-ts
68b7676382 Use RegExp for special character matching. 2023-03-14 09:24:48 +11:00
toast-ts
531b5aa661 :rock_eyebrow: 2023-03-14 06:29:08 +11:00
toast-ts
3240e66f69 Update Discord.JS to 14.8 2023-03-13 09:04:32 +11:00
toast-ts
81e810fbce nvm, this works now. 2023-03-12 12:56:05 +11:00
toast-ts
421517514d Hoping this fixes footer not showing. 2023-03-12 12:51:55 +11:00
toast-ts
c6867d8049 Re-enable view subcmd for bannedWords. 2023-03-11 21:18:08 +11:00
toast-ts
4ee0422a0a Realization kicked in, yo. 2023-03-10 13:51:01 +11:00
toast-ts
6665fd1aaa ignore error if word doesnt exist 2023-03-10 12:32:29 +11:00
toast-ts
8c6fdfd685 Update messageCreate.ts 2023-03-10 12:22:05 +11:00
toast-ts
d27f82a612 Remove console.error from DZ. 2023-03-10 09:09:14 +11:00
toast-ts
01dfbaa2b3 fix formatting 2023-03-08 20:04:52 +11:00
toast-ts
6317511b49 Apparently the host doesn't have it yet... 2023-03-05 21:10:33 +11:00
toast-ts
499cb07b8c Stupid GitHub formatting... 2023-03-05 21:04:10 +11:00
toast-ts
ee5378e374 Update client.ts 2023-03-04 12:19:50 -08:00
toast-ts
b2bac41acd Will continue investigation later. 2023-03-04 21:04:40 +11:00
toast-ts
6341c8d4a2 Removed {} from if statement. 2023-03-04 08:01:04 +11:00
toast-ts
0301ddafb9 Formatting 2023-03-03 22:13:51 +11:00
toast-ts
df0f30963f Increase timeout incase of host reboot. 2023-03-03 22:10:36 +11:00
toast-ts
2624885eab Temporarily do this then do full one later. 2023-03-02 11:43:36 +11:00
toast-ts
3740f25c22 SRP Map faq. 2023-03-02 08:36:23 +11:00
toast-ts
8be6534ded Only check roles on main server. 2023-02-28 11:38:40 +11:00
toast-ts
1b3b19bc4f Disable Mongoose's version keys. 2023-02-27 18:14:54 +11:00
toast-ts
ef8a638e65 why is it member. 2023-02-27 15:37:44 +11:00
toast-ts
abb5f0c7e5 Attempt 2, am blind. 2023-02-27 15:36:10 +11:00
toast-ts
beccec4f02 Somehow managed to miss this. 2023-02-27 15:35:11 +11:00
toast-ts
d466e1a14c Add bot-related suggestions. 2023-02-27 15:31:16 +11:00
toast-ts
71570118b0 Overhaul '/mp url' for new database. 2023-02-27 10:45:56 +11:00
toast-ts
f4ba0ec2da Why is this here? 2023-02-27 07:07:45 +11:00
toast-ts
908d459a5c Fix error spamming from no GuildMember 2023-02-26 11:23:53 -08:00
toast-ts
1924a9850a Update punishments.ts 2023-02-26 11:19:02 -08:00
toast-ts
d979e27215 Update status 2023-02-26 03:48:11 +11:00
toast-ts
2895052cad Why is this here? 2023-02-25 13:30:09 +11:00
toast-ts
c73e759553 Major changes to the bot. 2023-02-25 11:55:11 +11:00
toast-ts
ffc2e049ba Increase intervals on bot's message. 2023-02-21 11:52:23 +11:00
toast-ts
c005b3ec1a Revert "ty for letting me realize the issue, hun"
This reverts commit 832da99aef.
2023-02-17 17:28:47 +11:00
toast-ts
5f64f53687 ty for letting me realize the issue, hun 2023-02-17 17:22:40 +11:00
toast-ts
fd794a285f blindn't when 2023-02-17 17:14:26 +11:00
toast-ts
19932ecb2c Update messageCreate.ts 2023-02-16 14:36:39 -08:00
toast-ts
6150d97dd6 Add spaces for console.log 2023-02-17 08:43:29 +11:00
toast-ts
d23e6be428 Thanks dear. 2023-02-17 07:05:06 +11:00
toast-ts
804655c6b5 Add more phrases and fix AutoRes™️ responses 2023-02-16 22:53:37 +11:00
toast-ts
b4c2611b27 Glad I didn't pull the untested changes to main bot. 2023-02-16 22:29:45 +11:00
toast-ts
cb3985430d i hope i did it right. (Sync from TAEMBO/IRTGaming-bot) 2023-02-16 19:48:24 +11:00
toast-ts
56c4cd9a25 Remove unused const 2023-02-14 15:34:52 +11:00
toast-ts
e3c768e95a I'm blaming someone if all else fails. 2023-02-13 18:37:23 +11:00
toast-ts
ceb77b6674 Update schoolClassroom.ts 2023-02-13 16:32:34 +11:00
toast-ts
0850bf038a Remove useless await and tidy up embed builder 2023-02-13 16:31:24 +11:00
toast-ts
b696d39b16 Better (and readable) picture for SRP faq 2023-02-12 20:28:02 +11:00
toast-ts
848a5b431c Update SRP faq with new picture. 2023-02-12 20:24:11 +11:00
toast-ts
8c4b62b9ac Make it neater. 2023-02-12 20:11:42 +11:00
toast-ts
77a382b990 Some tweaks here and there 2023-02-10 19:13:56 -08:00
toast-ts
1df6004a32 Use correct type in parameter 2023-02-10 18:51:11 -08:00
toast-ts
7eed1d55ab Fix bug with unusable slash commands 2023-02-10 18:48:29 -08:00
toast-ts
1649050980 Status 2023-02-11 08:07:38 +11:00
toast-ts
135448939a boredom mopping 2023-02-10 15:01:55 +11:00
toast-ts
c6046f4660 Add temporary solution to prevent error. 2023-02-10 09:04:45 +11:00
toast-ts
475c26859e Add catch for bot being moderated. 2023-02-10 08:50:17 +11:00
toast-ts
7e711d62be Use Object literal lookups and add User-Agent 2023-02-10 08:45:52 +11:00
toast-ts
1abc442f1e Add webhook token to filter 2023-02-09 12:58:37 +11:00
toast-ts
1766ab0490 Add webhook for something else in mind. 2023-02-09 12:51:59 +11:00
toast-ts
8fe69d3c5c Exclude a staff channel from an auto response 2023-02-08 11:28:46 -08:00
toast-ts
089d470b7d Update MP loop with embed changes. 2023-02-07 09:10:26 +11:00
toast-ts
d7763db35d Increase YTLoop interval 2023-02-06 15:32:23 +11:00
toast-ts
a404c21828 i think i forgor something... 2023-02-05 03:08:28 +11:00
toast-ts
f343495620 fix unavailable xml attribs 2023-02-05 02:29:53 +11:00
toast-ts
6ff97616a1 Brain't 2023-02-03 04:29:00 +11:00
toast-ts
e78f4bb3fb Provide Axios status when host is unreachable. 2023-02-03 04:27:39 +11:00
toast-ts
bfba4fb4d2 I can English 2023-02-03 02:52:51 +11:00
toast-ts
7fc32bdfed Revamp guild registration and add other stuff. 2023-02-03 02:45:48 +11:00
toast-ts
b67e9a6914 Restrict some AutoRes™️ to gen chat 2023-01-30 23:16:25 +11:00
toast-ts
9d01b6954a Squash two embeds together. 2023-01-30 06:48:55 +11:00
toast-ts
39d28a309e Change status 2023-01-29 17:47:54 +11:00
toast-ts
06916ad21c Idea scrapped. 2023-01-29 09:58:30 +11:00
toast-ts
0f9c754b0e [object Object] 2023-01-29 09:56:13 +11:00
toast-ts
04a4761b5e Reorder the imports (test commit) 2023-01-29 09:55:11 +11:00
toast-ts
ea4543bc5c Fetch commit via Octokit 2023-01-29 09:51:47 +11:00
toast-ts
72b364b343 make faq command desc easy to understand 2023-01-28 22:42:57 +11:00
toast-ts
17bc4f350e Add subcommands to log. 2023-01-28 21:04:52 +11:00
toast-ts
606dcff14c Increase autosave interval for userLevels 2023-01-28 13:42:15 +11:00
toast-ts
0a752f11f9 :stuff: lighting a fire. 2023-01-28 13:33:55 +11:00
toast-ts
15747d1bed why is this here? 2023-01-28 08:59:37 +11:00
toast-ts
21f3e3f7c6 "das Engrish for ya" -boy, 2023 2023-01-27 02:33:17 +11:00
toast-ts
ecf0484f40 Why is this isn't here? 2023-01-26 21:13:40 +11:00
toast-ts
b75904efce convert to switch case from else if 2023-01-26 21:12:16 +11:00
toast-ts
22920c5503 Improve scam faq 2023-01-26 19:05:02 +11:00
toast-ts
7a7d440cfb Add faq for YouTube comment scams 2023-01-26 19:02:40 +11:00
toast-ts
44b36dd7b4 Fix improper graph label 2023-01-22 10:14:38 -08:00
toast-ts
226171f914 MP Server finally became active! 🥳🥳 2023-01-23 02:38:49 +11:00
toast-ts
a43c659ffc Add statsGraph command and use fs instead of require 2023-01-22 22:21:32 +11:00
toast-ts
cf0f4642b7 Add another one to array 2023-01-22 20:15:45 +11:00
toast-ts
b86b1654b8 Forgor to remove the test trigger. 2023-01-22 16:36:57 +11:00
toast-ts
e146179292 Rework the Autoresponse™️ system. 2023-01-22 16:34:45 +11:00
toast-ts
27676a23bd Tidy up commented out code. 2023-01-22 16:00:20 +11:00
toast-ts
ad56fc2779 Update DZ function 2023-01-19 15:41:10 +11:00
toast-ts
221341ee64 Attempt to fix inaccurate bonk counter 2023-01-18 11:28:11 -08:00
toast-ts
af4c3e1e68 someone told me to make it shorter :epiccat: 2023-01-19 06:20:05 +11:00
toast-ts
82c2db0337 :rock_eyebrow: 2023-01-15 18:38:40 +11:00
toast-ts
03a0ad487a Ew, just ew. 2023-01-12 16:42:13 +11:00
toast-ts
69358433cc Merge branch 'main' of https://github.com/AnxietyisReal/Daggerbot-TS 2023-01-12 16:38:26 +11:00
toast-ts
f87a204d0d Merge the command to /mp 2023-01-12 16:38:23 +11:00
toast-ts
b84dd8eb5e Make uptime bold 2023-01-12 10:36:02 +11:00
toast-ts
166cf3364c why is the wrong color here? 2023-01-12 07:40:25 +11:00
toast-ts
5cd65cc23c Add randomcolor and adjust few things 2023-01-11 19:33:38 +11:00
toast-ts
4a3cb1ce78 Status 2023-01-10 18:31:13 +11:00
toast-ts
b0daa9736d revamp nickname log 2023-01-10 05:31:21 +11:00
toast-ts
b717d58998 Remove unneeded field from builder as bot isn't global. 2023-01-09 23:05:14 +11:00
toast-ts
b23ee39fc1 Improve load time 2023-01-09 23:02:21 +11:00
toast-ts
68e35562f7 Add unfinished cron task 2023-01-09 05:43:24 +11:00
toast-ts
47a936837f untested but hopefully it works 2023-01-08 16:12:54 +11:00
toast-ts
06ee02e173 Remove unused command 2023-01-07 11:41:37 +11:00
toast-ts
21a0533344 Merge all dev commands into one 2023-01-07 11:41:20 +11:00
toast-ts
0d6174535f Probably too late but oh well. 2023-01-06 15:25:53 +11:00
toast-ts
8e0f1603bd New handler seems to work perfectly, purging old handler. 2023-01-05 19:50:49 +11:00
toast-ts
d477e612cc Add actual server name to info and notify if server is offline 2023-01-05 19:50:11 +11:00
toast-ts
38be6827a7 Add path and fs to rank and mp 2023-01-02 23:08:59 +11:00
toast-ts
5a63c21532 Remove archive server id from command registration 2023-01-02 21:18:04 +11:00
toast-ts
03985ffa46 Fix mp command and forgor to put guild ids back 2023-01-02 21:15:49 +11:00
toast-ts
2fb0da786d Sync event handler from TAEMBO/IRTGaming-bot 2023-01-02 20:45:05 +11:00
toast-ts
81991ab75e fix missing command id due to switch from global to guild 2023-01-02 17:40:19 +11:00
toast-ts
9ee771bf5d Improve areas of the bot and update deps & faq 2023-01-02 12:09:03 +11:00
toast-ts
2fda5c7c9a Last commit for this year :whatnow: 2022-12-31 23:38:55 +11:00
toast-ts
b208e0ed22 Fix disabledChannels filter 2022-12-30 21:38:49 -08:00
toast-ts
1f628e8e92 idk whose house it is but yes 2022-12-30 09:34:05 +11:00
toast-ts
c4ddd6aebb improve few events 2022-12-30 09:17:50 +11:00
toast-ts
aacb93ca62 include error log as well 2022-12-30 09:13:00 +11:00
toast-ts
be5fc994b9 mop old code 2022-12-30 09:11:46 +11:00
toast-ts
1cef960424 🗿failsafe test complete 2022-12-30 09:05:47 +11:00
toast-ts
bfe14e0ee5 Toast does goofy ahh sometimes 2022-12-30 08:24:15 +11:00
toast-ts
210ec2074e replace old command ids with updated ones 2022-12-30 08:05:55 +11:00
toast-ts
d7f5f2b984 Provide uptime before restarting 2022-12-30 07:58:40 +11:00
toast-ts
7603d77239 Workaround for removing a word that doesnt exist 2022-12-29 21:10:56 +11:00
toast-ts
1aada89272 Add types for tokens and configs 2022-12-29 21:10:13 +11:00
toast-ts
83d78f71c0 Christmas time is over, everyone. 2022-12-29 17:41:55 +11:00
toast-ts
8139400ecb Forgor filename 2022-12-29 09:07:04 +11:00
toast-ts
c7e4e9420b Update botlog.ts 2022-12-29 09:03:57 +11:00
toast-ts
4102529554 Stressful test complete, migrating to Windows host 2022-12-28 11:38:08 +11:00
toast-ts
9543dda222 Update messageDelete.ts 2022-12-27 04:44:37 +11:00
toast-ts
75a618e4b7 Newline on case overwrite 2022-12-25 06:48:01 +11:00
toast-ts
4b99e06644 revise messageDelete to hide content field if empty 2022-12-24 22:13:22 +11:00
toast-ts
04ea199cfb send notification upon dailyMsgs update 2022-12-23 15:27:02 +11:00
toast-ts
64466e7e15 revise the bannedWords command 2022-12-22 18:19:56 +11:00
toast-ts
55df26eece kevin x4 2022-12-19 15:22:28 +11:00
toast-ts
fa2e74a8c0 change out the code like you would with a car battery 2022-12-19 15:06:00 +11:00
toast-ts
bf9d1e18b0 Update ping.ts 2022-12-18 00:38:23 +11:00
toast-ts
7dfcb28cd4 go back 2022-12-18 00:36:55 +11:00
toast-ts
15ca94c212 Update statistics.ts 2022-12-18 00:35:08 +11:00
toast-ts
b4cea7aa1e someone: uwotm8 2022-12-13 12:23:53 +11:00
toast-ts
7fe170fa0a workaround for unknown interaction err when host is down 2022-12-08 01:15:41 +11:00
toast-ts
a2bdc600e7 🤏capitalize the C as in Case 2022-12-07 23:06:49 +11:00
toast-ts
e02acacb31 expand automod advertisement 2022-12-07 23:02:50 +11:00
toast-ts
388a8dbf1c DeferReply punishments & use two log channels 2022-12-03 15:35:14 -08:00
toast-ts
ad388e4498 odd one out 2022-12-03 13:02:53 +11:00
toast-ts
f44b17443c Cancel punishment if user is already banned 2022-12-02 10:25:44 -08:00
toast-ts
11ef2d7f74 bru 2022-12-03 04:38:28 +11:00
toast-ts
8e98a1ef09 on second thought, it should be admin only. 2022-12-03 01:52:26 +11:00
toast-ts
e22d4a6ffe Fix channel resolve, use different function 2022-12-01 16:36:51 -08:00
toast-ts
35cab2df6e Revamp punishments system 2022-12-01 14:53:57 -08:00
toast-ts
d397380060 space 2022-12-01 13:22:28 +11:00
toast-ts
2b653f8260 cant reproduce it but removed '?' for now. 2022-12-01 03:02:55 +11:00
toast-ts
f1a47f0505 we're approaching christmas, ho ho ho 2022-11-30 19:36:35 +11:00
toast-ts
dd8ec39947 combine both embeds into one command 2022-11-30 19:34:53 +11:00
toast-ts
f2c8ba088c tae said blame yasser 2022-11-30 11:02:36 +11:00
toast-ts
c81c76945a disable commands in DMs 2022-11-30 01:22:26 +11:00
toast-ts
e6b636f9a0 christmas all the way 2022-11-29 16:53:05 +11:00
toast-ts
fd2d7df75e Refrain from pinging Daggerwin 2022-11-28 18:58:09 -08:00
toast-ts
71fc36bfec Refine morning autoresponse 2022-11-28 10:34:40 -08:00
toast-ts
6aeb366c39 add timestamp 2022-11-28 18:19:17 +11:00
toast-ts
ae7cf2f75e :any squirrel's food 2022-11-28 17:33:20 +11:00
toast-ts
6f79e40ee1 fix mp commands when host is unavailable 2022-11-28 17:27:34 +11:00
toast-ts
eb0fceef3e Update client.ts 2022-11-27 12:12:39 -08:00
toast-ts
f1359240b9 Merge branch 'main' of https://github.com/AnxietyisReal/Daggerbot-TS 2022-11-27 11:47:31 -08:00
toast-ts
7b9ddde4f2 Disable 'series' subcommand 2022-11-27 11:45:38 -08:00
toast-ts
eb8734f7f0 moderating the automod 2022-11-27 18:28:51 +11:00
toast-ts
083faeea5b maybe, just maybe. 2022-11-27 13:00:48 +11:00
toast-ts
9738c8d1a7 nuke folder 2022-11-27 12:29:43 +11:00
toast-ts
d817bf5cf7 We been trying to reach you about your bot's extended warranty. 2022-11-27 11:27:47 +11:00
toast-ts
ce5dc58e43 remove unneeded intents to save host resources 2022-11-27 09:18:40 +11:00
toast-ts
bdd1e6c382 Sort of fix attachment errors 2022-11-26 13:00:41 -08:00
toast-ts
6a3fc4a5cf push latest database files 2022-11-26 19:53:45 +11:00
toast-ts
addf4573c9 fix perms ?bug? 2022-11-26 19:52:43 +11:00
toast-ts
5908ae5631 it spammed in main server's log channel. 2022-11-26 19:13:35 +11:00
toast-ts
53e5408643 should probably enable this. 2022-11-26 14:31:08 +11:00
toast-ts
c0243690fb temporary workaround until theres a fix for invalidated images 2022-11-26 07:05:41 +11:00
toast-ts
84a3c02370 bru #5 2022-11-25 20:52:31 +11:00
toast-ts
53f1c7090e bru #4 2022-11-25 20:49:30 +11:00
toast-ts
2fcde46328 bru #3 2022-11-25 20:49:12 +11:00
toast-ts
9daf4df034 bru #2 2022-11-25 20:47:26 +11:00
toast-ts
37cda5772c bru #1 2022-11-25 20:46:51 +11:00
toast-ts
318734194f stop logging deleted msgs plz
wheres tae when i need him
2022-11-25 20:41:45 +11:00
toast-ts
5b9d774d9b messed it up for some reason. but still 2022-11-25 20:39:22 +11:00
toast-ts
ecbefa08ca why is this not here? 2022-11-25 20:37:23 +11:00
toast-ts
209a1c94cd proxify the image 2022-11-25 20:29:26 +11:00
toast-ts
3d75643c07 remove colors from console 2022-11-25 11:28:46 +11:00
toast-ts
5d3f90bccf wrong command. 2022-11-24 11:46:59 +11:00
toast-ts
885fb1803a finally fix the admin check 2022-11-24 00:56:20 +11:00
toast-ts
254202c6fe go back to where you came from. 2022-11-23 23:28:21 +11:00
toast-ts
ccc907f330 forgor its already there before the footer, smol brain
This reverts commit bf4f1489e6.
2022-11-23 19:50:32 +11:00
toast-ts
dfe024a5be add footer to display leaderboard position 2022-11-23 19:47:51 +11:00
toast-ts
d71ac285a2 add another morning msg to array 2022-11-23 19:04:14 +11:00
toast-ts
40eb77c73d dont spam plz dorime 2022-11-23 15:01:47 +11:00
toast-ts
076b4eb420 ew 2022-11-23 09:09:44 +11:00
toast-ts
6184609afd forgor other cmds too 2022-11-23 09:08:38 +11:00
toast-ts
62fa8dc532 yes 2022-11-23 09:05:12 +11:00
toast-ts
193ba891ff is pog 2022-11-23 09:02:07 +11:00
toast-ts
99a53b0293 cring brain 2022-11-23 08:51:00 +11:00
toast-ts
df19113fd7 eek 2022-11-23 08:47:48 +11:00
toast-ts
a774d64c2a forgor mp rules embed 2022-11-23 08:31:55 +11:00
toast-ts
13563a7118 Production move 2022-11-23 08:29:02 +11:00
toast-ts
d94eff8ece improve roleUpdate event a bit better. 2022-11-23 00:00:47 +11:00
toast-ts
1e8f0ab058 unblock /bonk to be used in general-chat 2022-11-22 22:00:04 +11:00
toast-ts
141387ec50 mpstats is done being tested, sorry PS 2022-11-22 21:53:29 +11:00
toast-ts
701a6bb2c9 move MPDB.sync() to init() 2022-11-22 21:45:55 +11:00
toast-ts
a712ad0881 mpstats test 2022-11-22 21:33:29 +11:00
toast-ts
03c5db0285 update 'mp info' description 2022-11-22 17:43:47 +11:00
toast-ts
5336d01b0b it do be super hot fr 2022-11-22 17:38:40 +11:00
toast-ts
0e848557f2 log manual bans cuz yes 2022-11-22 12:25:24 +11:00
toast-ts
5fd2bd7665 forgor footer 2022-11-22 09:51:07 +11:00
toast-ts
cc25e0aa24 data yes 2022-11-22 09:37:45 +11:00
toast-ts
1c8ede2058 i feel like i made it worse but atleast its good enough. 2022-11-22 09:37:23 +11:00
toast-ts
caddade60d cring duplicate system 2022-11-22 08:19:17 +11:00
toast-ts
686f366f4a sussy 2022-11-21 14:55:55 +11:00
toast-ts
7eb1b85744 database 2022-11-20 20:08:53 +11:00
toast-ts
41587077f4 add softban cmd and moderation improvements 2022-11-20 20:04:40 +11:00
toast-ts
20484862c4 more improvements 2022-11-19 22:50:46 +11:00
toast-ts
3283013caf some mp improvements and other stuff 2022-11-19 21:17:04 +11:00
toast-ts
604f114e84 ew unneeded comma 2022-11-19 15:29:01 +11:00
toast-ts
fadd420a3b more progress, main bot when 2022-11-19 14:23:33 +11:00
toast-ts
60d9fb97c4 forgor to revert channel id 2022-11-19 03:56:18 +11:00
toast-ts
8a90bb119b little progress, yay automod now operational 2022-11-19 03:54:40 +11:00
toast-ts
3e94afb222 im bit bored now, automod needs investigating. 2022-11-18 22:29:03 +11:00
toast-ts
386ee4f54e enough coding for now, gonna get milk™️ 2022-11-18 04:58:19 +11:00
toast-ts
49af49423b bot is alive yes. interfaces need sorting 2022-11-17 05:53:42 +11:00
toast-ts
178286c189 i think i done enough for now. (Push part 5) 2022-11-16 01:06:18 +11:00
toast-ts
b86e7d01c4 my tired self cant take it for tonite (Push part 4) 2022-11-14 19:45:40 +11:00
toast-ts
7d5def0cfc Push part 3 2022-11-14 11:18:15 +11:00
toast-ts
80daca2f2a Rename timeNames.js to timeNames.ts 2022-11-14 08:58:24 +11:00
toast-ts
f5aa7a33fa Push part 2 2022-11-14 00:46:50 +11:00
toast-ts
3abfdf3c31 Push part 1 2022-11-12 11:58:11 +11:00