Fixed formatting
This commit is contained in:
@@ -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__)
|
||||
|
@@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user