mirror of https://github.com/Mai-with-u/MaiBot.git
modified: src/plugins/group_nickname/nickname_manager.py
parent
ba3f53674f
commit
d92a5259b2
|
|
@ -252,7 +252,11 @@ class NicknameManager:
|
||||||
),
|
),
|
||||||
None,
|
None,
|
||||||
)
|
)
|
||||||
user_name_map[user_id] = latest_nickname or f"{global_config.BOT_NICKNAME}" if user_id == global_config.BOT_QQ else f"未知"
|
user_name_map[user_id] = (
|
||||||
|
latest_nickname or f"{global_config.BOT_NICKNAME}"
|
||||||
|
if user_id == global_config.BOT_QQ
|
||||||
|
else "未知"
|
||||||
|
)
|
||||||
|
|
||||||
item = (chat_history_str, bot_reply_str, platform, group_id, user_name_map)
|
item = (chat_history_str, bot_reply_str, platform, group_id, user_name_map)
|
||||||
await self._add_to_queue(item, platform, group_id)
|
await self._add_to_queue(item, platform, group_id)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue