ReplyScope

class ReplyScope(sender: Sender, message: Message, cs: CoroutineScope) : CoroutineScope

Used in CommandScope.reply.

Constructors

Link copied to clipboard
fun ReplyScope(sender: Sender, message: Message, cs: CoroutineScope)

Functions

Link copied to clipboard
suspend operator fun Subcommand.invoke(vararg args: String): CommandResponse

Can be used to run a Subcommand with the current sender.

Link copied to clipboard
fun link(link: String): String

Formats a link.

Properties

Link copied to clipboard
open override val coroutineContext: CoroutineContext
Link copied to clipboard
val message: Message
Link copied to clipboard
val reactions: MutableList<String>

The reactions to add to the message. This only has an effect on Discord.

Link copied to clipboard
val sender: Sender