Skip to content

Pepijn98/Lilith

Repository files navigation

Lilith

Diablo 3 discord bot
Click here to invite the bot

TODO (Add Later)

  • Create DiabloError class and return errors thrown by Diablo#getHero etc. as a response.
  • request items
  • character class/skills
  • request season/era leaderboards

Completed

  • migrate to slash commands
  • switch to typescript
  • command handler
  • set battle.net account name
  • set region
  • request specific hero from account
  • request account
  • changable prefix per guild

Commands

[] - optional parameters
<> - required parameters

name parameters description completed
tag [battle-tag] set battle.net account name yes
region [region] set your region yes
locale [locale] set the locale (setting locale will only change the requested data from the api and not the bot its self) yes
account [<region> <battle-tag>] get your account details yes
hero [<region> <battle-tag>] get a specific hero yes
heroes [class] [<region> <battle-tag>] get a list of all your heroes yes
setup setup your account by specifying your battle tag, region and locale.
This is an interactive command and does not require any arguments
yes

Regions and their corresponding locale(s)

region Acronym host locales
America us https://us.api.blizzard.com/ en_US
es_MX
pt_BR
Europe eu https://eu.api.blizzard.com/ en_GB
es_ES
fr_FR
ru_RU
de_DE
pt_PT
it_IT
Korea kr https://kr.api.blizzard.com/ ko_KR
Taiwan tw https://tw.api.blizzard.com/ zh_TW
China cn https://gateway.battlenet.com.cn/ zh_CN

Links

Thank you to eris for the awesome discord api library and slash-create for making migrating to slash commands super easy!
Check out my website: vdbroek.dev
discord