Code Monkey home page Code Monkey logo

bitbot's Introduction

BitBot Discord Paypal

BitBot is the open source utility and moderation bot for BitCrackers. Written in Go and made with ❤️.

Getting Started

Disclaimer: This assumes you are planning on running this bot on macOS or Linux.

  1. Install Go and get it properly configured.
    1. This is a great resource for learning how Go works.
 $ go get -u github.com/BitCrackers/BitBot
 $ go install github.com/BitCrackers/BitBot
  1. go install will produce the BitBot binary in $GOPATH/bin. The executable will depend on a handful of environment variables being properly exported, the list of which you can find in the next section.

Environment Variables

BitBot checks for a number of environment variables. The current list is:

  • $BITBOT_TOKEN

TOML Config

In addition to the required environment variables, BitBot has a TOML based config file (config.toml) that is generated on the first run of the bot. None of the values in the config file are required, but taking the time to go through them can expand the functionality of the bot, such as setting up moderation users, muted roles, and more!

Release Candidate 1 Milestones

  • TOML config for extra functionality. (In progress)
  • BITBOT_DEBUG environment variable actually doing something
    • This was moved into the config but still needs work.
  • Moderation commands.
    • Kicking
    • Banning
    • Muting
    • Temp-ban and Temp-mute
  • sqlite3 database integration
  • Moderation logging in channel
  • Parsing messages for common phrases (listed in config.toml probably)
  • Possible: Pull build artifacts for menu every update and send to channel

Contributing

  1. Fork it (https://github.com/BitCrackers/BitBot/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

bitbot's People

Contributors

cfschilham avatar osome1 avatar

Stargazers

 avatar

Watchers

 avatar  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.