I am trying to create a chat bot to use on twitch.tv to join the IRC, which is typed listens for the given command! Command
This will take some sort of action at that point.
My first thought was to store an item to store the required commands and appropriate responses. If I want to add new commands on the fly then I can do this, There is a way to update the imported commands with the newly added commands without having to leave the connected node server.
Would it be easy to create a monodod archive, in which commands can be given, every time a new command arrives (I will use mangodb later to store some information with bont )
Just trying to figure out how best action will be now?
Database, however, you can use the t Tot Jason File as Usage Database
var requires JsonDB = ('node-jsan-db'); Var DB = new JasonDB ("command", true); // "command.sonson" var command = db.getData ("/ commands") target file in the same directory; // ... somewhere as a callback ... db.push ("/ command", {test: "test", foo: {bar: ["apple"]}}); Command = db.getData ("/ commands");
No comments:
Post a Comment