Skip to content

Commit ee4c347

Browse files
committed
readme: remove default options from example
1 parent b44286d commit ee4c347

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

README.md

+4-8
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,12 @@ $ npm i tmi.js
2323
```js
2424
const tmi = require('tmi.js');
2525
const client = new tmi.Client({
26-
options: { debug: true, messagesLogLevel: "info" },
27-
connection: {
28-
reconnect: true,
29-
secure: true
30-
},
26+
options: { debug: true },
3127
identity: {
32-
username: 'bot-name',
33-
password: 'oauth:my-bot-token'
28+
username: 'bot_name',
29+
password: 'oauth:my_bot_token'
3430
},
35-
channels: [ 'my-channel' ]
31+
channels: [ 'my_channel' ]
3632
});
3733
client.connect().catch(console.error);
3834
client.on('message', (channel, tags, message, self) => {

0 commit comments

Comments
 (0)