GithubHelp home page GithubHelp logo

chemputer / minimap_renderer_bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wows-builder-team/minimap_renderer_bot

0.0 0.0 0.0 27 KB

A Discord bot wrapper for Minimap Renderer

License: GNU Affero General Public License v3.0

Python 100.00%

minimap_renderer_bot's Introduction

Minimap Renderer Bot

A Simple Discord bot wrapper for Minimap Renderer.

enter image description here

Installation

  1. Get Python 3.10 or higher

A virtual environment can be created with python3.10 -m venv venv.

  1. Clone the repository
git clone https://github.com/WoWs-Builder-Team/minimap_renderer_bot.git
  1. Install dependencies Depending on preferences, once you've entereted the minimap_renderer_bot directory you would activate the virtual environment.
cd minimap_renderer_bot
pip install git+https://github.com/WoWs-Builder-Team/minimap_renderer.git@develop
pip install -U -r requirements.txt
  1. Create a .env file. (Important)
DISCORD_TOKEN=YOUR_DISCORD_BOT_TOKEN
REDIS_HOST=YOUR_REDIS_HOST
REDIS_PORT=YOUR_REDIS_PORT
REDIS_USERNAME=YOUR_REDIS_USERNAME
REDIS_PASSWORD=YOUR_REDIS_PASSWORD
COOLDOWN_TIMER=60
CD_EXEMPT_USERS='[""]'

The final two are related to the cooldown each user gets between /render commmands, and a list of users you would like to be exempt from the cooldown altogether, using their Discord User IDs.

Usage

To start the bot

main.py -r bot

To start the renderer worker

main.py -r worker

License

This project is licensed under the GNU AGPLv3 License.

Credits and Links

  • This project is maintained by @notyourfather#7816 and @Trackpad#1234.

  • However, it would not have been possible without Monstrofil's replays_unpack!

  • Another Discord bot wrapper is available here.

minimap_renderer_bot's People

Contributors

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