-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathenv.example
More file actions
38 lines (25 loc) · 1.95 KB
/
Copy pathenv.example
File metadata and controls
38 lines (25 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# ── Discord ───────────────────────────────────────────────────────────────────
DISCORD_BOT_TOKEN=your-discord-bot-token-here
# ── Stoat / Revolt ────────────────────────────────────────────────────────────
STOAT_BOT_TOKEN=your-stoat-bot-token-here
# ── Channel Pairs ─────────────────────────────────────────────────────────────
# Comma-separated lists – must have the same number of entries.
# Each value links one Discord channel to one Stoat channel.
DISCORD_CHANNEL_IDS=your-discord-channel-id, your-other-discord-channel-id
STOAT_CHANNEL_IDS=your-stoat-channel-id, your-other-stoat-channel-id
# ── Bridge Direction (one entry per channel pair) ─────────────────────────────
# Controls which direction each pair forwards messages.
# bi – bidirectional (Discord ↔ Stoat)
# discord – one-way: Discord → Stoat only
# stoat – one-way: Stoat → Discord only
# Must have the same number of entries as DISCORD_CHANNEL_IDS / STOAT_CHANNEL_IDS.
CHANNEL_DIRECTIONS=bi, bi
# ── API Endpoints ─────────────────────────────────────────────────────────────
# Only change these if you are running a self-hosted instance.
# Leave the defaults for the official instance
# REST API base URL
REVOLT_API_URL=https://api.revolt.chat
# WebSocket URL
REVOLT_WS_URL=wss://ws.revolt.chat
# CDN / file server URL (Autumn) – used for avatars and attachments
REVOLT_CDN_URL=https://autumn.revolt.chat