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
.