/bot

A polished discord bot for the Off the Dial discord server.

Primary LanguagePythonMIT LicenseMIT

offthedialbot

A polished bot for the Off the Dial discord server.

License Stars CI

Banner

This bot was created to help organize Off The Dial's tournaments easier and faster. It includes many commands that automate previously manual tasks. Another reason was the lack of a tournament managing discord bot in general. This bot also gets realtime data from smash.gg's API.

  • Realtime data using smash.gg's GraphQL API!
  • Unique, polished UI for discord commands!

Usage

Usage

Contributing

  1. Fork the repository and clone it.
  2. Make a new branch to submit your pull request from.

Running locally

  1. Create a config.yml in the repository root:
    token: XlcL5cwQ...haJQLQ5G
    smashgg: 7e5073d2c...f61fbea
    debug (optional): true
    
  2. Go to a Firebase > Project settings > Service accounts > Generate new private key.
    • Rename the file to service_account.json and move it into the repository root directory.
  3. Run docker-compose up --build in the repository root.

Adding new maps

  1. Go to https://github.com/offthedial/bot/blob/master/offthedialbot/commands/to/maplist.py#L80
  2. Add the new map names to the list, in the correct order

Support the Project

This service is partly run using Digital Ocean. If you're planning to use Digital Ocean in the future, we would greatly appricate if you could use our referal button as it will support us with the finacial cost of running the bot. Thank you so much!

DigitalOcean Referral Badge


Contact me · @LeptoFlare · lepto.tech

As always, distributed under the MIT license. See LICENSE for more information.

https://github.com/offthedial/bot