Async functions #172
@@ -23,7 +23,7 @@ const HelpAndStart = [
|
||||
" /download",
|
||||
" Version",
|
||||
" ",
|
||||
]
|
||||
];
|
||||
|
||||
// Set Telegram Bot
|
||||
const bot = new Telegraf(GetTelegramToken());
|
||||
|
2
index.js
2
index.js
@@ -52,7 +52,7 @@ module.exports.api = require("./src/api/api");
|
||||
function token_register(Admin_Scoper = ["web_admin", "admin"]) {
|
||||
Admin_Scoper = Array.from(Admin_Scoper).filter(scoper => /admin/.test(scoper));
|
||||
const bds_token_path = path.join(bds_dir, "bds_tokens.json");
|
||||
let tokens = []
|
||||
let tokens = [];
|
||||
if (fs.existsSync(bds_token_path)) tokens = JSON.parse(fs.readFileSync(bds_token_path, "utf8"));
|
||||
|
||||
// Get UUID
|
||||
|
Reference in New Issue
Block a user