AbstractPluginCustomCommandSenderJ

abstract class AbstractPluginCustomCommandSenderJ(val owner: Plugin) : AbstractPluginCustomCommandSender

Constructors

Link copied to clipboard
fun AbstractPluginCustomCommandSenderJ(owner: Plugin)

Functions

Link copied to clipboard
suspend override fun sendMessage(message: String): Nothing?
abstract suspend fun sendMessage(message: Message): MessageReceipt<Contact>?

立刻发送一条消息.

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
open override val bot: Bot?

与这个 CommandSender 相关的 Bot. 当通过控制台执行时为 null.

Link copied to clipboard
open override val coroutineContext: CoroutineContext
Link copied to clipboard
open override val isAnsiSupported: Boolean

当前 SystemCommandSender 是否支持 Ansi 信息

Link copied to clipboard
open override val name: String
Link copied to clipboard
override val owner: Plugin
Link copied to clipboard
open override val permitteeId: PermitteeId
Link copied to clipboard
open override val subject: Contact?

与这个 CommandSender 相关的 Contact.

Link copied to clipboard
open override val user: User?

指令原始发送.