Fix for Module error, and update package.json
This commit is contained in:
parent
7d7678ffff
commit
29efedffc6
2
bot.js
2
bot.js
|
@ -1,7 +1,7 @@
|
|||
const Telegraf = require("telegraf");
|
||||
const { BOT_API_KEY } = process.env;
|
||||
const fs = require("fs").promises;
|
||||
const commands = require("./commands");
|
||||
const commands = require("./command/random");
|
||||
|
||||
const bot = new Telegraf(BOT_API_KEY);
|
||||
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
"description": "A bot to make group chat fun",
|
||||
"main": "bot.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"start": "node bot"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
Loading…
Reference in New Issue