Giter Site home page Giter Site logo

questbot-sc2ad's Introduction

Quest bot for sc2ad's quest server

This bot handles the memes functionality of the discord server.

Language/Library

This uses Kotlin as it's sole and primary language, with Javacord as its library.

This makes heavy use of Guice for initializing and injecting dependencies (why not)

Commands

Commands are scanned by the Injector at server startup. Inherit CommandHandler and the rest is done for you

Take a look at PinkCuteCommand as an example

Listeners

Currently, there is only MessageListener. Inherit this class, bootstrapper will find it and inject it.

Building

You can either use the profile configured in the project for Intellij or in the terminal ./gradlew clean build

Dev testing running

Setup token.txt with the bot token and then run using the Intellij run profile or `./gradlew run

Deploying

Deployment assumes usage of the gradle distribution plugin

In other words, using the zips in build/distributions

Deploying with Docker [Hub]

No more Docker Hub free automatic builds ๐Ÿฅฒ

Create a Dockerfile with the following and deploy:

FROM fernthedev/questbot-sc2ad 
COPY ./token.txt "/opt/app/bin/token.txt"

questbot-sc2ad's People

Contributors

fernthedev avatar darknight1050 avatar

Stargazers

Eris avatar

Watchers

James Cloos avatar  avatar  avatar

questbot-sc2ad's Issues

Feature: Request qpm packages

Allow the bot, with a slash command, to request a qpm.shared.json from qpackages.com, this could be the structure of

/package id:codegen version:0.1.0
/package id:beatsaber-hook version:latest

or just in general request a list of qpm packages the same way that qpm-rust list packages works

Analyze tombstone files and/or stacktraces

By uploading a file named tombstone_ or running /analyze. analyze the stacktrace of the file given in the message. Game version and thunks can be assumed by the build id of libil2cpp.

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.