Giter Club home page Giter Club logo

happybot's Introduction

happybot Travis JavaDocs Jenkins Download Codacy grade

A multi-purpose, feature-full, and powerful, highly guild-specific, Discord Bot written in Java.

Features

This bot has lots of cool & random features; Here are some:

  • Custom Command Implementation of a Command Implementation
  • YouTube Upload Monitor - Easy Channel Adding
  • Random Reddit Post Grabber - Easy Subreddit Adder
  • League of Legends Summoner Info Grabber
  • Twitter Tweet Monitor
  • Gamble/Economy/Shop System
  • Reporting System
  • Warning System
  • Staff Management
  • Moderation Commands
  • AutoMod
  • Message "Gilding"/"Staring"
  • Message Submissions Pin-er
  • Random Welcome Message System
  • Custom Server Themes using discord-themer - File-based system to make themes easy
  • Custom Logger
  • Update System - Custom boot script allows for reliable jarfile updating

Setup

This bot is made to work with one server, as we depend on very specific roles/channels and their respective ids. If you still would like to use this bot, despite you needing to basically copy exactly how happyheart's guild looks and works follow these steps:

  • Pretty much change all of the util package. This is where most of the ids are exposed, especially the Roles class. If you enjoy stack traces but also enjoy basic function, I suggest you inspect and change the classes: Constants and Roles for any exposed ids and replace them for your own use case. The bot will still not work 100% but will at least run and not break.
  • Run the bot once, and allow for its files to be created and follow the configuration section below.
  • Restart the bot and watch as it creates many stack traces in your console.

Some things may not still work such as the gamble system, as the create table statement is not provided with this code, that may change in the future but that's how it is now.

Configuration

All of the config options are stored inside of a yml file called: "setting.yml" All the settings in there must be set if you want the bot to load. The options will generate on the bot's first run.

Building

To make sure all of our dependencies get included in our jar files, we use @johnrengelman's shadow plugin for gradle. Here are the commands you would use to build this yourself:

  • Windows: gradlew.bat shawdowJar
  • Linux/Mac (Any UNIX-Based OS): ./gradlew shadowJar

forthebadge

happybot's People

Contributors

jroy avatar okx-code avatar unreasonablepickle90 avatar techno-coder avatar rogercronin avatar bumbleblake 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.