We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d865db commit 76d2a61Copy full SHA for 76d2a61
2 files changed
nonebot_plugin_memes_api/matchers/statistics.py
@@ -205,6 +205,7 @@ def fmt_time(time: datetime) -> str:
205
key_counts: dict[str, int] = {}
206
for key in meme_keys:
207
key_counts[key] = key_counts.get(key, 0) + 1
208
+ key_counts = dict(sorted(key_counts.items(), key=lambda item: item[1]))
209
210
if meme:
211
title = (
pyproject.toml
@@ -1,6 +1,6 @@
1
[tool.poetry]
2
name = "nonebot_plugin_memes_api"
3
-version = "0.4.4"
+version = "0.4.5"
4
description = "Nonebot2 plugin for making memes"
5
authors = ["meetwq <meetwq@gmail.com>"]
6
license = "MIT"
0 commit comments