Wondering what’s next for npm?Check out our public roadmap! »

rf-context-builder

1.6.4 • Public • Published

context-builder

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

Supported Platforms

  • Discord
  • Twitch
  • Twilio
  • Telegram
  • 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

13

Version

1.6.4

License

ISC

Unpacked Size

11.7 kB

Total Files

17

Last publish

Collaborators

  • avatar