Discord bot based on discord.py written in Python.
Technology I have used:
discord.py
for easier and better usage of Discord APIpython-blizzardapi
for fetching Blizzard dataaiohttp
for asynchronous requestspytest
for testing
- ?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
?affixes
?affixes [optional week]
?character <character name>-<realm> [optional region]
?log <link to logs>
?token
If you want to use this bot locally for yourself
-
First clone the repository:
$ git clone https://github.com/syqu22/discord-bot-wow-helper.git
-
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