Package-level declarations
Types
Link copied to clipboard
用于测试的 Event 基类
Link copied to clipboard
用于测试的 BotEvent 实现
Link copied to clipboard
open class TestMessageEvent(var id: ID = UUID.random(), var bot: Bot = TestBot(), var authorId: ID = UUID.random(), var messageContent: MessageContent = TestMessageContent(), var onReplyText: (String) -> TestMessageReceipt = { TestMessageReceipt() }, var onReplyMessage: (Message) -> TestMessageReceipt = { TestMessageReceipt() }, var onReplyMessageContent: (MessageContent) -> TestMessageReceipt = { TestMessageReceipt() }) : MessageEvent, BaseTestEvent
用于测试的 MessageEvent 实现
Link copied to clipboard
open class TestMessageReceipt(var onDelete: (Array<out DeleteOption>) -> Unit = {}) : MessageReceipt