Browse Source

Slot CallMessage

pull/10109/head
dolfies 3 years ago
parent
commit
dcc3bf2ab6
  1. 2
      discord/calls.py

2
discord/calls.py

@ -74,6 +74,8 @@ class CallMessage:
The message associated with this call message. The message associated with this call message.
""" """
__slots__ = ('message', 'ended_timestamp', 'participants')
def __init__(self, message: Message, *, participants: List[User], ended_timestamp: str) -> None: def __init__(self, message: Message, *, participants: List[User], ended_timestamp: str) -> None:
self.message = message self.message = message
self.ended_timestamp = utils.parse_time(ended_timestamp) self.ended_timestamp = utils.parse_time(ended_timestamp)

Loading…
Cancel
Save