14 lines
261 B
Python
14 lines
261 B
Python
|
# 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)
|