a suite of tools to help with coding stuff with bots
- bot-message-parser
- webhook-parser
- text-cleaner
- context-builder
- user-profile
- Discord
- Twitch
- Twilio
- Frame.io
- Carbon Copy Cloner
- Github
- Transmission
this module will parse raw text from a chat, and output the bot trigger, and following text
const { BotMessageParser } = require("rf-bot-tools");
var text = "!bot hello world";
var message = new BotMessageParser(text);
console.log(message.trigger);
// !bot
console.log(message.text);
// hello world
a tool for interfacing with data-store
to easily read and write the database
const { Database } = require("rf-bot-tools");
var database = new Database("database_name","user_id");
console.log(database.set("nickname", "bobby jones"));
// "bobby jones"