1
Fork 0
mirror of https://github.com/Steffo99/greed.git synced 2024-11-21 21:44:19 +00:00

Update worker.py

This commit is contained in:
智慧雨泽 2020-08-22 22:40:47 +08:00 committed by GitHub
parent b08f3b5b8e
commit c077e4047d
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1367,7 +1367,7 @@ class Worker(threading.Thread):
keyboard.append([telegram.KeyboardButton(lang)]) keyboard.append([telegram.KeyboardButton(lang)])
options[lang] = "uk" options[lang] = "uk"
if "zh_cn" in configloader.config["Language"]["enabled_languages"]: if "zh_cn" in configloader.config["Language"]["enabled_languages"]:
lang = "🇨🇳简体中文" lang = "🇨🇳 简体中文"
keyboard.append([telegram.KeyboardButton(lang)]) keyboard.append([telegram.KeyboardButton(lang)])
options[lang] = "zh_cn" options[lang] = "zh_cn"
# Send the previously created keyboard to the user (ensuring it can be clicked only 1 time) # Send the previously created keyboard to the user (ensuring it can be clicked only 1 time)