Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

Skype4Py only working in group chats

Can anyone help me fix this issue? For some reason, it doesn't work in private chat.

What I have:

Code
#Init functions
skype = Skype4Py.Skype();
skype.OnMessageStatus = command
skype.OnUserAuthorizationRequestReceived = UserAuthorizationRequestReceived
skype.Attach();

Code
#command
def command(Message, Status):
            if Status == 'RECEIVED':
                  if Message.Body == '!help'
                      Message.Chat.SendMessage('hello')

Thanks 🤝




Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by TheWarOwlMar 2, 2017 07:30 PM 6 240 Mar 2, 2017 07:30 PM
Last Post: TheWarOwl
[Python] by KeatJan 18, 2017 08:48 AM 1 133 Jan 18, 2017 08:48 AM
Last Post: Goodies
[.NET] by ns2kJan 4, 2016 04:24 AM 3 247 Jan 4, 2016 04:24 AM
Last Post: Josh‎