rewrite: Snapshots and Lion.

This commit is contained in:
2022-11-20 08:34:18 +02:00
parent 7bd546126b
commit 2eea40f679
9 changed files with 322 additions and 29 deletions

View File

@@ -8,6 +8,7 @@ from discord.ext.commands import Context
if TYPE_CHECKING:
from .LionBot import LionBot
from core.lion import Lion
logger = logging.getLogger(__name__)
@@ -44,6 +45,8 @@ class LionContext(Context['LionBot']):
Extends Context to add Lion-specific methods and attributes.
Also adds several contextual wrapped utilities for simpler user during command invocation.
"""
alion: 'Lion'
def __repr__(self):
parts = {}
if self.interaction is not None: