botkit-teamone

0.9.0 • Public • Published

Use Botkit to create (or port) bots for Team-One

This module contains an (experimental) Botkit connector for Team-One (Intellinote).

Using this module, it is trivial to "port" many Botkit-based bots to Team-One.

Specifically, rather than using the lines:

var Botkit = require('botkit');
var controller = Botkit.slackbot({ debug: false});

to instantiate your Botkit bot, you'll use:

var Botkit = require('botkit');
require("botkit-teamone")
var controller = Botkit.teamonebot({ debug: false});

That's it.

At this stage there are a few Slack-specific features not (yet) fully represented in the "teamonebot" connector, but otherwise Team-One can act as a drop-in replacement for Slack in your bot implementation.

For more information, this introduction to the Team-One Real-Time / Bot API

Creating your bot

  1. Create a "bot user" within Team-One / Intellinote. (Or use your existing account to create a bot that acts as "you".)

  2. Create an API token for that user at https://app.intellinote.net/rest/account/api-tokens.

  3. Pass that token to the Botkit spawn method when launching your bot:

    controller.spawn({ token: MY_API_TOKEN });

Non-Botkit bots

The Team-One Real-Time Messaging API is a simple but powerful websocket-based API that supports not only chat messages, but the full scope of the Team-One collaboration and workflow management functionality.

See ..tk... for examples of creating bots directly with the Team-One API.

Readme

Keywords

none

Package Sidebar

Install

npm i botkit-teamone

Weekly Downloads

0

Version

0.9.0

License

MIT

Last publish

Collaborators

  • intellinote