项目作者: Excaliburns

项目描述 :
Discord bot written for the Esports at Florida State Discord. Open for use for other collegiate Esports discords.
高级语言: Java
项目地址: git://github.com/Excaliburns/NoleBot.git
创建时间: 2019-02-14T20:28:02Z
项目社区:https://github.com/Excaliburns/NoleBot

开源协议:

下载


Discord

NoleBot

NoleBot is a Discord bot written for the Esports at Florida State Discord, written in Java using JDA.

Functionality

  • Level based permission system
    • Allows for hierarchical role assignment with verification further than what discord allows.
  • LFG Command
    • Automatic Voice + Chat Channel creation along with notification of a queue being filled with players.
  • Student Verification
    • Student verification - Allows for role assignment based on Google Sheets cells.
  • that’s it for now..
    • Coming soon: game integration specific to FSU, and other student-driven features.

If you would like custom functionality added: Please contact tut#0001 on Discord, or open an issue on GitHub.

Setup

Setting up the bot can be done two ways:


Gradle

Clone the git repo and build with gradle.

gradle clean build
or
./gradlew clean build

You will have to run the bot from the command line at least once to generate config.properties.

Navigate to the directory with the bot jar and run the command java -jar [botjar].jar.

You can also make the file yourself. Navigate to the directory that contains the bot jar, and make a subdirectory called data, and another inside called config. Make the file as such:

data/config/config.properties

  1. token=


Release

Download the most recent release, at the top of the page here.
There are two files, a .jar, and config.properties.


After Downloading

First, get your bot token from discord. You can follow this guide to creating a bot user and getting a token.

Navigate to where the bot jar is and open data/config/config.properties. In the line that shows token=, paste your token as such.

token=YOURTOKENHERE

After inputting your token, you must then run the bot from the command line.
Open the same directory as the bot is in and run the command java -jar [botjar].jar

Congrats! Your bot is now running. See the Wiki for more information about what to do now.

Dependencies

NoleBot requires at least Java 8 to run.

CI/CD Process

  • GitHub web hook pushes to Jenkins on EC2
  • Jenkins builds using gradle
  • Moves the jar to prod ec2
  • Runs it remotely using nohup