diff --git a/bot.js b/bot.js index 998b15b..6cea31f 100644 --- a/bot.js +++ b/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); diff --git a/package.json b/package.json index 6798a5d..8598804 100644 --- a/package.json +++ b/package.json @@ -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",