Skip to content

Commit

Permalink
Add missing type-hint
Browse files Browse the repository at this point in the history
  • Loading branch information
Zomatree committed Jul 2, 2023
1 parent 71a33c1 commit 2749822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion revolt/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def __init__(self, data: MessagePayload, state: State):

self.server_id: str | None = self.channel.server_id

self.raw_mentions = data.get("mentions", [])
self.raw_mentions: list[str] = data.get("mentions", [])
self.mentions: list[Member | User] = []

if self.system_content:
Expand Down

0 comments on commit 2749822

Please sign in to comment.