https://github.com/edjcase/motoko_oc_bot_sdk
SDK for the OpenChat bot api written in Motoko
https://github.com/edjcase/motoko_oc_bot_sdk
Last synced: 5 months ago
JSON representation
SDK for the OpenChat bot api written in Motoko
- Host: GitHub
- URL: https://github.com/edjcase/motoko_oc_bot_sdk
- Owner: edjCase
- License: mit
- Created: 2025-02-06T22:20:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-24T20:08:52.000Z (over 1 year ago)
- Last Synced: 2025-04-14T03:57:03.480Z (about 1 year ago)
- Language: Motoko
- Size: 113 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Overview
This is a library that allows easy development of OpenChat's bot API
NOTE: This is in early development and not all features are supported
# Package
### MOPS
```
mops install openchat-bot-sdk
```
To setup MOPS package manage, follow the instructions from the [MOPS Site](https://j4mwm-bqaaa-aaaam-qajbq-cai.ic0.app/)
# Example - Echo
Simple example that prompts for some text, then the bot returns that same text X times
[https://github.com/edjCase/motoko_oc_bot_sdk/tree/main/example](https://github.com/edjCase/motoko_oc_bot_sdk/tree/main/example)
# Testing
```
mops test
```