Intended to be called from events channel (the message will be automatically cleaned up)
?event
Follow DM prompts
React on the automatically generated 1️⃣ and 2️⃣ reactions to join / quit a team. Team members generated and inserted on the roster in the message dynamically.
Windows: Make a directory EventBot and within it clone the repo:
mkdir EventBot
cd EventBot
git clone https://github.com/sockheadrps/EventBot.git
Go back up a directory and intialize the startup batch file
cd ..
echo. > run.bat
Paste the following code into run.bat, filling in the "TOKEN=" and "EVENT_CHANNEL="
@echo off
setlocal
set "TOKEN=YOUR_TOKEM"
set "EVENT_CHANNEL=YOUR_EVENT_CHANNEL_ID"
echo Checking for updates
cd EventBot
call git pull
call entrypoint.bat
pause
endlocal
Double click run.bat or
run.bat
git clone https://github.com/sockheadrps/EventBot.git
cd EventBot
linux.sh
#!/bin/bash
export TOKEN="YOUR_TOKEN"
export EVENT_CHANNEL="YOUR_EVENT_CHANNEL_id"
source .venv/bin/activate
python3.11 main.py
Run script
./linux.sh