Commit Graph

266 Commits

Author SHA1 Message Date
Vankka
346b732eeb
Register ExtensionContext.Store.ClosableResource 2023-07-24 22:13:00 +03:00
Vankka
ffb674465a
Fix test not working without environment variables, add environment variables to CI 2023-07-24 22:09:02 +03:00
Vankka
224b24cb26
Remove unnecessary field in EventBusImpl 2023-07-24 22:05:58 +03:00
Vankka
84160b906f
Add unit test for a message going from the receive event to a message sent to Discord + some other tests to check that enable works correctly 2023-07-24 22:04:41 +03:00
Vankka
3c3977200f
Add legacy section parsing for prefix/suffix 2023-07-24 19:56:05 +03:00
Vankka
cb5392fb81
Remove debug code 2023-07-21 17:59:41 +03:00
Vankka
9eb4160bc6
Don't log MessageExceptions as error for prefix/suffix 2023-07-21 17:10:36 +03:00
Vankka
3040b1472c
Don't force discord serialization for join, leave, death and server switch messages 2023-07-21 17:07:16 +03:00
Vankka
5da32a3c45
Improve error logging for prefix/suffix, add logging placeholder errors to trace 2023-07-21 17:03:01 +03:00
Vankka
b7aff53b1d
Create DynamicThreadPoolExecutor, allowing a cached thread pool while maintaining a maximum amount of threads in the pool and queuing tasks 2023-07-20 23:57:38 +03:00
Vankka
061ab08e2d
Fix ThreadPoolExecutor queue, DependencyLoader unnecessary executor inside executor 2023-07-20 22:52:42 +03:00
Vankka
4dc56a6aa4
Fix :i18n module and get rid of MockDiscordSRV requirement 2023-07-19 18:36:40 +03:00
Vankka
0e9a2e6e1c
Linking module, add linked/unlinked events 2023-07-19 00:13:00 +03:00
Vankka
6bd06d670d
Use a LinkStore inside MinecraftAuthenticationLinker 2023-07-18 23:57:53 +03:00
Vankka
5d87915eaa
Tweak ThreadPoolExecutor max pool size again 2023-07-16 12:05:15 +03:00
Vankka
9bb2502cdb
Fix logger usage in EventBusImpl 2023-07-12 21:27:29 +03:00
Vankka
2146fe29aa
manager.managers -> manager.abstraction 2023-07-12 21:03:30 +03:00
Vankka
20683e3c7a
Reorganize config packages, rename a bunch of ConfigurateConfigManager members 2023-07-12 21:02:32 +03:00
Vankka
9897f7029d
Relocate kotlin, update OkHTTP, exclude dependencies in bulk 2023-07-11 19:50:19 +03:00
Vankka
d4f41c589d
Tweak thread pools thread counts, separate required linking thread pool 2023-07-11 18:22:41 +03:00
Vankka
2f83770591
Add delayMillis for support with Discord moderation bots 2023-07-10 18:27:45 +03:00
Vankka
014a022fbd
Fix another derp in deleteMessageById 2023-07-10 18:26:48 +03:00
Vankka
7cd796ab2b
Fix deleteMessageById webhookMessage check being inverse 2023-07-10 17:37:10 +03:00
Vankka
c1fbeb8d8f
Depend on mariadb resource generation task 2023-07-09 23:07:39 +03:00
Vankka
cecd80bea0
Add MariaDB driver support 2023-07-09 21:03:48 +03:00
Vankka
512741bd92
Add running commands and sending command output for execute command 2023-07-09 13:16:18 +03:00
Vankka
1207990461
Add check for which commands are allowed to be run, config options for execute command 2023-07-09 01:11:41 +03:00
Vankka
417289cccb
Sort execute command suggestions 2023-07-07 18:36:09 +03:00
Vankka
f6f16ddbec
Remove unused suffix from message_reply placeholder 2023-07-07 17:18:35 +03:00
Vankka
383a7ad97a
Progress on running commands from Discord 2023-07-01 19:04:52 +03:00
Vankka
bb24dc7b32
Merge branch 'main' into execute-command 2023-07-01 17:32:15 +03:00
Vankka
97dbd3501e
Fix default advancement message being bad on non-Paper. Changed the default award format to say "advancement" instead of "achievement" 2023-07-01 17:29:59 +03:00
Vankka
2f57b0d2bf
Make placeholders of avatar url consistent 2023-06-30 18:21:23 +03:00
Vankka
bfd4edb6ed
Fix embeds being forced due to defaulting 2023-06-30 18:14:19 +03:00
Vankka
a36d9dbbb0
Remove unnecessary semicolon 2023-06-30 18:01:12 +03:00
Vankka
3a524c62a3
Fix error in ChannelConfigHelper#getByThreadChannel 2023-06-30 17:59:32 +03:00
Vankka
d25e12e0fa
Use USER_DOWNLOAD_URL constant in log message 2023-06-25 21:27:20 +03:00
Vankka
ea404ec7ab
Fix PlaceholderServiceImpl#updateContent not quoting replacement 2023-06-25 21:14:13 +03:00
Vankka
7aa6191a27
Move linked_accounts table name to constant, fixes mysql 2023-06-25 21:13:01 +03:00
Vankka
2eaaa17581
Fix mirroring not working with messages that only contain an attachment, fix mirrored attachments having no content 2023-06-25 13:31:27 +03:00
Vankka
57d5d70d13
Clarify minecraftauth requirements 2023-06-24 23:01:08 +03:00
Vankka
b7d586101d
Fix default avatar url 2023-06-24 21:42:33 +03:00
Vankka
379f0fc9f0
Update to EnhancedLegacyText v2, change to square brackets format 2023-06-24 21:40:55 +03:00
Dinty1
8e79c7abf3
Fix up avatar URL stuff + disable auto invite creation by default (#2)
* Start fixing up avatarurl stuff

* Fix some stuff

* Don't automatically create invite by default

* Add suggestion

Co-authored-by: Henri Schubin <vankka.main@gmail.com>

* Format + remove todos

Co-authored-by: Henri Schubin <vankka.main@gmail.com>

---------

Co-authored-by: Henri Schubin <vankka.main@gmail.com>
2023-06-24 00:33:38 +03:00
Vankka
2f2b852b0d
Add discriminators back for users who still have them 2023-06-22 20:03:03 +03:00
Vankka
e45e7c921c
Add context to reserialization for reply message content in Discord->Minecraft handler 2023-06-22 19:55:55 +03:00
Vankka
0624f9ae09
Don't block enable because of ready event 2023-06-22 19:48:09 +03:00
Vankka
cc5f8c2d26
Fix commands, don't run enable/reload async anymore 2023-06-22 19:46:20 +03:00
Vankka
daee555fed
Fix advancement spam check 2023-06-19 18:52:41 +03:00
Vankka
6d744ccec4
Don't change to FAILED_TO_LOAD_CONFIG or FAILED_TO_START status on reload 2023-06-19 18:35:23 +03:00