This is a very work in progress port of tmi.js for Deno. It is working but not well tested.
import { Client } from './mod.ts';
const client = new Client({
connection: {
secure: true,
server: 'irc-ws.chat.twitch.tv',
},
identity: {
username: '<BOT_USERNAME>',
password: '<OAUTH_TOKEN>',
},
channels: ['<YOUR_CHANNEL>'],
});
try {
client.connect();
} catch (e) {
console.log(e);
}
- Finish tests
- Tests :)
Please review the guidelines for contributing of the tmi.js repository. We reserve the right to refuse a Pull Request if it does not meet the requirements.