Skip to content

Commit

Permalink
request membership capability so we can see users/mods
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyphen-ated committed Jul 5, 2015
1 parent e337bbb commit 195aa28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/hyphenated/djbot/DjIrcBot.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ private void tryConnect() {
while(!isConnected()) {
try {
this.connect("irc.twitch.tv", 6667, conf.getTwitchAccessToken());
this.sendRawLine("CAP REQ :twitch.tv/membership");
this.joinChannel(channel);
} catch (Exception e) {
dj.logger.error("Couldn't connect to twitch irc", e);
Expand Down

0 comments on commit 195aa28

Please sign in to comment.