Simple Robot 组件 | KOOK
Toggle table of contents
4.1.1
common
Platform filter
common
Switch theme
Search in API
Simple Robot 组件 | KOOK
simbot-component-kook-core
/
love.forte.simbot.component.kook.bot
/
KookBotConfiguration
/
SyncPeriods
Sync
Periods
@
Serializable
data
class
SyncPeriods
(
val
guild
:
KookBotConfiguration.GuildSyncPeriod
=
GuildSyncPeriod()
)
(
source
)
内部缓存对象信息的同步周期信息。
周期内各个不同的任务独立执行,如果需要自定义同步周期,请同时考虑api是否可能达到调用频率上限。
Members
Constructors
Sync
Periods
Link copied to clipboard
constructor
(
guild
:
KookBotConfiguration.GuildSyncPeriod
=
GuildSyncPeriod()
)
Properties
guild
Link copied to clipboard
val
guild
:
KookBotConfiguration.GuildSyncPeriod