Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 346 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 346 Bytes

python-rocketchat-bot

rocket.chat python basic bot using dpp

dependancies

emerge -va python-meteor or pip install python-meteor

usage

def hello(bot, message):
    bot.sendMessage(message['rid'], "React from hello command")

rocket = RocketChatBot('username', 'password')
rocket.addPrefixHandler('hello', hello)
rocket.start()