Initial Beetlejuice Discord bot
This commit is contained in:
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user