This is a simple discord quotes bot I made using JDA and using MongoDB.
/davo - Gets you a random davo quote
/size - Gets you the total size
/find sequence[] output[]- Gets you the amount of times the requested sequence is. And if chosen, will retrun each sequence with output set to true.
/add input[] - This command will only work for the but owner, when the owner's ID is proper put inside the class. It will add the quote requested. Also :lb
can be used to do a linebreak.
There will be a file called .env, this will hold the tokens for your bot to work. Make sure to just set the following varibales to your own.
Put your discord bot's token ID here.
Put your MongoDB cluster username and password here.
You can put your database name here
You can put your collection name here
Make sure to change my ID for your discord user ID here