# NinjaBytes Bot Core

Base module for the NinjaBytes team bot.

Built with the purpose of allowing users to create other modules which work on a plug-and-play fashion.

This module includes:
* Simple clock module, which triggers an event at each 00 second;
* Base classes for Models and Modules.

## Environment Variables
* `HTTP_SERVER_ENABLED` - Should the HTTP server be enabled? Pass `true` to enabled it.
* `HTTP_SERVER_PORT` - Port on which the HTTP server will listen (defaults to `3000`).
* `HTTP_SERVER_SESSION_KEY` - Key to use on Koa Sessions (defaults to `HTTP_SERVER_SESSION_KEY`).

## Triggered Events
* `clock-trigger` - Once per minute, always at second 00.
