From c0003d03be8786455d835a3dae82c8dddae179ae Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 7 Jun 2011 09:47:19 +0100 Subject: [PATCH] Added clientpoke command --- ts3/__init__.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ts3/__init__.py b/ts3/__init__.py index ec65008..77f6c0d 100644 --- a/ts3/__init__.py +++ b/ts3/__init__.py @@ -382,3 +382,11 @@ class TS3Server(TS3Proto): return response.is_successful return False + + def clientpoke(self, clid, message): + """ + Poke a client with the specified message + """ + + response = self.send_command('clientpoke', keys={'clid': clid, 'msg': message}) + return response.is_successful