1
Fork 0
mirror of https://github.com/Steffo99/greed.git synced 2024-11-24 14:54:18 +00:00

Update worker.py

This commit is contained in:
智慧雨泽 2020-08-22 21:31:31 +08:00 committed by GitHub
parent 4befa7bcd1
commit 556645ba81
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

View file

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