From 3e0c8ab998b39735f4a8f276073a2b83980d933b Mon Sep 17 00:00:00 2001 From: Lucas Jeffrey Date: Fri, 30 Jan 2026 17:25:32 -0300 Subject: [PATCH] Added a /ping command to check if bot is active at the moment (#729) --- bot/start.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bot/start.ts b/bot/start.ts index 34ca46d4..59b77cde 100644 --- a/bot/start.ts +++ b/bot/start.ts @@ -251,6 +251,14 @@ const initialize = ( } }); + bot.command('ping', async (ctx: MainContext) => { + try { + await ctx.reply('pong'); + } catch (error) { + logger.error(error); + } + }); + bot.command( 'maintenance', superAdminMiddleware,