ready
This commit is contained in:
parent
21c7f71971
commit
edd44564d2
5 changed files with 42 additions and 10 deletions
9
example.py
Normal file
9
example.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
from lxmfbot import LXMFBot
|
||||
|
||||
bot = LXMFBot("NodeBot")
|
||||
|
||||
@bot.received
|
||||
def echo_msg(msg):
|
||||
msg.reply(msg.content)
|
||||
|
||||
bot.run()
|
||||
Loading…
Add table
Add a link
Reference in a new issue