lxmf-bot/example.py
2023-05-24 00:41:10 +03:00

9 lines
No EOL
125 B
Python

from lxmfbot import LXMFBot
bot = LXMFBot("testbot")
@bot.received
def echo_msg(msg):
msg.reply(msg.content)
bot.run()