This bot sends a message to a Discord channel when someone connects or disconnects to Hypixel. This bot waits 5 seconds between cycles. If you have more than 10 players in your player_dict
, you'll start running into Hypixel API trouble, since you can't make more than 120 requests per minute.
You'll need to install the PyPixel package from here.
You'll need to create a Discord bot. Be sure to put all the relevant secrets in secrets.py
. Set the channel in line 29 of api_manager.py
.
Oh, alright. My suggestions are:
Adding commands to easily edit which players you want to track; making it easier to change things. Also adding it so you can get notified when a player plays a certain game. have it track a specific game. I would try to implement these things by myself but i’m not familiar with python yet.