Command

abstract class Command(privateReply: Boolean, notAuthorized: String, authorizedRoles: List<String>?)

Functions

Link copied to clipboard
open fun help(name: String): String
Link copied to clipboard
fun isAuthorized(senderRoles: List<String>): Boolean
Link copied to clipboard
abstract suspend fun runCommand(replyScope: ReplyScope, args: List<String>): CommandResponse

Properties

Link copied to clipboard
val notAuthorized: String
Link copied to clipboard
val privateReply: Boolean = false