callbacks.py created
This commit is contained in:
parent
8dae4fcad9
commit
01510f67e8
2 changed files with 16 additions and 14 deletions
14
src/callbacks.py
Normal file
14
src/callbacks.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
# 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)
|
Loading…
Add table
Add a link
Reference in a new issue