Automatically uploads Counter Strike 2 demos and sends them to a Discord channel via a webhook.
server.cfg
// Discord webhook
dpost_webhook_url "https://discord.com/api/webhooks/..."
dpost_webhook_base_path "https://example.com/demos/" // Should be publically accessible
// Posts demo to https://example.com/demos/<some_demo>.dem
// SFTP configuration
dpost_sftp_host "127.0.0.1"
dpost_sftp_port 21
dpost_sftp_user "root"
dpost_sftp_pass "stopusingroot"
dpost_sftp_dir "/path/to/demos"