JSPM

  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q82119F
  • License MIT

The main discordia framework

Package Exports

  • @discordia/framework

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@discordia/framework) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@discordia/framework

The main discordia framework

Usage

Basic Hello World Example - ping

const framework = require('@discordia/framework');

const actions = [
  {
    accessor: 'ping',
    response: 'pong',
    description: 'ping -> pong',
  }
]

framework(process.env.DISCORD_BOT_KEY, actions);