Advertisement
Guest User

Untitled

a guest
Dec 20th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. // tmi client
  2. let client = new tmi.client({
  3. options: {
  4. debug: config.debug
  5. },
  6. connection: {
  7. cluster: "aws",
  8. reconnect: true,
  9. secure: true
  10. },
  11. identity: {
  12. username: config.username,
  13. password: "oauth:" + config.oAuth.replace(/^oauth[: ]*/i, "")
  14. },
  15. channels: ["#" + config.channel.replace(/^#+/, "")]
  16. });
  17. client.connect();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement