Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const tmi = require('tmi.js');
- const tmiConfig = {
- options: {
- debug: true
- },
- connection: {
- reconnect: true
- },
- identity: {
- username: "RyyydaxBOT",
- password: "**************"
- },
- channels: [
- "patoune_tv"
- ]
- };
- let client = new tmi.client(tmiConfig);
- client.connect();
- client.on('connected', (adress, port) => {
- console.log(client.getUsername() + " s'est connecté sur : " + adress + ", port : " + port);
- client.say("patoune_tv", "TEST çççç àààà ô");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement