Skip to content
This repository was archived by the owner on Nov 6, 2021. It is now read-only.

Variables

sharedferret edited this page Apr 12, 2012 · 1 revision

###version The version variable holds a text value of the current version of the bot.

###fs Contains the fs Node.JS module.

###url Contains the url Node.JS module.

###Bot Contains the ttapi Node.JS module.

###bot The bot object is the object created by ttapi. bot has a variety of callable functions.

###config The loaded config.json file. Config elements can be retrieved using dot notation, e.g. config.database.usedb

###mysql Contains the mysql Node.JS module.

###client The callable object created by mysql. MySQL queries are executed by calling client.query('...', function (error, results, fields) { ... });

###request Contains the request Node.JS module. HTTP requests can be made by calling request('...', function (error, response, body) { ... });

###parser Contains an instance of the xml2js Node.JS module.

more stuff

Clone this wiki locally