toxygen/src/callbacks.py

14 lines
261 B
Python
Raw Normal View History

2016-02-22 16:55:04 +01: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)