-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Welcome to RexCord's wiki page. In here you should find useful documentation, as well as instructions on how to install and contribute to RexCord.
RexCord is a Discord Bot, written in Java, that uses the popular interface Discord4J by austinv11. It is inspired by the well known Just-Some-Bots's Music Bot hence it's name, RexCord.
-
Make sure you have Java and Maven installed in your local machine. (How to install Maven on Windows)
-
Install Git
-
Clone the repository. It should look something like this:
-
Next, run the install.sh file in the folder to install all maven's required dependencies. If you're confortable with your machine's terminal and maven, instead of executing the shell script file, you can run
mvn install clean package
. Your console output should print a Build Success message at this point. Close the terminal window that was opened. -
Go to the config folder, and you should find an example_config.cfg file. Create another copy of this file and name it exactly to: config.cfg
-
Create a bot user for your server
-
Open config.cfg and find the token parameter in the Authentication section. It should look like this:
# Bot Token (insert your bot's token after the '=' sign)
token =
- Copy your bots token and paste it after the
=
found above
# Bot Token (insert your bot's token after the '=' sign)
token = exampletokenhere4324783273928
-
At this point, you should find a target folder in your repo. Open it to reveal the jar file that was generated. This is the file you should execute to run the bot. To make things easier, go back to the root directory of the repository and run the run.sh file. Again, you can instead run
java -jar target/rexcord-1.0.0.jar
on your console/terminal to fire up the bot. -
If you didn't get any errors, your bot should be logged in and fully operational now. Try typing
//greet
and RexCord should greet you back.
If you need help setting up your bot, feel free to join RexCord's Official Discord Server!