Initial Beetlejuice Discord bot

This commit is contained in:
MrDevBot
2026-09-01 17:51:15 +10:00
commit 76d2c8e6a0
8 changed files with 238 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
# Beetlejuice
Native-AOT C# Discord bot. Not deployed.
Commands:
- `/status`
- `/players`
- `/restart`
Manual restart requires zero players and a 10-minute in-memory cooldown. Automatic restarts run every six hours with 10, 5, and 1 minute Discord/in-game warnings.
The bot uses environment-provided Discord and 64-character RCON credentials. RCON is used for `players`, `servermsg`, and `quit`; Docker `restart: unless-stopped` starts the server again.
```bash
dotnet publish src/Beetlejuice.csproj -c Release -r linux-x64 --self-contained true
```