toggle menu
simbot-test
4.0.0-dev12
common
switch theme
search in API
simbot-test
/
love.forte.simbot.test.bot
/
TestBotManager
Test
Bot
Manager
open
class
TestBotManager
(
component
:
TestComponent
,
configuration
:
TestBotManagerConfiguration
,
job
:
Job
)
:
JobBasedBotManager
用于测试的
BotManager
实现。
Author
ForteScarlet
Members
Constructors
Test
Bot
Manager
Link copied to clipboard
constructor
(
component
:
TestComponent
,
configuration
:
TestBotManagerConfiguration
,
job
:
Job
)
Types
Factory
Link copied to clipboard
object
Factory
:
BotManagerFactory
<
TestBotManager
,
TestBotManagerConfiguration
>
Properties
is
Active
Link copied to clipboard
open
override
val
isActive
:
Boolean
is
Completed
Link copied to clipboard
open
override
val
isCompleted
:
Boolean
Functions
all
Link copied to clipboard
open
fun
all
(
id
:
ID
)
:
Sequence
<
Bot
>
open
override
fun
all
(
)
:
Sequence
<
TestBot
>
cancel
Link copied to clipboard
open
override
fun
cancel
(
cause
:
Throwable
?
)
configurable
Link copied to clipboard
open
override
fun
configurable
(
configuration
:
SerializableBotConfiguration
)
:
Boolean
find
Link copied to clipboard
open
fun
find
(
id
:
ID
)
:
Bot
?
get
Link copied to clipboard
open
operator override
fun
get
(
id
:
ID
)
:
TestBot
join
Link copied to clipboard
open
suspend override
fun
join
(
)
on
Completion
Link copied to clipboard
open
override
fun
onCompletion
(
handle
:
OnCompletion
)
register
Link copied to clipboard
open
override
fun
register
(
configuration
:
SerializableBotConfiguration
)
:
TestBot