Advertisement
Guest User

RyyydaxBOT

a guest
Aug 8th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. const tmi = require('tmi.js');
  2.  
  3. const tmiConfig = {
  4. options: {
  5. debug: true
  6. },
  7. connection: {
  8. reconnect: true
  9. },
  10. identity: {
  11. username: "RyyydaxBOT",
  12. password: "**************"
  13. },
  14. channels: [
  15. "patoune_tv"
  16. ]
  17. };
  18.  
  19. let client = new tmi.client(tmiConfig);
  20. client.connect();
  21.  
  22. client.on('connected', (adress, port) => {
  23. console.log(client.getUsername() + " s'est connecté sur : " + adress + ", port : " + port);
  24. client.say("patoune_tv", "TEST çççç àààà ô");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement