Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Commit

Permalink
🔖 bump version 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
CMHopeSunshine committed Nov 29, 2023
1 parent f0adbc2 commit bb45cb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions nonebot/adapters/villa/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,13 @@ class TextEntity(BaseModel):


class ImageSize(BaseModel):
width: int
height: int
width: Optional[int] = None
height: Optional[int] = None


class Image(BaseModel):
url: str
size: Optional[ImageSize] = None
size: ImageSize = Field(default_factory=ImageSize)
file_size: Optional[int] = None


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "nonebot-adapter-villa"
version = "1.3.0"
version = "1.3.1"
description = "NoneBot2 米游社大别野 Bot 适配器。MiHoYo Villa Bot adapter for nonebot2."
authors = ["CMHopeSunshine <277073121@qq.com>"]
license = "MIT"
Expand Down

0 comments on commit bb45cb4

Please sign in to comment.