internationalization.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:Laima-Discord-Bot 作者: glouis 项目源码 文件源码
def set_language(message):
    lang = get_language(message)
    languages[Language(lang)].install()

# Allow to change the language used on a server
# Parameters:
#   - message: discord message, the message which called this function
#   - lang: Language, the language to set
# Return:
#   - msg: str, message returned by the bot
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号