mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 21:00:03 +00:00
Reformulation of bot structure
This commit is contained in:
parent
4b9ed6d2c0
commit
2f65126319
@ -1,7 +1,7 @@
|
|||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
const blocklistPath = path.join(__dirname, '../blocklist.txt');
|
const blocklistPath = path.join(__dirname, 'blocklist.txt');
|
||||||
|
|
||||||
let blocklist = [];
|
let blocklist = [];
|
||||||
|
|
@ -5,7 +5,7 @@
|
|||||||
"main": "src/main.js",
|
"main": "src/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"WARN: no test specified\" && exit 1",
|
"test": "echo \"WARN: no test specified\" && exit 1",
|
||||||
"start": "node --env-file=config.env src/main.js"
|
"start": "node --env-file=config.env main.js"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user