Nostradamus Predicting Maelstroms
Miss any of our Open RFC calls?Watch the recordings here! »

rf-context-builder

1.5.0 • Public • Published

context-builder

a tool to help interface with multiple chat platforms/applications.

Supported Platforms

  • Discord
  • Twitch
  • Twilio
  • Github
  • Transmission
  • CarbonCopyCloner
 
var ContextBuilder = require('rf-context-builder');
 
var discord = new ContextBuilder.DiscordContext()
var twitch = new ContextBuilder.TwitchContext()
var twilio = new ContextBuilder.TwilioContext()
 
console.log(twitch)
console.log(discord)
console.log(twilio)
 
 
discord.on("message", (data) => {
    let context = new ContextBuilder.DiscordContext(data, botId)
 
})
 
twitch.on("message", (channel, userstate, message, self) => {
    let context = new ContextBuilder.TwitchContext(channel, userstate, message, botUsername)
})
 
 

More platforms coming soon

  • Trello
  • Frame.io

Install

npm i rf-context-builder

DownloadsWeekly Downloads

126

Version

1.5.0

License

ISC

Unpacked Size

9.94 kB

Total Files

14

Last publish

Collaborators

  • avatar