Skip to content
This repository has been archived by the owner on Sep 26, 2018. It is now read-only.

Commit

Permalink
Fixed Whispers and all the whispers are working as they should
Browse files Browse the repository at this point in the history
  • Loading branch information
cavariux committed May 2, 2017
1 parent cde780a commit ba2b194
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/com/cavariux/twitchirc/Core/TwitchBot.java
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,8 @@ protected void userParts(User user, Channel channel)
public void whisper(User user, String message)
{
if (!channels.isEmpty()) {
this.sendMessage(".w " + user + " " + message, Channel.getChannel(channels.get(0), this));
this.sendMessage("/w " + user + " " + message, Channel.getChannel(channels.get(0), this));

} else if (!wen) {
System.out.println("You have to be either connected to at least one channel or join another Server to be able to whisper!");
} else {
Expand Down

0 comments on commit ba2b194

Please sign in to comment.