init
This commit is contained in:
commit
21c7f71971
3 changed files with 111 additions and 0 deletions
10
randobot.py
Normal file
10
randobot.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
from bot import LXMFBot
|
||||
from pprint import pprint
|
||||
|
||||
bot = LXMFBot("Randobot")
|
||||
|
||||
@bot.received
|
||||
def echo_msg(msg):
|
||||
msg.reply(msg.content)
|
||||
|
||||
bot.run()
|
||||
Loading…
Add table
Add a link
Reference in a new issue