An unoffical selfhosted python discord bot for controlling Pihole! You just need to update your PI's IP, Bot Token and API Key in main.py
Here's how you get the API Key: http://<Your Pi's IP>/admin/scripts/pi-hole/php/api_token.php
Commands:
Turns the Pihole on!
Turns the Pihole off!
shows the API Version you are using (not the Pihole Version!)
shows a summary of random statistics
shows the top 10 domains
shows the query types
shows the top Query Sources
shows the forward destinations