Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LambdaYH committed Mar 8, 2024
1 parent 0e801cc commit fb0c246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nonebot_plugin_bottle/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ async def _(
[f"{comment.user_name}{comment.content}" for comment in comments]
)
ba.add("cooldown", event.user_id)
bottle_content = await deserialize_message(bottle.content).extract_plain_text().strip()
bottle_content = (await deserialize_message(bottle.content)).extract_plain_text().strip()
bottle_message = (
f"【漂流瓶No.{bottle.id}】【+{bottle.like}/{bottle.picked}\n来自【{group_name}】的“{user_name}”!\n"
+ f"时间:{bottle.time.strftime('%Y-%m-%d')}\n"
Expand Down

0 comments on commit fb0c246

Please sign in to comment.