- Joined
- Jan 31, 2016
- Messages
- 5,413
- Thread Author
- #1
@Override
public void onMessageReceived(MessageEvent messageEvent) {
if(messageEvent.getType().equals(Chatbox.Message.Type.PUBLIC_CHAT)){
System.out.println(messageEvent.getMessage());
ClientUI.sendTrayNotification(messageEvent.getSender() + ": " + messageEvent.getMessage());
}
}
This is my ChatbotListener, and it prints the messages but does not send me any notifications. I have tried using other bots as well, including Alpha Fighter and no notifications either. Something may be messed up with these... I dont think it is just me
OS-> Windows 10
public void onMessageReceived(MessageEvent messageEvent) {
if(messageEvent.getType().equals(Chatbox.Message.Type.PUBLIC_CHAT)){
System.out.println(messageEvent.getMessage());
ClientUI.sendTrayNotification(messageEvent.getSender() + ": " + messageEvent.getMessage());
}
}
This is my ChatbotListener, and it prints the messages but does not send me any notifications. I have tried using other bots as well, including Alpha Fighter and no notifications either. Something may be messed up with these... I dont think it is just me
OS-> Windows 10
Last edited: