Add Part, youreoper

This commit is contained in:
2026-11-08 22:30:36 +00:00
parent 00a4fd3a93
commit c23b85712a
@@ -13,6 +13,7 @@ sealed class ServerMessage {
data class Join(val target: String) : ServerMessage()
data class Ping(val token: String) : ServerMessage()
data class Error(val message: String) : ServerMessage()
data class Part(val channels: List<String>) : ServerMessage()
sealed class Numeric(val number: Short) : ServerMessage() {
data class RPL_WELCOME(val message: String) : Numeric(1)
@@ -27,5 +28,6 @@ sealed class ServerMessage {
data class RPL_TOPIC(val topic: String) : Numeric(332)
data class RPL_NAMREPLY(val message: String) : Numeric(353)
data object RPL_ENDOFNAMES : Numeric(366)
data object RPL_YOUREOPER : Numeric(381)
}
}