SlashCommandClient

interface SlashCommandClient : EventListener

Functions

getCommand
Link copied to clipboard
open fun getCommand(name: String): BaseSlashCommand?
onEvent
Link copied to clipboard
open override fun onEvent(event: GenericEvent)
onSlashCommandEvent
Link copied to clipboard
abstract fun onSlashCommandEvent(event: SlashCommandEvent)
withJDA
Link copied to clipboard
open fun withJDA(jda: JDA)
withMetrics
Link copied to clipboard
open fun withMetrics()
withShardManager
Link copied to clipboard
open fun withShardManager(shardManager: ShardManager)

Properties

registry
Link copied to clipboard
abstract val registry: List<BaseSlashCommand>

Inheritors

DefaultSlashCommandClient
Link copied to clipboard