diff --git a/autochangename/main.py b/autochangename/main.py index af8406e..7e7d36a 100644 --- a/autochangename/main.py +++ b/autochangename/main.py @@ -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 ]