d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > What Are The Differences?
Add Reply New Topic New Poll
Member
Posts: 31,397
Joined: Mar 25 2009
Gold: 99.00
Nov 7 2021 06:20pm
Between javacord, JDA, and spring?
I've seen i can write a java discord bot with either of these 3... wondering what are the differences between them, so i can decide which i wanna use? Ty
Member
Posts: 31,397
Joined: Mar 25 2009
Gold: 99.00
Nov 7 2021 08:02pm
also, Is there a way with JDA to quote random lines from a text file into a discord channel?
Well, this is one option, the other is to specifiy a bible book name + chapter + verse #
The latter would be ideal, but seems a lot more work
and the entire bible would be in a text file either way


OR

to fetch scripture verses from an online website? with JDA for discord bot

This post was edited by ferf on Nov 7 2021 08:03pm
Member
Posts: 1,894
Joined: Sep 11 2011
Gold: 19,615.00
Nov 8 2021 04:38am
Never written a discord bot, but I would go with a library made expressly for that purpose (ie javacord or JDA). Using (and learning!) Spring to write a discord bot seems like extreme overkill.
Member
Posts: 4,689
Joined: May 30 2021
Gold: 4.00
Nov 8 2021 06:42am
JDA is literally a Java wrapper of Discord’s REST API. So if you want to utilize the REST API in Java, this is the route.

Javacord I have not touched, but the library seems pretty intuitive.

You could use Spring if you’re productive in it and are comfortable with the REST API offerings, but you’ll most likely end up reinventing your own Discord REST API wrapper, aka JDA.

I would always judge it by popularity and documentation, because popularity generally will yield continued release and community support, and good documentation for obvious reasons.
Member
Posts: 31,397
Joined: Mar 25 2009
Gold: 99.00
Nov 8 2021 10:57am
thanks guys
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll