summaryrefslogtreecommitdiff
path: root/src/com/encrox/twitchbot/client/IRCMessage.java
diff options
context:
space:
mode:
authorLeonard Kugis <leonard@kug.is>2022-04-25 18:49:40 +0200
committerLeonard Kugis <leonard@kug.is>2022-04-25 18:49:40 +0200
commit319e82391bfb8822fd75684f17ae28b26c1e3b0c (patch)
treeccdb434f57e486871f5603d3235003bfe0162161 /src/com/encrox/twitchbot/client/IRCMessage.java
Initial commitHEADmaster
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;
+ }
+
+}