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 = {}