TestBotManager

open class TestBotManager(component: TestComponent, configuration: TestBotManagerConfiguration, val job: Job) : JobBasedBotManager(source)

用于测试的 BotManager 实现。

Author

ForteScarlet

Constructors

Link copied to clipboard
constructor(component: TestComponent, configuration: TestBotManagerConfiguration, job: Job)

Types

Properties

Link copied to clipboard
protected open override val job: Job

Inherited properties

Link copied to clipboard
open override val isActive: Boolean
Link copied to clipboard
open override val isCompleted: Boolean

Functions

Link copied to clipboard
open override fun all(): Sequence<TestBot>
Link copied to clipboard
open override fun configurable(configuration: SerializableBotConfiguration): Boolean
Link copied to clipboard
open operator override fun get(id: ID): TestBot
Link copied to clipboard
open override fun register(configuration: SerializableBotConfiguration): TestBot

Inherited functions

Link copied to clipboard
open fun all(id: ID): Sequence<Bot>
Link copied to clipboard
open fun allToList(): List<Bot>
open fun allToList(id: ID): List<Bot>
Link copied to clipboard
Link copied to clipboard
open override fun cancel(cause: Throwable?)
Link copied to clipboard
open fun find(id: ID): Bot?
Link copied to clipboard
open suspend override fun join()
Link copied to clipboard
open override fun onCompletion(handle: OnCompletion)