diff options
Diffstat (limited to 'src/com/encrox/twitchbot/client/IRCMessage.java')
-rwxr-xr-x | src/com/encrox/twitchbot/client/IRCMessage.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/com/encrox/twitchbot/client/IRCMessage.java b/src/com/encrox/twitchbot/client/IRCMessage.java new file mode 100755 index 0000000..69f8cd5 --- /dev/null +++ b/src/com/encrox/twitchbot/client/IRCMessage.java @@ -0,0 +1,26 @@ +package com.encrox.twitchbot.client;
+
+public class IRCMessage {
+
+ private String username, message;
+ private byte level;
+
+ public IRCMessage(String username, byte level, String message) {
+ this.username = username;
+ this.level = level;
+ this.message = message;
+ }
+
+ public String getUsername() {
+ return username;
+ }
+
+ public byte getLevel() {
+ return level;
+ }
+
+ public String getMessage() {
+ return message;
+ }
+
+}
|