The Activity is now the full bug.tv site plus a small Discord overlay. Whoever starts the instance hosts and controls everything; everyone else mirrors the host's page and playback. The server is a relay keyed by activity instance and checks membership through Discord's activity-instances API, so it works in DM and group calls. The bot gateway, slash commands and control message are gone.
8 lines
173 B
JSON
8 lines
173 B
JSON
{
|
|
"port": 8791,
|
|
"applicationId": "YOUR_APPLICATION_ID",
|
|
"tokenFile": "/path/to/bot-token",
|
|
"clientSecretFile": "/path/to/client-secret",
|
|
"activityDir": "./site"
|
|
}
|