diff options
author | Leonard Kugis <leonard@kug.is> | 2022-04-25 18:49:40 +0200 |
---|---|---|
committer | Leonard Kugis <leonard@kug.is> | 2022-04-25 18:49:40 +0200 |
commit | 319e82391bfb8822fd75684f17ae28b26c1e3b0c (patch) | |
tree | ccdb434f57e486871f5603d3235003bfe0162161 /src/com/encrox/twitchbot/client/IRCMessage.java |
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;
+ }
+
+}
|