Giter Club home page Giter Club logo

enginehub-bot's Introduction

EngineHub Bot

EngineHub Bot is the Discord bot to assist in moderating and providing support in the EngineHub Discord.

Downloading

The bot can be downloaded from EngineHub's CI: TeamCity build status

Compiling

The project is written for Java 17 and our build process makes use of Gradle. simply run:

gradlew build

Dependencies are automatically handled by Gradle.

Running

The main class is org.enginehub.discord.EngineHubBot.

The following is an example script, that will automatically update the bot during the automated restart.

#!/bin/bash

while true
do
    wget --timestamping https://ci.enginehub.org/guestAuth/app/rest/builds/buildType:EngineHubBot_EngineHubBotBuild,count:1,branch:master,status:SUCCESS/artifacts/content/EngineHubBot-1.0-SNAPSHOT.jar -O Me4Bot.jar
    java -cp EngineHub-Bot.jar org.enginehub.discord.EngineHubBot
    sleep 10
done

Configuring

Upon initial startup, the program will generate multiple configuration files. The most important setting to modify is token in settings.conf. This should be set to a Discord bot token, obtainable from the Discord website.

Contributing

We happily accept contributions. The best way to do this is to fork the project on GitHub, add your changes, and then submit a pull request. We'll look at it, make comments, and merge it into the project if everything works out.

In addition, please ensure your code is compliant with the Google Java Conventions to keep things neat and readable.

By submitting code, you agree to place to license your code under the GPL License.

enginehub-bot's People

Contributors

me4502 avatar octylfractal avatar joo200 avatar wizjany avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.