From fc9c6d4da2532d64909999af6fa7daf34ac884b2 Mon Sep 17 00:00:00 2001 From: cheetah Date: Thu, 1 Dec 2022 14:04:06 +0100 Subject: [PATCH] hotfix 1234 --- html/index.html | 1 - index.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/html/index.html b/html/index.html index 9b6ae21..8a49208 100644 --- a/html/index.html +++ b/html/index.html @@ -21,7 +21,6 @@ - Bot Settings Notification Configuration diff --git a/index.js b/index.js index c261be8..ed794d7 100644 --- a/index.js +++ b/index.js @@ -6,7 +6,7 @@ const axios = require('axios') const fs = require('fs') const socket = io(new URL(config.pager.url).origin) -const bot = new Telegraf(config.bottoken) +const bot = new Telegraf(config.bottoken || '1234567890:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA') bot.start((ctx) => ctx.reply('Welcome, write me a message')) let assoc = {}