Skip to content

Commit 9555645

Browse files
committed
chore: add config
1 parent 9d0a6a2 commit 9555645

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

config.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
notifications:
2+
- type: telegram
3+
token: "${TELEGRAM_BOT_TOKEN}"
4+
alertsChannel: "${TELEGRAM_ALERTS_CHANNEL}"
5+
notificationsChannel: "${TELEGRAM_NOTIFICATIONS_CHANNEL}"
6+
- curator: "kpk"
7+
type: telegram
8+
token: "${TELEGRAM_BOT_TOKEN}"
9+
alertsChannel: "${TELEGRAM_ALERTS_CHANNEL}"
10+
notificationsChannel: "${TELEGRAM_NOTIFICATIONS_CHANNEL}"
11+
prefix: "[KPK]"
12+
- curator: "Invariant Group"
13+
type: telegram
14+
token: "${TELEGRAM_BOT_TOKEN}"
15+
alertsChannel: "${TELEGRAM_ALERTS_CHANNEL}"
16+
notificationsChannel: "${TELEGRAM_NOTIFICATIONS_CHANNEL}"
17+
prefix: "[Invariant Group]"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"clean": "rm -rf build",
1010
"build": "node esbuild.config.mjs",
11-
"start": "tsx --env-file .env src/index.ts | pino-pretty --colorize",
11+
"start": "tsx --env-file .env src/index.ts --config config.yaml | pino-pretty --colorize",
1212
"prepare": "husky",
1313
"check": "biome check --write",
1414
"check:ci": "biome check",

0 commit comments

Comments
 (0)