A discord bot that utilizes the Liquipedia API for submission into the Team Liquid Hackathon 2.0.
Discord invite link (Temporary membership--You will be automatically kicked once disconnected, but this invite link does not expire.)
Note: If the bot is not online, feel free to message me (mechocreamy#8076) on discord to activate the bot.
What is it
Why make it
Drawbacks and future improvements
Installation
Special Thanks
The MCY-bot is a Discord bot that queries the Liquipedia API and returns information about a user-requested player from a specific wiki. The bot uses the discord-py-slash-command
module which allows users to use the bot via slash commands such as /MCY-help
or /MCY-getplayer
.
Current available commands:
/MCY-help
/MCY-wiki
/MCY-getplayer <wiki> <player>
I have never successfully created and deployed a Discord bot and LiquidHacks 2.0 provided an excellent opportunity to explore and learn some new skills.
While googling a player on liquipedia is likely to be very quick, being able to do a quick slash command and displaying in the channel a player's short bio and socials may be helpful in a community setting.
- The bot is optimized mostly for League of Legends, Dota2, and Brood War queries, so querying other wikis will likely make strange contextual mistakes.
- Make it easier for the user to search for players. It requires the user to be very exact with the player's liquipedia page name.
- Add randomizer
- Remove embeds as the bot response can be very bulky
- Add a cooldown to reduce frequency of API querying
Marvin -- for his talk on creating and deploying a discord bot, and also an SAP BTP trial account
Discord bot tutorial -- Marvin's repository. Referenced and borrowed some code here for app.config.py
and app.bot.py
LiquidHacks 2.0 Team Liquid's Hackathon event
Liquipedia The best website for esports information!
Liquipedia API
SAP Business Technology Platform
Discord Slash Commands Module documentation used for slash commands
Discord Developers Documentation Documentation on Discord API