aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/cc/woverflow/chatting/chat/ChatTab.kt
diff options
context:
space:
mode:
authorSin_ender <65603613+sinender@users.noreply.github.com>2022-12-30 13:54:39 -0500
committerGitHub <noreply@github.com>2022-12-31 03:54:39 +0900
commit504f2aaf5c743be9a91615cb2fce9f0a45d11962 (patch)
treef4ee384b8572a8ea51cfd06cb44bc74f47de6e35 /src/main/kotlin/cc/woverflow/chatting/chat/ChatTab.kt
parent135a36eceded2d264e2a2ca634f490e056cd7ce4 (diff)
downloadChatting-504f2aaf5c743be9a91615cb2fce9f0a45d11962.tar.gz
Chatting-504f2aaf5c743be9a91615cb2fce9f0a45d11962.tar.bz2
Chatting-504f2aaf5c743be9a91615cb2fce9f0a45d11962.zip
Allow for custom messages (#14)
* Allowing custom messages to be used. * Gave it the ability to search through custom messages * Updated to not store in config and remove from constructor. * Whoops forgot to remove it from the config * Added @Transient
Diffstat (limited to 'src/main/kotlin/cc/woverflow/chatting/chat/ChatTab.kt')
-rw-r--r--src/main/kotlin/cc/woverflow/chatting/chat/ChatTab.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/cc/woverflow/chatting/chat/ChatTab.kt b/src/main/kotlin/cc/woverflow/chatting/chat/ChatTab.kt
index 50de1f4..75b5d69 100644
--- a/src/main/kotlin/cc/woverflow/chatting/chat/ChatTab.kt
+++ b/src/main/kotlin/cc/woverflow/chatting/chat/ChatTab.kt
@@ -30,6 +30,7 @@ data class ChatTab(
lateinit var button: TabButton
lateinit var compiledRegex: ChatRegexes
lateinit var compiledIgnoreRegex: ChatRegexes
+ @Transient var messages: List<String> = ArrayList()
//Ugly hack to make GSON not make button / regex null
fun initialize() {