summaryrefslogtreecommitdiff
path: root/src/com/encrox/twitchbot/client/IRCMessage.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/encrox/twitchbot/client/IRCMessage.java')
-rwxr-xr-xsrc/com/encrox/twitchbot/client/IRCMessage.java26
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;
+ }
+
+}