3.0.0 • Published 5 years ago

@ninjabytes/bot-core v3.0.0

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
5 years ago

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.
3.0.0

5 years ago

2.3.0

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago