simple-robot-component-tencent-guild
3.0.0.0-alpha.3
simbot-component-tencent-guild-core
/
love.forte.simbot.component.tencentguild
/
TencentGuildBotManagerConfiguration
/
register
register
abstract
fun
register
(
appId
:
String
,
appKey
:
String
,
token
:
String
,
botConfiguration
:
TencentGuildBotConfiguration
.
(
)
->
Unit
=
{}
,
onBot
:
suspend
(
TencentGuildComponentBot
)
->
Unit
)
提供
appId
、
appKey
、
token
和
配置信息
来预注册一个bot。
Parameters
on
Bot
当bot被注册后的回调函数。