Autochangename 适配新版emoji库 (#56)

This commit is contained in:
Godlike 2022-07-31 22:48:07 +08:00 committed by GitHub
parent 17b9fd2c8f
commit f3962b5b30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,13 +13,13 @@ from pagermaid import logs, scheduler, bot
auto_change_name_init = False
dizzy = emojize(":dizzy:", use_aliases=True)
cake = emojize(":cake:", use_aliases=True)
dizzy = emojize(":dizzy:", language='alias')
cake = emojize(":cake:", language='alias')
all_time_emoji_name = ["clock12", "clock1230", "clock1", "clock130", "clock2", "clock230", "clock3", "clock330",
"clock4", "clock430", "clock5", "clock530", "clock6", "clock630", "clock7", "clock730", "clock8",
"clock830", "clock9", "clock930", "clock10", "clock1030", "clock11", "clock1130"]
time_emoji_symb = [
emojize(f":{s}:", use_aliases=True) for s in all_time_emoji_name
emojize(f":{s}:", language='alias') for s in all_time_emoji_name
]