Jul 4, 2015 01:06 PM
(This post was last modified: Jul 4, 2015 03:06 PM by Chargeback.)
Hey, I am using Skype2Py to code a skype bot atm because I am running linux.
The issue I am having is figuring out how to get the resolver to work at all.. I have an PHP resolving api, and when I issuen the @resolve <username> command there is no reply.
Any help would be appreciated.
EDIT:
Code for resolving:
def cmd_resolve(Message, username):
url = "http://crimebox.net/api.php?key=REDACTED&username=%u&option=resolve" % username
req = urllib2.Request(url)
response = urllib2.urlopen(req)
read = response.read()
Message.Chat.SendMessage(read)
Thanks,
Chargeback (Syntax)
The issue I am having is figuring out how to get the resolver to work at all.. I have an PHP resolving api, and when I issuen the @resolve <username> command there is no reply.
Any help would be appreciated.
EDIT:
Code for resolving:
def cmd_resolve(Message, username):
url = "http://crimebox.net/api.php?key=REDACTED&username=%u&option=resolve" % username
req = urllib2.Request(url)
response = urllib2.urlopen(req)
read = response.read()
Message.Chat.SendMessage(read)
Thanks,
Chargeback (Syntax)

