Chatbot command parsing library to be used in conjunction with Google Cloud Run and GSuite Chat.
Project description
GCR Chat
A simple chatbot framework for working with Google Cloud Run & PubSub messages.
Exports
Bot
- The main bot class.PubSubMessageRequest
- A wrapper around a PubSub message, decodes the message using__str__
BotException
- Base exception for the module, other exceptions inherit from this.ArgumentParserError
- When the bot fails to parse provided arguments.CommandNotFoundError
- When the bot cannot look up a function with the same name as the command provided.InvalidArgumentsError
- When the provided arguments do not match the command function's expected arguments.
Examples
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gcr_chat-0.1.3.tar.gz
(4.7 kB
view hashes)