@node-bambu/discord
TypeScript icon, indicating that this package has built-in type declarations

0.5.1 • Public • Published

@node-bambu/discord

npm (scoped)

Testing

Test with code like this:

import { BambuBot } from './index';

async function onStart() {
  console.log('Bot started');

  //console.dir(await bot.bambu.ftp.list('/'));
}

async function main() {
  const bot = new BambuBot({
    discord: {
      clientId: '<discord bot application id>',
      publicKey: '<discord bot public key>',
      token: '<discord bot token>',
    },
  });

  bot.start().then(onStart).catch(console.dir);
}

main();

Readme

Keywords

none

Package Sidebar

Install

npm i @node-bambu/discord

Weekly Downloads

0

Version

0.5.1

License

MIT

Unpacked Size

91.6 kB

Total Files

27

Last publish

Collaborators

  • aequasi