Commit Graph

50 Commits

Author SHA1 Message Date
ChomeNS
f68ce719f9 feat: store keys per-user using discord instead of having a global key
refactor: use language on DirectMessageEventHandler
refactor: some misc refactors (i forgot what i did lol)
2025-05-26 19:46:38 +07:00
ChomeNS
95a1f58fe1 feat: very ass discord slash commands 2025-05-25 09:21:05 +07:00
ChomeNS
ad5e203417 feat: *auth so you don't have to type hash every time (this can be abused idk) 2025-05-22 18:50:28 +07:00
ChomeNS
8e743b2014 refactor: move translation rendering to I18nUtilities 2025-05-08 06:48:50 +07:00
ChomeNS
a915cbbe4b feat: localization (hopefully i didn't miss anything but surely i will)
it took around 4 hours but i think it's pretty normal for such things like this
2025-05-06 16:11:09 +07:00
ChomeNS
3db1002af1 fix: denis check and use AtomicInteger on the thingy 2025-05-04 18:56:30 +07:00
ChomeNS
a01f749577 refactor: use fastutil 💨💨💨
i hope i didn't miss some things
2025-05-02 15:00:31 +07:00
ChomeNS
76b7df54e2 refactor: use time updates from the server for second tick 2025-04-26 11:11:33 +07:00
ChomeNS
b1925edf00 refactor: make some constant things that are List immutable by using List.of() 2025-04-23 16:15:17 +07:00
ChomeNS
decd15a926 refactor: have global Listener interface instead of creating one in each plugin
not sure how much this improves the code, readability and/or the performance but i hope they are better
2025-04-16 15:34:20 +07:00
ChomeNS
97152d7bd0 refactor: change command handler executeCommand signature to be more clean 2025-04-14 09:07:41 +07:00
ChomeNS
4685e37b4f fix: netcmd needing hash, hopefully i don't leak anything
more spaghetti code :D
2025-04-12 11:53:29 +07:00
ChomeNS
30a7bcd24b feat: *netcmd 2025-04-12 10:48:45 +07:00
ChomeNS
a5602d1a01 feat: "hashing" via discord by DM-ing the bot hash 2025-04-11 17:08:23 +07:00
ChomeNS
ed4e7573a9 refactor: use final on basically everything
i'm kinda tired of the inconsistency since some stuff are non-final and some are final so i just made everything final, not sure how much it impacts on stuff but everything should be fine, there were around 1,400 replacements according to the idea code analyzer
2025-04-09 17:05:11 +07:00
ChomeNS
31ace7334e refactor: disallow some chat packet types for some commands 2025-04-08 09:08:59 +07:00
ChomeNS
af67c228ce refactor: FINALLY improve the color palette, no more ColorUtilities.getColorByString(bot.config.colorPalette.something) every time i want use a color palette 2025-04-06 14:32:11 +07:00
ChomeNS
884c525f2e refactor: make executeCommand in CommandHandlerPlugin return void instead of a Component 2025-04-03 10:50:41 +07:00
ChomeNS
13385de5d5 refactor: improve the CommandHandlerPlugin a bit 2025-04-03 09:46:37 +07:00
ChomeNS
90323d3552 refactor: Reformat Code with chome NS code style !!!
too lazy to export it somewhere, if you need it feel free to ask me
2025-04-01 09:58:31 +07:00
ChomeNS
92c4726fcd refactor: move command contexts into a package 2025-03-31 09:03:32 +07:00
ChomeNS
05854223b1 refactor: second ticker in TickPlugin 2025-03-25 20:05:50 +07:00
ChomeNS
a2b564abf5 feat: make the chomens mod integration feel more like chomens proxy and also fix AuthPlugin
most stuff are still pretty broken, there's no chunking things yet, so long datas will simply just break, but it works!
2025-03-25 19:14:27 +07:00
ChomeNS
0bf8ce54f8 refactor: reduce the messy trust level checking by at least a bit
it looks a lot better now, the if statements at the discord roles still look pretty messy though
2025-03-19 17:05:36 +07:00
ChomeNS
6ba3a1cd2d refactor: make the bot disabled message only show when command is valid 2025-02-13 18:32:21 +07:00
ChomeNS
793b1538a0 feat: ACTUALLY print the errors using the thing i did in the commit before this 2025-01-06 17:54:35 +07:00
ChomeNS
497155a827 refactor: show disabled message and make music locking for non-console sender instead of all 2024-12-25 08:41:09 +07:00
ChomeNS
e798a9dc18 refactor: make validate return the trust level 2024-12-18 17:35:31 +07:00
ChomeNS
36fa5b3f9b feat: RestartCommand 2024-12-17 16:36:35 +07:00
ChomeNS
36a138becc feat,fix: add admin trust level and some other fixies 2024-11-30 15:03:02 +07:00
ChomeNS
06522fadcc feat: stop skids from making 69420 clones + some more stuff 2024-11-27 16:58:18 +07:00
ChomeNS
b3615770dc fix: fix most OOBs, and also fix maxY in WorldPlugin 2024-11-02 18:18:47 +07:00
ChomeNS
743072d8e3 FindAltsCommand 2024-10-26 18:11:28 +07:00
ChomeNS
41e57d04f2 add GrepLogCommand that is NOT skidded from any bot
technically some parts are still based off of HBot but at least it got a lot lower
2024-10-22 15:17:35 +07:00
ChomeNS
a3a126f7a8 Revive EvalCommand. On this side it is pretty much done. Backend is still very broken as of committing this 2024-10-18 20:21:52 +07:00
ChomeNS
f1c98135a2 1.21 + a LOT of fixies and a bit of optimization. WorldPlugin is still broken with some debug lines 2024-10-06 20:46:51 +07:00
ChomeNS
837fe388bb rename group 2024-10-06 17:36:42 +07:00
ChomeNS
fbf9f3e2f1 change to land.chipmunk.chayapak because yes 2023-03-27 12:53:05 +07:00
ChomeNS
cb34dfff90 add uuid and time + discord fix idk 2023-03-27 12:47:53 +07:00
ChomeNS
39f67c03e0 fix stuff ig 2023-03-26 18:03:13 +07:00
ChomeNS
0d38dbec49 add discord after hours of work? 2023-03-26 17:34:35 +07:00
ChomeNS
39196aef5b add servereval lmfao 2023-03-25 16:15:19 +07:00
ChomeNS
b2fccdd28d add list 2023-03-25 15:29:44 +07:00
ChomeNS
14b2b53682 add clearchat 2023-03-25 14:59:48 +07:00
ChomeNS
a7e8d79af8 add wikipedia and urban
i thought it would be hard but its acutally VERY VERY easy
2023-03-25 14:46:11 +07:00
ChomeNS
e9fa84c93e max
totally not chipmunk real nickname reference
2023-03-25 10:28:20 +07:00
ChomeNS
40f936090f add refillcore and fix help 2023-03-24 16:46:34 +07:00
ChomeNS
ea7a83772a add netmsg + remove more music debug code 2023-03-24 15:28:20 +07:00
ChomeNS
1f36cd9959 fix botvis and command handler + console commands colors 2023-03-24 09:21:05 +07:00
ChomeNS
6e2eb9ec74 change chomens bot namespace yup 2023-03-24 09:04:55 +07:00