Fixed formatting and typos
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from abc import ABC
|
||||
from logging import Logger
|
||||
from typing import Optional, Any, Dict
|
||||
from typing import Any, Dict, Optional
|
||||
|
||||
from bson import ObjectId
|
||||
from libbot.cache.classes import Cache
|
||||
|
@@ -20,7 +20,7 @@ from classes.errors import (
|
||||
EventStageNotFoundError,
|
||||
GuildNotFoundError,
|
||||
)
|
||||
from modules.database import col_events, col_users, _update_database_indexes
|
||||
from modules.database import _update_database_indexes, col_events, col_users
|
||||
from modules.utils import get_logger
|
||||
|
||||
logger: Logger = get_logger(__name__)
|
||||
|
@@ -312,16 +312,16 @@ class PycordEvent(BaseCacheable):
|
||||
return PycordEvent.get_defaults()[key]
|
||||
|
||||
async def update(
|
||||
self,
|
||||
cache: Optional[Cache] = None,
|
||||
**kwargs: Any,
|
||||
self,
|
||||
cache: Optional[Cache] = None,
|
||||
**kwargs: Any,
|
||||
) -> None:
|
||||
await super().update(cache=cache, **kwargs)
|
||||
|
||||
async def reset(
|
||||
self,
|
||||
*args: str,
|
||||
cache: Optional[Cache] = None,
|
||||
self,
|
||||
*args: str,
|
||||
cache: Optional[Cache] = None,
|
||||
) -> None:
|
||||
await super().reset(*args, cache=cache)
|
||||
|
||||
|
Reference in New Issue
Block a user