A Discord bot that queries the rank of a player on Minehut using the Mojang API and the Minehut API. Supports slash commands. Written in Python using the nextcord library.
/rank
- Check a player's Minehut rank.
/rank_private
- Check a player's Minehut rank privately.
Click here to invite the bot to your server.
- Clone this repository
git clone https://github.com/dinunuggets/Minehut-rank-lookup.git
- Install the dependencies
python3 -m pip install -U nextcord
python3 -m pip install -U requests
-
Create a Discord bot and copy the token.
-
Replace
bot.run("DISCORDTOKEN")
at bot.py on the last line with your real bot token -
Start the Bot
python3 bot.py
- Invite your Bot here: https://discordapi.com/permissions.html