mirror of
https://github.com/LamGC/ScalaBot.git
synced 2025-04-29 22:27:31 +00:00
feat(bot): 增加 accountId 属性.
增加该属性有利于其他组件对机器人账户进行标记.
This commit is contained in:
parent
9cdf10ccc2
commit
29bd12a8dd
@ -30,6 +30,7 @@ internal class ScalaBot(
|
||||
extensionFinders: Set<ExtensionPackageFinder>,
|
||||
botConfig: BotConfig,
|
||||
private val creatorId: Long = botConfig.account.creatorId,
|
||||
val accountId: Long = botConfig.account.id,
|
||||
val extensions: Set<Artifact> = botConfig.extensions
|
||||
) :
|
||||
AbilityBot(
|
||||
|
Loading…
Reference in New Issue
Block a user