We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 442bdfd commit 3ec76cfCopy full SHA for 3ec76cf
1 file changed
bot/chronos_bot.py
@@ -27,7 +27,10 @@
27
from apscheduler.triggers.date import DateTrigger
28
29
# ── CONFIG — edit these two lines ─────────────────────────────────────────
30
-BOT_TOKEN = "YOUR_BOT_TOKEN_HERE"
+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"
34
TIMEZONE = "Asia/Makassar" # Bali = WITA (UTC+8)
35
# ──────────────────────────────────────────────────────────────────────────
36
0 commit comments