Gekkou

Please, don't edit this or translate it into another language, the documentation needs more work

Gekkou is chatbot library written in Node.js for FANDOM's chat extension Special:Chat. It was built having Discord.js library as a reference, so the methods are very similar.

Installation
Gekkou is published on the NPM library, so you can download it using either  or , if you prefer Yarn.

Usage
This guide assumes you already know how to use Node.js.

Methods
All methods are relative to client.METHODNAME
 * sendMessage (message): Sends a message to the chat room.
 * setAway: Sets the bot away. At the moment, can't be reverted.
 * quit: Quits the bot, exiting with process.exit(1).

Events
All events are relative to 
 * ready: The bot is ready.
 * message (msg, client, log): message: Returns a message object.client: *deprecated, will be removed in the future*log: Exports a useful module called hikari for logging messages. May be removed in the future.
 * join(user): user: Name of the user.
 * part(user): user: Name of the user.