rewrite: Update meta.

This commit is contained in:
2022-11-18 08:43:54 +02:00
parent 56f66ec7d4
commit ebece5256a
9 changed files with 156 additions and 70 deletions

View File

@@ -14,7 +14,7 @@ if TYPE_CHECKING:
# Contains the current command context, if applicable
context: Optional['LionContext'] = ContextVar('context', default=None)
context: ContextVar[Optional['LionContext']] = ContextVar('context', default=None)
# Contains the current LionBot instance
ctx_bot: Optional['LionBot'] = ContextVar('bot', default=None)
ctx_bot: ContextVar[Optional['LionBot']] = ContextVar('bot', default=None)