Giter Club home page Giter Club logo

officer-beepsky's Introduction

Build Status

Officer-Beepsky is a Discord bot made using:

Building

To build you need JDK 8+,RedHat's OpenJDK or Oracle's JDK should both work fine, however OpenJDK is what I will be using and what is used for Semaphore Builds. Optionally you may also want to install Intellij IDEA Community.

The easiest way to build is using ./gradlew fatJar in either PowerShell (Windows), or in the terminal (Linux/Mac).

You could alternatively use Intellij and select fatJar from Gradle Tasks->Other->fatJar, and once you've done this step you can simply build by pressing the green run arrow at the top.

The build name is fatJar because well, the jar is 'fat'. Which means all dependencies will be packed into it in order to make it easily portable.

Running

You can run it from the terminal/PowerShell by typing java -jar Officer-Beepsky-x.x.x.jar <Discord token> <Owner ID>.

Build, run, and update script

Optionally you can use the following script to build, run, and update the bot when needed.

Linux/Mac:

curl https://raw.githubusercontent.com/CorruptComputer/Officer-Beepsky/master/run.sh -o run.sh
bash run.sh

Windows: (PowerShell)

Invoke-WebRequest https://raw.githubusercontent.com/CorruptComputer/Officer-Beepsky/master/run.ps1 -OutFile run.ps1
./run.ps1

And when its time to update just private message the bot restart and it will update and restart! WARNING: The restart command will only shut it down if you do not use the script.

Contributing

This project follows the Google Java Style Guide. You can add the style to your Intellij by using this and this guide.

You can check if your code is good by using the checkstyleMain gradle task:

./gradlew checkstyleMain

The generated JavaDocs can be found here.

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.