![]() |
|
[Python] Skype resolver for Skype bot? - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Python] Skype resolver for Skype bot? (/showthread.php?tid=4893116) |
Skype resolver for Skype bot? - Chargeback - Jul 4, 2015 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) * - @beef - Jul 4, 2015 Show us what your code is for it resolving first. * - Kokomikta152 - Jul 5, 2015 Please post the code here. * - Mouse❤️ - Jul 6, 2015 He already did. And OP, I think you mean Code url = "http://crimebox.net/api.php?key=REDACTED&username=%s&option=resolve" % username |