12 lines
342 B
Kotlin
12 lines
342 B
Kotlin
|
package nl.voidcorp.yeetbot
|
||
|
|
||
|
data class Config(val guildWords: MutableMap<Long, GuildInfo> = mutableMapOf())
|
||
|
|
||
|
data class GuildInfo(val list: MutableList<Match> = mutableListOf())
|
||
|
|
||
|
data class Match(val match: String, var time: Long = System.currentTimeMillis(), val type: MatchType = MatchType.RAW)
|
||
|
|
||
|
enum class MatchType {
|
||
|
REGEX,
|
||
|
RAW
|
||
|
}
|