Files
nonebot-plugin-tetris-stats/nonebot_plugin_tetris_stats/utils/lang.py
shoucandanghehe 86198df4ed
Some checks failed
TypeCheck / TypeCheck (push) Has been cancelled
适配 bind
2025-04-15 03:30:30 +08:00

9 lines
187 B
Python

from typing import cast
from ..i18n.model import Lang
from .typedefs import Lang as LangType
def get_lang() -> LangType:
return cast('LangType', Lang.template.template_language())