nwitch-abstract
nwitch (and slate-irc) plugin for getting a nice abstract on any topic.
05:34 <KenanY> !abstract astronomy05:34 <nwitch> KenanY: Astronomy A natural science that is the study ofcelestial objects, the physics, chemistry, and...
Example
As a nwitch plugin (using config.toml
):
[plugins]nwitch-abstract = true
Or through nwitch's API:
var Nwitch = ;var nwitchAbstract = ;var nwitch =irc:address: 'irc.freenode.org'port: 6667;nwitch;
Technically, all nwitch plugins are just slate-irc plugins, so you could also use this as a slate-irc plugin:
var net = ;var irc = ;var nwitchAbstract = ;var stream = net;var client = ;client;
Installation
$ npm install nwitch-abstract
API
var nwitchAbstract = ;
nwitchAbstract()
Returns a function that accepts an instance of slate-irc.