-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.ts
More file actions
29 lines (26 loc) · 909 Bytes
/
config.ts
File metadata and controls
29 lines (26 loc) · 909 Bytes
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
interface Config {
STATUS_URL: string;
NAME: string;
AVATAR_URL: string;
PUBLISH_MESSAGE: boolean;
PUBLISH_CHANNEL_ID: string;
EXCLUDED_STATUSES: IncidentStatus[];
}
export default Object.freeze<Config>({
////////////////////////////////////////
// Status stuff
////////////////////////////////////////
STATUS_URL: 'https://status.nodejs.org',
////////////////////////////////////////
// Discord stuff
////////////////////////////////////////
NAME: 'Node.js Status',
// Discord bot avatar URL (Make sure to respect trademarks and brand guidelines!)
AVATAR_URL: '',
// If we should try to publish messages to Discord (requires PUBLISH_CHANNEL_ID to be an announcement channel)
PUBLISH_MESSAGE: true,
// Channel ID used for publishing
PUBLISH_CHANNEL_ID: '1353877471497289740',
// Statuses you want excluded from being sent
EXCLUDED_STATUSES: ['maintenance'],
});