Feat: Discord Threads support#6
Conversation
|
for some reason it doesnt work even though config sets uri correctly so eh |
|
it work now :D |
| import java.net.http.HttpResponse; | ||
| import java.text.MessageFormat; | ||
| import java.util.HashMap; | ||
| import java.util.ArrayList; |
There was a problem hiding this comment.
Oops, this is part of another PR
|
Top 10 most entertaining PR's of all time |
|
hello, sorry for sleeping on this project and ignoring my github stuff. life has been busy. first things first, im really thankful for this pr, i didnt even think of threads all this time i have been developing this (almost a year wow). it warms my heart to see people actually give a damn about the stuff i make. second, did you use any gen ai (claude or copilot or any other LLM)? i do not support coding with the use of ai, and i want to keep my projects 100% human made. if ANY ai was used, i would sadly have to reject this pr. anyhow, this is a good pr and a good fix for my oversight 🫶 PS: why is every file in a different commit lmao |
|
hello, didn't notice this comment before, should have been in my e-mail... no I didn't use any LLMs to create this, all code was done by me by looking at your code :D |
|
heyo, thanks for your response! i will most definitely merge this pr as soon as i get home. also, its great knowing my code is not too messy to work with, i may have some bad practices during code formatting and stuff :P if you want to, i can credit you in the modrinth readme and the mod's credits as a contributor (will figure out how to do that, i havent touched that in a loooong time) |
|
If anything the code was easy to understand ! If you wish to do so, you can attribute yea .w. |
|
forgot to squash god damn |
While you can add thread support directly on the webhook by putting in the "?thread_id=" param in the URL, the integrated bot does not recognize it, and only posts on the main channel.
This PR adds thread support for the bot and webhook without touching "?thread_id=" inside config.
Added:
webhook.thread: Boolean = false
webhook.thread.id: String = 01234567890123456789