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.1.dev1.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for gcr_chat-0.1.1.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 006aa472546a0c028c815a1860e5d9a80f95b56bf59e55b82ab70601de5e88c7 |
|
MD5 | befaeecf4b007b53d20a54ecdefcdfba |
|
BLAKE2b-256 | 4801af0bda73dd13d8cfcdfbd9f8e06e872cec4638cd40a59fbed9935e229a21 |