Learning how to make a discord bot :) This is a Legends of Runeterra Discord bot. There is currently a typo with how Riot named their region image, its spelled "zuan" when its supposed to be "zaun".
To be honest, I'm not 100% sure how to set this bot up from scratch, I personally followed An Idiot's Guide to setup the Bot's account on Discord and code it. Walking through the initial setup, and then downloading this bot should work.
- Getting card info
- Getting keyword info
- Getting full card art
- Basic API info (local player current match, last match, deck)
- token: bot's auth token
- prefix: the prefix for bot commands (ie "!" if the commands are "!cardname zed")
- ownerID: your discord id
- corepackageurl: "https://dd.b.pvp.net/datadragon-core-en_us.zip"
- setbundlefullurl: "https://dd.b.pvp.net/datadragon-set1-en_us.zip"
- globals: "./data/core-en-us/en_us/data/globals-en_us.json"
- regionIcons: "./data/core-en-us/en_us/img/regions/"
- set: "./data/set-full/en_us/data/set1-en_us.json"
- cardArt: "./data/set-full/en_us/img/cards/"
Example:
LoR-Bot isn’t endorsed by Riot Games and doesn’t reflect the views or opinions of Riot Games or anyone officially involved in producing or managing League of Legends. League of Legends and Riot Games are trademarks or registered trademarks of Riot Games, Inc. League of Legends © Riot Games, Inc.