Create a Discord bot with the JDA library to integrate with the Rest API Relay module
Descritpion
Not strictly related to the development of foundryvtt modules, I am looking for someone who has some knowledge of Discord bots, in particular the JDA library (we would prefer not to use Python if possible).
We have already integrated our foundry server with the Rest Api Relay rest connector, Rest Api, which exposes the foundry features with rest services, and we would like to create a discord bot that connects to this rest api for data retrieval and writing.
Doesn't Oronder exist?
Yes, but at the time of writing, Oronder does not have an open-source backend (although the developer has contacted me about this), it works in Python and works directly on LevelDB files instead of going through the Foundry system's JavaScript services, limiting functionality and also leading to risks of data corruption because the calls are not handled directly by the system itself. These problems generally arise if you update the Foundry version and not the module, as has already happened.
So the goal would be to have a Foundry/Discord connection like Oronder does, but open source, using Java code and the JDA library.
1 Reply
Details
Integration is required for version 5 of Dnd5e and 13 of FoundryVTT.
So, to summarize:
– Creation of a Java project (either as a base library or as Spring Boot) with the JDA library integrated to communicate with the exposed REST API.
– It should use the okhttp library already integrated in JDA as a client, but external libraries such as Apache HTTP Client can be used if desired.
– Integration with Rest Api Relay and its services [File rest api postman](https://github.com/ThreeHats/foundryvtt-rest-api-relay/blob/main/Foundry%20REST%20API%20Documentation. postman_collection.json)
Budget
700$ as a starting point, but additional payments may be discuss and added
If anyone would like to contribute to the bounty by adding anything, please write to me privately.
*Depending on the effort, such as features, or cool technical solutions, or bug fixes not explicitly requested will count as "additional", and a small fee for the initiative will be assumed .
If there were problems in completing the commission , (family problems, etc.), but it is shown that some of the code has been developed, a portion of the commission is paid to compensate for the lost time.
Payment methods supported
Kofi, Patreon, Paypal, Stripe or any "non scammer" payment method...
No advance payment, if you can't prove to be a active member. Sorry for this, but there seems to be an increasing number of scammers in the server, but having a good reputation on various servers I think I can call myself an “honest” person.
Timeline
NO timeline NO Rush