From 487799b12a1546305cc6cfc45191e20e8c80f986 Mon Sep 17 00:00:00 2001 From: Degradin Date: Fri, 27 Dec 2024 01:20:08 +0300 Subject: [PATCH] Update bot.js --- bot.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bot.js b/bot.js index e9cec3a..e394de7 100644 --- a/bot.js +++ b/bot.js @@ -1201,7 +1201,7 @@ setInterval(resourceTransportation, 60 * 60 * 1000); bot.command('force_prod', async (ctx) => { - resourceProduction() + resourceProduction() return await ctx.reply(`Принудительно добыто.`) }) @@ -1210,6 +1210,12 @@ bot.command('force_transport', async (ctx) => { return await ctx.reply(`Принудительно перевезено.`) }) +bot.command('force_hour', async (ctx) => { + resourceProduction() + resourceTransportation() + return await ctx.reply(`Принудительный час.`) +}) + /////////////////////////////////////Enterprise Update end////////////////////////////////////////////////// /////////////////////////////////////Admin Commands//////////////////////////////////////////////////