Advertisement
Guest User

Untitled

a guest
Apr 27th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head></head>
  4. <body>
  5. <script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
  6. <script src="tmi.js"></script>
  7. <script>
  8. var options = {
  9. options: {
  10. debug: true
  11. },
  12. connection: {
  13. cluster: "aws",
  14. reconnect: true
  15. },
  16. identity: {
  17. username: "0nlyg00dvibes",
  18. password: "xD"
  19. },
  20. channels: ['#fiox_alt']
  21. };
  22.  
  23. var client = new tmi.client(options);
  24. console.log("connected");
  25. client.connect();
  26. client.on("connected", (address, port) => {
  27. client.say("fiox_alt", "asd");
  28. });
  29. </script>
  30. </body>
  31. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement