Skip to content

Commit 3ec76cf

Browse files
Update chronos_bot.py
1 parent 442bdfd commit 3ec76cf

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

bot/chronos_bot.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@
2727
from apscheduler.triggers.date import DateTrigger
2828

2929
# ── CONFIG — edit these two lines ─────────────────────────────────────────
30-
BOT_TOKEN = "YOUR_BOT_TOKEN_HERE"
30+
import os
31+
BOT_TOKEN = os.environ.get("BOT_TOKEN", "")
32+
# or switch the two lines above for this line below (if self hosted):
33+
# BOT_TOKEN = "YOUR_BOT_TOKEN_HERE"
3134
TIMEZONE = "Asia/Makassar" # Bali = WITA (UTC+8)
3235
# ──────────────────────────────────────────────────────────────────────────
3336

0 commit comments

Comments
 (0)