mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-03 10:40:02 +08:00
🎨 代码优化
This commit is contained in:
@@ -173,7 +173,7 @@ async def _(
|
||||
local_id: Match[int],
|
||||
):
|
||||
_tags = tags.result.split("#") if tags.available else None
|
||||
if _tags and BotConfig.nickname in _tags:
|
||||
if _tags and BotConfig.self_nickname in _tags:
|
||||
await MessageUtils.build_message(
|
||||
"咳咳咳,虽然我很可爱,但是我木有自己的色图~~~有的话记得发我一份呀"
|
||||
).finish()
|
||||
|
||||
@@ -186,7 +186,7 @@ class SetuManage:
|
||||
IMAGE_PATH
|
||||
/ "luoxiang"
|
||||
/ random.choice(os.listdir(IMAGE_PATH / "luoxiang")),
|
||||
f"\n(快向{BotConfig.nickname}签到提升好感度吧!)",
|
||||
f"\n(快向{BotConfig.self_nickname}签到提升好感度吧!)",
|
||||
]
|
||||
)
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user