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()