Skip to content

Installing

Tristan Miller edited this page Jun 6, 2020 · 6 revisions

Latest Release

First off you need the latest java version.

Download the latest release here

Extract the Zip and run the provided batch or shell file depending on your system.

Setup

Upon running, it will ask for a bots login token, you can create a discord bot here.

Afterwards, create a new application and click on the bot tab on the left side, and add a bot.

Once a new bot has been created, on the bot tab reveal and copy the token, and paste that into the console.

Now, the bot is asking for your user ID. Go into your discord settings->appearance and enable developer mode in that menu.

Join a voice channel, or send a message in a text channel, then right click your name and copy id, this id is the unique identifier for your discord account.

To create an invite for a bot, try using this guide!

Channels

For the pug bot, 1 text channel and 4 voice channels are required.

The text channel will be where all messages from the bot are sent, which will be the queue channel.

The voice channels include:

  • Lobby - Where the players of a game will be dumped after the game has finished
  • Sorting - Where the players of a game that started go to be put into their team's channel
  • Team 1 - self explanatory
  • Team 2 - self explanatory

Help

The bot has a help command, simply type your prefix with help after, it will send a private message containing all commands that you have access to. You can also join my discord, and ask for help there as well.

Building

Project was built on maven. I have just been using my IDE (Intellij) to compile for me but I am sure the maven wizards will figure it out.

After building the project, run the Jar like a normal jar. First time configuration will all be done through command prompt, supply the information into that. If any of the information is incorrect, it can be corrected in the botCFG.properties file.

After setting up the server side of the bot, add it to your server with admin privileges. A message should appear in the default channel mentioning some hello information and how to start setting up the bot. Have your discord in developer mode. To get an id for a role, type in chat @Role, then copy the numbers in the chat.

Clone this wiki locally