Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/taghints.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@


# Sort the hints by key
_TAG_HINTS = dict(sorted(_TAG_HINTS.items()))
_TAG_HINTS_SORTED = dict(sorted(_TAG_HINTS.items()))
# convert into proper objects
TAG_HINTS: Dict[str, TagHint] = {
key: TagHint(
Expand All @@ -313,7 +313,7 @@
inline_keyboard=InlineKeyboardMarkup(value["buttons"]) if "buttons" in value else None,
group_command=value.get("group_command", False),
)
for key, value in _TAG_HINTS.items()
for key, value in _TAG_HINTS_SORTED.items()
}
TAG_HINTS_PATTERN = re.compile(
# case insensitive
Expand Down