@wireapp/bot-handler-debug
TypeScript icon, indicating that this package has built-in type declarations

0.5.21 • Public • Published

Example

import {BotConfig, BotCredentials, Bot} from '@wireapp/bot-api';
import {DebugHandler} from '@wireapp/bot-handler-debug';

const config: BotConfig = {
  backend: 'production',
};

const credentials: BotCredentials = {
  email: process.env.WIRE_EMAIL!,
  password: process.env.WIRE_PASSWORD!,
};

const bot = new Bot(credentials, config);
bot.addHandler(new DebugHandler());

await this.bot.start();

Readme

Keywords

none

Package Sidebar

Install

npm i @wireapp/bot-handler-debug

Weekly Downloads

2

Version

0.5.21

License

GPL-3.0

Unpacked Size

45.3 kB

Total Files

12

Last publish

Collaborators

  • augustocdias_wire
  • beltram_wire
  • tlebon
  • typfel
  • wireapp-owner
  • wireapp-member