Discord chatbot for helpfully providing Heroes of the Storm skill and talent information in chat
If you're running a discord server, you should be able to add the bot by going here and doing the needful.
Place double square brackets around the search, like so: [[search]]
. The search can be anywhere in a message, and you can even perform more than one search per message.
Search for a talent or skill by surrounding your search with double square brackets.
For example: [[haunting wave]]
.
You can also search for a talent or skill by keywords in the description by prefixing the search with a ?.
For example: [[?chill]]
.
Display a Hero's skills and get a link to popular builds by searching for the hero's exact name.
For Example: [[Sgt. Hammer]]
Display a Hero's talent tier by searching for the hero's name (or part of it) followed by a slash and the tier level.
For example [[Hammer/10]]
.
Display the top 10 winrates, pickrates, and banrates by searching for winrate
, picks
, or bans
, followed by all
or a role (warrior
, support
, assassin
, specialist
).
For example: [[winrate/all]]
or [[bans/warrior]]
Display a player's MMR rating according to hotslogs public API. Search for the player's region and battle tag.
For Example [[us/player#1234]]
.
Supported region prefixes are us
, eu
, kr
, and cn
.
Type ##help
and you'll get a PM with a brief overview of each command.
The bot will only search for the first four items in any given message. If there are too many results for any given search, the bot will attempt to truncate the results to avoid spamming the channel, and if there are way too many results, the bot will send you a direct message with your results.
Please ensure the bot has "Embed Images" permissions to get the best looking results, otherwise it will fall back to text only responses which may not look as nice.
Game information sourced from this repo and will only be as accurate as it is.
After installing all npm packages, create a file named .env
and use it to set a DISCORD_BOT_TOKEN
variable containing a valid discord App Bot User token.