We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c9391e commit bd8fc6eCopy full SHA for bd8fc6e
components/taghints.py
@@ -302,7 +302,7 @@
302
303
304
# Sort the hints by key
305
-_TAG_HINTS = dict(sorted(_TAG_HINTS.items()))
+_TAG_HINTS_SORTED = dict(sorted(_TAG_HINTS.items()))
306
# convert into proper objects
307
TAG_HINTS: Dict[str, TagHint] = {
308
key: TagHint(
@@ -313,7 +313,7 @@
313
inline_keyboard=InlineKeyboardMarkup(value["buttons"]) if "buttons" in value else None,
314
group_command=value.get("group_command", False),
315
)
316
- for key, value in _TAG_HINTS.items()
+ for key, value in _TAG_HINTS_SORTED.items()
317
}
318
TAG_HINTS_PATTERN = re.compile(
319
# case insensitive
0 commit comments