Shows player JOIN and DISCONNECT in any assetto corsa server and writes to a discord channel via a webhook.
Table of Contents
Monitor any Assetto Corsa server to check if a player has joined or left the server.
I haven't seen anyone do this yet publicly so here is my code. :D
git clone https://github.com/iiferedon/Assetto-Corsa-Server-Listener-Discord-Webhook-.git
cd /Assetto-Corsa-Server-Listener-Discord-Webhook-/
pip install -r requirements.txt
Below is an example of how you can install this webhook!
- Create a discord webhook
Choose a channel to display messages > edit channel > integrations > webhooks > create webhook > name it anything > copy the webhook URL.
- Edit ACbot.py
webhook = DiscordWebhook(url="WEBHOOK_URL") server_address = "SERVER_IP:SERVER_PORT"
#Start Script
python3 ACbot.py
Ensure script is started before anyone is in the server.
Discord - iiferedon#7337 or iiferedon#1337
Project Link: https://github.com/iiferedon/Assetto-Corsa-Server-Listener-Discord-Webhook-/