From 319e82391bfb8822fd75684f17ae28b26c1e3b0c Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Mon, 25 Apr 2022 18:49:40 +0200 Subject: Initial commit --- src/com/encrox/twitchbot/client/IRCMessage.java | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 src/com/encrox/twitchbot/client/IRCMessage.java (limited to 'src/com/encrox/twitchbot/client/IRCMessage.java') 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; + } + +} -- cgit v1.2.1