Browse Source

Add missing typehints for Member properties

pull/7440/head
Arnav Jindal 4 years ago
committed by GitHub
parent
commit
6c36df6c11
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      discord/member.py

3
discord/member.py

@ -278,6 +278,9 @@ class Member(discord.abc.Messageable, _UserTag):
create_dm = User.create_dm
mutual_guilds: List[Guild]
public_flags: PublicUserFlags
banner: Optional[Asset]
accent_color: Optional[Colour]
accent_colour: Optional[Colour]
def __init__(self, *, data: GatewayMemberPayload, guild: Guild, state: ConnectionState):
self._state: ConnectionState = state

Loading…
Cancel
Save