Simple Robot Component Tencent Guild
3.2.0.0
jvm
simbot-component-qq-guild-core-common
/
love.forte.simbot.component.qguild
/
QQGuildBotManagerConfiguration
/
register
register
abstract
fun
register
(
appId
:
String
,
appKey
:
String
,
token
:
String
,
botConfiguration
:
QGBotComponentConfiguration
.
(
)
->
Unit
=
{}
,
onBot
:
suspend
(
QGBot
)
->
Unit
)
(
source
)
提供
appId
、
appKey
、
token
和
配置信息
来预注册一个bot。
Parameters
on
Bot
当bot被注册后的回调函数。