This is a Python Connector SDK for the RocketChat Realtime API. It uses a DDP connector to create a websocket with a Rocket.Chat server, giving the ability to hear everything that the server sends to a normal user, without the need to create webhooks or use the REST API.
The connector..
requirements.txt
[WIP]
Building your first Python Bot for Rocket.Chat
def hello(bot, message):
bot.sendMessage(message['rid'], "React from hello command")
rocket = RocketChatBot('username', 'password')
rocket.addPrefixHandler('hello', hello)
rocket.start()