From dd8c3e1ddcae28308d098b9e0c3d9dba2a1042e6 Mon Sep 17 00:00:00 2001 From: "Dr. Chat" Date: Tue, 22 May 2018 12:16:33 -0500 Subject: [PATCH] Add Channel.send_typing --- disco/types/channel.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/disco/types/channel.py b/disco/types/channel.py index edaaef1..ea6c01c 100644 --- a/disco/types/channel.py +++ b/disco/types/channel.py @@ -334,6 +334,13 @@ class Channel(SlottedModel, Permissible): """ 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): """ Connect to this channel over voice.