Login Register






Python Skype Bot filter_list
Author
Message
Python Skype Bot #1
# Prerequisites, Skype + Python(http://www.python.org/download/) + Skype4py(https://pypi.python.org/pypi/Skype4Py/)
# If you want to modify the source, have some knowledge in python. Read up on Skype4py it's the pinnacle of the bot.
# If you don't like the json format, Learn to pasrse data. Start with local Ip's considering they are partially useless.
# Secondary API : http://resolver2.obn0xio.us:8080/api/echo123
# Bot & API Coded by @Hannah Montana

import Skype4Py
import urllib2
import json

def command(Message, Status):
if Status == 'SENT' or (Status == 'RECEIVED'):
if '!resolve' in Message.Body:
messageText = str(Message.Body)
messageText = messageText.split(' ')
resolverAPI = 'http://resolver.obn0xio.us:8080/api/'
resolverJSON = json.load(urllib2.urlopen(resolverAPI + messageText[1]))
for index in resolverJSON:
Message.Chat.SendMessage(index['public'])

skype = Skype4Py.Skype()

skype.OnMessageStatus = command

if skype.Client.IsRunning == False:
skype.Client.Start()

skype.Attach()

while True:
raw_input('')


RE: Python Skype Bot #2
can u repost it with the spaces ?