Skip to content

diegodorgam/python-rocketchat-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rocket.Chat Python Realtime API SDK

PythonBot Example

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.

Connector

The connector..

Dependences

requirements.txt

Methods

[WIP]

Examples

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()

About

rocket.chat python basic bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%