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