mirror of
https://github.com/LamGC/ScalaBot.git
synced 2025-07-03 05:47:24 +00:00
feat(database): 更改数据库命名方式.
由于 BotToken 可以更换, 所以旧版命名方式将会有迁移的问题, 故更改为通过 Bot AccountId 来命名数据库. CLOSED #3
This commit is contained in:
@ -112,7 +112,7 @@ internal class Launcher : AutoCloseable {
|
||||
)
|
||||
|
||||
val bot = ScalaBot(
|
||||
BotDBMaker.getBotMaker(account),
|
||||
BotDBMaker.getBotDbInstance(account),
|
||||
botOption,
|
||||
extensionPackageFinders,
|
||||
botConfig
|
||||
|
Reference in New Issue
Block a user