All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lt.saltyjuice.dragas.chatty.v3.irc.message.Request.kt Maven / Gradle / Ivy

package lt.saltyjuice.dragas.chatty.v3.irc.message


open class Request(val rawMessage: String)
{
    var prefixes: List = ArrayList()
    var arguments: List = ArrayList()

    val user: String
        get()
        {
            return prefixes[1]
        }
    val host: String
        get()
        {
            return prefixes[2]
        }
    val nickname: String
        get()
        {
            return prefixes[0]
        }

    var command = ""

    /*
    request.host = prefixList[2]
        request.user = prefixList[1]
     */
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy