This bot sends alerts on Discord about the status of a server, indicating when it goes online or offline.
To customize your alerts, use the config.ini file. You can modify the following properties:
- Server Name: Specify the name of your private EO server.
- Server IP: Enter the IP address of your server.
- Server Port: Define the port number your server uses.
- Server Logo: Choose a logo, either from your EO server or Discord server.
- Discord Role: Set the Discord role for pinging members. Default is
@here. For custom roles:- Enable Developer Mode:
Discord Settings > Advanced > Developer Mode. - On your server's Member Side Panel, left-click a member.
- Right-click one of their roles.
- Select
Copy Role ID. - Replace
@hereinconfig.iniwith<&ROLEID>(e.g.,<&123456789>).
- Enable Developer Mode:
- Online Title: Title for online status alerts (e.g.,
Server Online). - Online Message: Message for online status (e.g.,
Server is currently online). - Offline Title: Title for offline status alerts (e.g.,
Server Offline). - Offline Message: Message for offline status (e.g.,
Server is currently offline). - Webhook URL: Your Discord webhook URL for sending alerts.
- Footer: Custom footer text for alerts (e.g.,
Provided by Vexx). - Timer: Interval in seconds for status checks (default is 30 seconds).
To set up a Discord webhook:
- Navigate to
Server Settings > Integrations > Webhooks. - Create a new webhook, name it, select a posting channel, and set an image/logo.
- Click
Copy Webhookand paste the URL intoconfig.iniafterWEBHOOK = https://your-discord-webhook.com.
The bot is built with Python 3.12.1. Install the required packages using pip:
pip install configparser
pip install requests==2.6.0

