From f8a3e129097dac02b7ae8f3876255c3d61c0b7af317d26c1e96bf96620db977a Mon Sep 17 00:00:00 2001 From: andrea Date: Sat, 26 Jul 2025 22:33:56 +0200 Subject: [PATCH] less logs lines --- bot_libs/special_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot_libs/special_commands.py b/bot_libs/special_commands.py index a51128d..d62bdc3 100644 --- a/bot_libs/special_commands.py +++ b/bot_libs/special_commands.py @@ -43,7 +43,7 @@ async def show_logs(update, context): try: game_log= _os.path.expanduser(f'{_botsyms.BOT_PATH}/battle_royale.log') with open(game_log, 'r') as _log_file: - lines= _log_file.readlines()[-30:] # last 30 lines + lines= _log_file.readlines()[-10:] log_content= '\n'.join(lines) await update.message.reply_text(f"Contenuto del log:\n{log_content}") except Exception as e: