Fixed formatting

This commit is contained in:
2025-04-18 18:18:26 +02:00
parent f7fd81f299
commit fd44276021
4 changed files with 28 additions and 22 deletions

View File

@@ -1,12 +1,12 @@
from logging import Logger
from typing import Any
from discord import User, Guild
from discord import Guild, User
from libbot.cache.classes import CacheMemcached, CacheRedis
from libbot.cache.manager import create_cache_client
from libbot.pycord.classes import PycordBot as LibPycordBot
from classes import PycordUser, PycordGuild
from classes import PycordGuild, PycordUser
from modules.logging_utils import get_logger
logger: Logger = get_logger(__name__)

View File

@@ -28,7 +28,7 @@ class PycordGuild:
@classmethod
async def from_id(
cls, guild_id: int, allow_creation: bool = True, cache: Optional[Cache] = None
cls, guild_id: int, allow_creation: bool = True, cache: Optional[Cache] = None
) -> "PycordGuild":
"""Find guild in database and create new record if guild does not exist.