Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/probotclone/probot.db
probot.io embeds based database
https://github.com/probotclone/probot.db
database probot
Last synced: 20 days ago
JSON representation
probot.io embeds based database
- Host: GitHub
- URL: https://github.com/probotclone/probot.db
- Owner: ProBotClone
- License: mit
- Created: 2021-09-05T13:25:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-05T17:47:41.000Z (over 3 years ago)
- Last Synced: 2024-11-14T17:06:31.215Z (about 2 months ago)
- Topics: database, probot
- Language: JavaScript
- Size: 5.86 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# probot.db
## ProBot embed messages feature based database, lol
Store your data in ProBot database easily, using the embed messages feature, for free :).
## Installation
```sh
npm install probot.db
```## Usage
Now all you need is the server id that has ProBot in, and your auth token from probot.io.
```js
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();
```