Skip to content

Commit 3f8865f

Browse files
committed
Add missing type information
1 parent 2ea2303 commit 3f8865f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ def __init__(
803803
self.mentions: list[User] = [
804804
state.create_user(data=user) for user in data["mentions"]
805805
]
806-
self.role_mentions = []
806+
self.role_mentions: list[Role] = []
807807
if isinstance(self.guild, Guild) and data.get("mention_roles"):
808808
for role_id in map(int, data["mention_roles"]):
809809
role = self.guild.get_role(role_id)

0 commit comments

Comments
 (0)