Guest User

stuff

a guest
Mar 5th, 2017
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const tmi = require('tmi.js');
  2.  
  3. let client = new tmi.client({
  4.         options: {
  5.             debug: true
  6.         },
  7.         connection: {
  8.             reconnect: true,
  9.             secure: true
  10.         },
  11.         identity: {
  12.             username: 'bjohei03',
  13.             password: 'oauth:'
  14.         },
  15.         channels: [
  16.             'channel',
  17.         ]
  18.     });
  19.  
  20. client.action("channel", "!give ${username} ");
  21.  
  22. client.connect();
Add Comment
Please, Sign In to add comment