Socket
Socket
Sign inDemoInstall

botkit-teamone

Package Overview
Dependencies
281
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    botkit-teamone

Adds Team-One support to Botkit (<https://github.com/howdyai/botkit>).


Version published
Maintainers
1
Created

Readme

Source

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.

FAQs

Last updated on 10 Oct 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc