Funny Discord Bot Written in Java with the Help of the JDA - Java Discord API.
Take a look at the source code if you need something for your own bot :) Note: Music commands ain't working on Raspberry Pi.
For self-hosting follow the steps below. i know it is confusing. might update later idk.
- Make a new App on the Discord dev portal (Google it), make it a bot and invite it with admin privileges to your server. Or Invite the bot through this link: https://s.reisminer.xyz/bot
- Yoink this Repo via clone. In IntelliJ you can just create a new project from Version Control to do so. The IDE will then create a Gradle Project and download all the libraries used.
- Make a Token.java with following fields: TOKEN, prefix, sendreacts, shutImg.
- If you got a Database to store all your userdefined commands add DBurl, DBusername and DBpassword too. If you got no databse then good luck removing all that stuff. Basically its just deleting the DB package in commands and then you'll see all the errors :)
- Create a Token.java file and put there some constants like db credentials and log channel. Will put a list with stuff here soon.
- Try starting the Bot :)
Note: Some stuff is hardcoded and you might want to adjust this stuff. But be warned: This code is NOT documented!
Not my beer. Google is your friend :)