Skip to content

Latest commit

 

History

History

twitch

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@node-bambu/twitch

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();