tdietrich513 / hots-info-bot

Discord chatbot for helpfully providing Heroes of the Storm skill and talent information in chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

HOTS Info Bot

Discord chatbot for helpfully providing Heroes of the Storm skill and talent information in chat

Adding the bot to your server

If you're running a discord server, you should be able to add the bot by going here and doing the needful.

Usage

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.

Talent or Skill Searches

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]].

Hero Overview

Display a Hero's skills and get a link to popular builds by searching for the hero's exact name.

For Example: [[Sgt. Hammer]]

Hero Talent Tier Searches

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]].

Winrate, Pickrate, and Banrate

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]]

Player Search

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.

Help Command

Type ##help and you'll get a PM with a brief overview of each command.

Notes:

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.

Set up for development

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.

About

Discord chatbot for helpfully providing Heroes of the Storm skill and talent information in chat


Languages

Language:TypeScript 100.0%