interface Context
The context of an command execution.
abstract val args: Arguments
The Arguments of the exexcution |
|
open val author: User
The author of the message. |
|
open val channel: TextChannel
The TextChannel of message |
|
abstract val command: Command
The Command that was executed |
|
abstract val commandClient: CommandClient
The CommandClient which has processed the command |
|
open val guild: Guild
The guild of the channel. |
|
open val jda: JDA
The JDA instance. |
|
open val me: Member
The self member of the bot. |
|
open val member: Member
The member of the author. |
|
abstract val message: Message
The message which invoked the command |
|
open val messageId: Long
The id of message |
|
open val selfUser: SelfUser
the SelfUser of the botz |
open fun notifyUserAboutPermissionError(): Unit
Sends the user an permission error via DM. |
|
open fun respond(content: String): MessageAction open fun respond(content: String, delay: Long, unit: TimeUnit = TimeUnit.SECONDS): CompletionStage<Message!> open fun respond(embed: MessageEmbed): MessageAction open fun respond(embed: MessageEmbed, delay: Long, unit: TimeUnit = TimeUnit.SECONDS): CompletionStage<Message!> open fun respond(embedBuilder: EmbedBuilder): MessageAction open fun respond(embedBuilder: EmbedBuilder, delay: Long, unit: TimeUnit = TimeUnit.SECONDS): CompletionStage<Message!> |
|
open fun sendUsage(): MessageAction
Sends a usage message. |