used isort + black

This commit is contained in:
hhh
2024-11-02 00:10:44 +02:00
parent e0a3d256d5
commit ff22636453
93 changed files with 216 additions and 295 deletions

View File

@@ -1,14 +1,14 @@
from bot.common import console
from aiogram.types.error_event import ErrorEvent
from dataclasses import dataclass
from aiogram import Bot
from aiogram.dispatcher import router as s_router
from aiogram.types.error_event import ErrorEvent
from rich.traceback import Traceback
from .pretty import PrettyException
from bot.common import console
from bot.modules.database import db
from dataclasses import dataclass
from .pretty import PrettyException
@dataclass
@@ -19,8 +19,8 @@ class Error:
async def on_error(event: ErrorEvent, bot: Bot):
import os
import base64
import os
error_id = base64.urlsafe_b64encode(os.urandom(6)).decode()