Commit Graph

149 Commits

Author SHA1 Message Date
Vankka
3a524c62a3
Fix error in ChannelConfigHelper#getByThreadChannel 2023-06-30 17:59:32 +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
b5cc364648
Fix api project dependency not working on latest IntelliJ 2023-06-24 19:09:12 +03:00
Vankka
2f2b852b0d
Add discriminators back for users who still have them 2023-06-22 20:03:03 +03:00
Vankka
37476fd8f9
Fix group sync not finding members that are not cached, enable chunking by default. Add GroupSyncResult for being able to interact with role 2023-06-18 22:36:59 +03:00
Vankka
aa8b0a9660
Add showing replies in Discord -> Minecraft 2023-06-18 16:20:47 +03:00
Vankka
9fd3903550
Merge jda-webhooks 2023-06-18 14:15:57 +03:00
Vankka
8de37ce767
Username fixes 2023-06-18 14:14:04 +03:00
Vankka
06b1dff50a
Move around configs, make IChannelConfig better / consolidate channel+thread lookup 2023-06-17 16:21:16 +03:00
Vankka
c32a2ad8bd
Execute command initial 2023-06-09 00:36:39 +03:00
Vankka
d6a21b6fca
Prepare for webhooks directly through JDA 2023-06-09 00:35:44 +03:00
Vankka
3e3438f0d2
Allow loading extra languages on Bukkit 2023-05-30 19:22:34 +03:00
Vankka
05f4bb47e9
Add ReloadFlag for Discord commands 2023-05-29 00:44:32 +03:00
Vankka
df5a253b48
Add combined Minecraft & Discord commands 2023-05-29 00:42:55 +03:00
Vankka
2d4252ed6f
Add jump urls to channel mentions & rendering messages, handle translatable components when serializing to plain 2023-05-19 19:59:03 +03:00
Vankka
2e2c1667eb
Update deprecated DiscordGatewayIntent 2023-05-19 18:34:08 +03:00
Vankka
455065087c
Fix deprecation in Modal 2023-05-19 18:33:49 +03:00
Vankka
ec6b15aad2
Moved ApiInstanceHolder to be a DiscordSRVApi subclass, renamed a few things 2023-05-18 00:58:42 +03:00
Vankka
6b9606ddd7
Advancement/achievement fixes, event changes, updated gradle 2023-04-30 19:28:11 +03:00
Vankka
42ec392bcb
Linking improvements, required linking initial 2023-03-18 14:23:31 +02:00
Vankka
6ff5ddb6a7
Add Bukkit chat plugin integrations, make better use of DynamicProxy, consolidate some of the :common subprojects 2023-02-20 21:55:45 +02:00
Vankka
88a267bc0a
Automatically disable escaping markdown when inside a code string or block 2023-01-23 00:24:31 +02:00
Vankka
6fd03af3a8
2023, cleanup unused imports, slight change to JDAConnectionManager intent message check 2023-01-22 22:24:51 +02:00
Vankka
7a9c21c56d
Specifying intents, cache flags and member caching policies in modules 2023-01-22 22:20:36 +02:00
Vankka
7d9609306e
Member mention lookup, config option for @ everyone/here, some fixes 2022-12-30 20:11:10 +02:00
Vankka
11ff9eb563
JDA 5.0.0-beta.2 2022-12-30 16:31:51 +02:00
Vankka
cfcbada10d
Remove optional usage from API 2022-12-27 23:34:02 +02:00
Vankka
29f48944d3
Update checker 2022-12-27 22:46:28 +02:00
Vankka
f7a015d47d
JDA 5.0.0-alpha.19 2022-09-15 23:23:46 +03:00
Vankka
dbce0832a3
Change everything to a central OkHttpClient, reduce amount of threads that can be used, adjust some other stuff 2022-08-22 18:46:12 +03:00
Vankka
9774eb5879
Add command registration via event 2022-08-07 20:27:52 +03:00
Vankka
602c74ba6b
Interaction events, add handling directly to Command 2022-08-07 19:54:16 +03:00
Vankka
2f3c9946b5
Add responding with choices to DiscordCommandAutoCompleteInteractionEvent 2022-07-22 19:13:40 +03:00
Vankka
1ce73a2842
Interaction related events 2022-07-22 18:25:42 +03:00
Vankka
d8f5f89c19
Lots of interactions & commands 2022-07-10 17:33:47 +03:00
Vankka
83fb75d4c0
Implement command executors, dynamicproxy 2022-06-25 22:33:55 +03:00
Vankka
37248aac56
ComponentFactory#enhancedBuilder -> ComponentFactory#textBuilder 2022-06-14 18:59:23 +03:00
Vankka
28b8d76887
Rename EnhancedTextBuilder to GameTextBuilder 2022-06-14 18:58:36 +03:00
Vankka
2131fa3e86
Missing copyright headers 2022-06-09 20:05:50 +03:00
Vankka
33738959f7
Begin with interactions, made JDAEntity, DiscordSRVApi#jdaVersion, split member & user 2022-06-09 19:31:01 +03:00
Vankka
229f928269
Add sources & javadoc jars to api, configure publication 2022-06-09 19:29:21 +03:00
Vankka
984331a458
com.discordsrv.api.discord.api -> com.discordsrv.api.discord
com.discordsrv.api.discord.connection -> com.discordsrv.api.discord.connection.jda
2022-05-12 17:59:46 +03:00
Vankka
40cc7086b0
Attachment mirroring 2022-05-11 18:29:47 +03:00
Vankka
0052c6e54b
Add support for replies in mirroring, block markdown urls in mirroring 2022-05-05 19:17:54 +03:00
Vankka
97a8816edd
Implement ErrorCallbackContext 2022-05-01 12:27:35 +03:00
Vankka
3f030dfada
Add PlaceholderAPI (Bukkit) support 2022-04-26 17:00:09 +03:00
Vankka
97a2b5edbe
Move ThreadChannelLookup to :common from :api 2022-04-26 15:36:10 +03:00
Vankka
d78450e291
Downgrade okhttp due to kotlin usage 2022-04-25 15:47:24 +03:00
Vankka
60f04f1511
Version catalog, updated some versions 2022-04-22 20:56:11 +03:00
Vankka
fd249b4e03
Chop embed parts to fit 2022-04-13 14:07:14 +03:00
Vankka
eba37d9b6f
Tweak some stuff relating to FormattedText, make invite not get escaped, ever 2022-04-12 13:18:56 +03:00
Vankka
02a0d098d0
Update MCDiscordReserializer, change some stuff regarding escaping 2022-04-10 18:20:46 +03:00
Vankka
daf4b313a6
First join messages 2022-04-10 15:42:09 +03:00
Vankka
b699a75821
Prefixes & suffixes, fix to Placeholders utility class, added more tests 2022-04-02 18:40:41 +03:00
Vankka
bbc722e689
Add channel auto locking, implement thread archiving. More fixes to shutdown not working properly/ errors when the server is stopped before DiscordSRV starts 2022-04-02 16:24:34 +03:00
Vankka
c6cbf2dfc3
Couple fixes, remove runtime dependency on error prone annotations 2022-03-28 17:20:37 +03:00
Vankka
9124c18d7a
Move DiscordSRVApiProvider methods to DiscordSRVApi 2022-03-28 17:06:25 +03:00
Vankka
99a87382bd
In-game commands 2022-03-20 13:46:06 +02:00
Vankka
90150325bf
Add Discord blurple to Color 2022-03-09 01:42:30 +02:00
Vankka
373e866346
Fix some bugs related to threads 2022-03-06 21:18:20 +02:00
Vankka
f3021d1472
Merge main 2022-03-01 17:40:17 +02:00
Vankka
2947717869
Add some generics to the component api, other minor component improvements 2022-03-01 12:28:31 +02:00
Vankka
ed674cce8a
More profile stuff 2022-02-24 17:09:53 +02:00
Vankka
21045f7bb2
Merge branch 'main' into profiles 2022-02-19 22:47:47 +02:00
Vankka
0a128e37e9
Add support for webhooks in threads, add username format option for mirroring 2022-02-01 12:39:59 +02:00
Vankka
ba1a8c196f
Beginning of profiles & linked accounts 2022-02-01 11:33:50 +02:00
Vankka
1097a8f2f8
Convert things to CompletableFutureUtil 2022-01-23 16:23:24 +02:00
Vankka
634c123937
Group synchronization 2022-01-23 16:11:35 +02:00
Vankka
595146cc5b
Add a time frame that the channel updater will wait before giving up if not connected, 2022-01-13 20:35:54 +02:00
Vankka
ad6b7ee583
Add some missing nullability annotations 2022-01-13 19:34:53 +02:00
Vankka
318245c315
Update copyright year 2022-01-13 19:05:36 +02:00
Vankka
6c2c0c5134
Package reorganizing, and other minor changes 2022-01-13 19:03:23 +02:00
Vankka
7457fd90d0
Various improvements to 1st party Discord API 2022-01-13 19:02:25 +02:00
Vankka
0c9732fe11
Add message mirroring 2022-01-13 19:00:24 +02:00
Vankka
9fe73aa571
Add threads 2022-01-13 18:53:43 +02:00
Vankka
0e73f80d40
Join, leave, server switch messages. Fixed dependency logging, added config option ordering annotation, fixed some issues with translation/configuration 2021-12-24 01:21:14 +02:00
Vankka
9ffce74061
Change common listeners to a module system, update to JDA5, fix typos, simplify 1st party api, improved the way mentions are translated between Minecraft and Discord 2021-12-20 01:03:38 +02:00
Vankka
e7d93a4176
Add default value for user not having any roles 2021-10-23 02:20:15 +03:00
Vankka
f35d8d67ee
Placeholder service improvements, or placeholders. Buildscript fixes/improvements related to testing/dependencydownload 2021-10-21 02:16:06 +03:00
Vankka
b2a970d8c6
Add some unit tests, fix/improve a few things 2021-10-19 23:58:47 +03:00
Vankka
86da2f7a16
Buildscript improvements 2021-10-19 23:17:30 +03:00
Vankka
a00b6b9b60
Regex filters 2021-10-19 21:01:23 +03:00
Vankka
a1b11c973c
Avatar urls, ignoring users/roles/bots/webhooks, changed config option naming scheme 2021-10-19 01:33:20 +03:00
Vankka
8accdbbdcd
More work on Discord -> Minecraft messages 2021-10-18 02:35:53 +03:00
Vankka
419391ddbb
Added Color for headless jres, switched a bunch of Nullables to optionals in the api, added more placeholders for Discord -> Minecraft messages 2021-10-17 01:01:59 +03:00
Vankka
ebfefde8d8
Don't process messages sent by our own bot or webhook for Minecraft processing 2021-09-14 22:19:05 +03:00
Vankka
3b1fd58043
Add escaping content for sending to Discord, adventure updated 2021-09-13 22:59:56 +03:00
Vankka
4f6ee80a53
Convert Discord ids to longs 2021-09-07 21:57:55 +03:00
Vankka
627b538456
Initial Discord -> Minecraft message functionality 2021-09-01 00:01:50 +03:00
Vankka
a8cce7cf8d
Improve docs, change game chat events a bit, add in large errors for certain things going wrong with the Discord connection 2021-08-26 20:07:16 +03:00
Vankka
ff8385dfda
More progress on placeholders & Minecraft -> Discord chat 2021-08-14 21:16:32 +03:00
Vankka
7d14a92158
Placeholder service, misc bug fixes & improvements 2021-08-04 22:58:50 +03:00
Vankka
2c3031dc75
Beginning of serializing Discord messages in the config 2021-07-31 03:11:19 +03:00
Vankka
c76e0c2c3b
More work on first part api & added a bunch of nullability annotations 2021-07-31 01:21:23 +03:00
Vankka
8e815e8ce9
Missed this in the commit 2021-07-30 02:53:33 +03:00
Vankka
1707074410
More progress on the first party api parts 2021-07-30 02:53:17 +03:00
Vankka
b149acb36f
Fixes & improvements 2021-07-29 16:15:21 +03:00
Vankka
7a541b5c02
Fix the api annotation processor's package 2021-07-29 04:29:18 +03:00
Vankka
9d26da6b4a
Initial commit 2021-07-29 04:14:29 +03:00