Skip to content
Pedro Portela edited this page Oct 18, 2017 · 9 revisions

RexCord

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.


About 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.


Installing RexCord

  1. Make sure you have Java and Maven installed in your local machine. (How to install Maven on Windows)

  2. Install Git

  3. Clone the repository. It should look something like this:

Current directory as of 0.2.1

  1. 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.

  2. 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

  1. Create a bot user for your server

  2. 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 =
  1. Copy your bots token and paste it after the = found above
# Bot Token (insert your bot's token after the '=' sign)
token = exampletokenhere4324783273928
  1. 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.

  2. 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.


Help

If you need help setting up your bot, feel free to join RexCord's Official Discord Server!


Clone this wiki locally