From 57d779275532ac5f8942455273c18ac21dd3f21f Mon Sep 17 00:00:00 2001 From: deadzilla Date: Tue, 7 Jul 2026 23:11:38 +0500 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5:=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BD?= =?UTF-8?q?=D0=BE=D1=81=20import=20time=20=D0=B8=D0=B7=20=5F=5Finit=5F=5F?= =?UTF-8?q?=20=D0=BD=D0=B0=20=D1=83=D1=80=D0=BE=D0=B2=D0=B5=D0=BD=D1=8C=20?= =?UTF-8?q?=D0=BC=D0=BE=D0=B4=D1=83=D0=BB=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 11e39dc..9ae0a2e 100644 --- a/bot.py +++ b/bot.py @@ -3,6 +3,7 @@ import logging import os import sys import threading +import time from typing import TYPE_CHECKING import discord @@ -28,8 +29,6 @@ class BotRunner: """Управляет жизненным циклом бота.""" def __init__(self) -> None: - import time - self.bot = commands.Bot(command_prefix="!", intents=intents) self.bot._start_time = time.time() self.stop_event = threading.Event()