/discord-bot-wow-helper-old

Discord bot focused around World of Warcraft game

Primary LanguagePythonMIT LicenseMIT

discord-bot-wow-helper

Discord bot based on discord.py written in Python.

Technology I have used:

  • discord.py for easier and better usage of Discord API
  • python-blizzardapi for fetching Blizzard data
  • aiohttp for asynchronous requests
  • pytest for testing

Commands

  • ?ping - Pong?
  • ?log - Return a list of fights with link to each fight, boss health percentage and fight duration
  • ?character - [region] - Get simple data about a given character and with links to some popular
  • ?affixes [week] - Check for current/future/previous or any other given week affixes
  • ?token - Check the current price of WoW token

Screenshots

?affixes

?affixes [optional week]

?character <character name>-<realm> [optional region]

?log <link to logs>

?token

Installation

If you want to use this bot locally for yourself

  1. First clone the repository:

    $ git clone https://github.com/syqu22/discord-bot-wow-helper.git
  2. Then install all required libraries through:

    $ pip install -r requirements.txt

Remember to put in environment keys, first change the file name of .env.sample to .env then fill it with required keys. DISCORD_TOKEN is the most important one, without it your bot won't start.

There's also a possibility to build container using Docker, simply type:

$ docker-compose -f "docker-compose.yml" up -d --build