Skip to content

Commit 4566ed4

Browse files
committed
Closes #17
1 parent b159a10 commit 4566ed4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Chat.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ const log = signale.scope("CHT");
1515

1616
class Chat {
1717
constructor(username, password, channel, obs) {
18-
this.username = username; // username
18+
this.username = username.toLowerCase(); // username
1919
this.password = password; // oauth
20-
this.channel = `#${channel}`; // #channel
20+
this.channel = `#${channel.toLowerCase()}`; // #channel
2121
this.obsProps = obs;
2222
this.obs = obs.obs;
2323
this.prefix = config.twitchChat.prefix;

0 commit comments

Comments
 (0)