jeudi 8 janvier 2015

Skype4py doesn't respond to group chats


Vote count:

0




I tried running a script to respond to individual and group chats, but it only responds to individual chats



import Skype4Py

def commands(Message, Status):
if Status == 'SENT' or Status == 'RECIEVED':
if Message.Body == "ping":
cmd_ping(Message)
else:
pass
else:
pass

def cmd_ping(Message):
Message.Chat.SendMessage('pong')
print "Ping Command Received \n"

skype = Skype4Py.Skype();
skype.OnMessageStatus = commands
skype.Attach();

while True:
raw_input('')


asked 59 secs ago







Skype4py doesn't respond to group chats

Aucun commentaire:

Enregistrer un commentaire