Skip to content

Commit

Permalink
🐛 修复部分Event的字段类型错误
Browse files Browse the repository at this point in the history
  • Loading branch information
CMHopeSunshine committed Oct 6, 2023
1 parent 7d2c0b3 commit 2e06f6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nonebot/adapters/discord/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,9 @@ class ApplicationCommandPermissionsUpdateEvent(NoticeEvent):
"""

__type__ = EventType.APPLICATION_COMMAND_PERMISSIONS_UPDATE
id: str
application_id: str
guild_id: str
id: Snowflake
application_id: Snowflake
guild_id: Snowflake
permissions: List[ApplicationCommandPermissions]


Expand Down

0 comments on commit 2e06f6f

Please sign in to comment.