An open API service indexing awesome lists of open source software.

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

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
```