probot.db

2.0.1 • Public • Published

probot.db

ProBot embed messages feature based database, lol

Store your data in ProBot database easily, using the embed messages feature, for free :).

Installation

npm install probot.db

Usage

Now all you need is the server id that has ProBot in, and your auth token from probot.io.

const Database = require('probot.db');
const database = new Database('auth token', 'server id', { embedName: 'probot.db' });

await database.set('foo', 'bar');
await database.get('foo'); // bar
await database.delete('foo');
await database.clear();

/probot.db/

    Package Sidebar

    Install

    npm i probot.db

    Weekly Downloads

    0

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    4.28 kB

    Total Files

    5

    Last publish

    Collaborators

    • xijulian