Skip to content

Commit aef5b7f

Browse files
Autuamnshoucandanghehe
authored andcommitted
🐛 为 layout_type 添加默认值
1 parent 151712d commit aef5b7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nonebot/adapters/discord/api/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3706,7 +3706,7 @@ class PollRequest(BaseModel):
37063706
"""Number of hours the poll should be open for, up to 32 days. Defaults to 24"""
37073707
allow_multiselect: Missing[bool] = UNSET
37083708
"""Whether a user can select multiple answers. Defaults to false"""
3709-
layout_type: Missing[int]
3709+
layout_type: Missing[int] = UNSET
37103710
"""The layout type of the poll"""
37113711

37123712

0 commit comments

Comments
 (0)