Browse Source

Add Channel.send_typing

pull/97/head
Dr. Chat 7 years ago
parent
commit
dd8c3e1ddc
  1. 7
      disco/types/channel.py

7
disco/types/channel.py

@ -334,6 +334,13 @@ class Channel(SlottedModel, Permissible):
""" """
return self.client.api.channels_messages_create(self.id, *args, **kwargs) return self.client.api.channels_messages_create(self.id, *args, **kwargs)
def send_typing(self):
"""
Sends a typing event to this channel. See `APIClient.channels_typing`
for more information.
"""
self.client.api.channels_typing(self.id)
def connect(self, *args, **kwargs): def connect(self, *args, **kwargs):
""" """
Connect to this channel over voice. Connect to this channel over voice.

Loading…
Cancel
Save