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
评论列表
文章目录