toxygen/src/callbacks.py

14 lines
261 B
Python
Raw Normal View History

2016-02-22 15:55:04 +00:00
# TODO: add all callbacks (use wrappers)
def status(a, b, c):
print 'WOW, it works!'
print str(b)
def friend_status(a, b, c, d, e):
print 'Friend connected! Friend number: ' + str(c)
def message(a, b, c, d, e, f):
print 'Message: ', str(d)