Skip to content

Commit

Permalink
fix: BotManagerFactory 没有实现 PluginFactory 的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed Jan 27, 2024
1 parent 8cb8ad5 commit e4699a3
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import love.forte.simbot.ability.CompletionAware
import love.forte.simbot.ability.LifecycleAware
import love.forte.simbot.common.function.MergeableFactory
import love.forte.simbot.common.id.ID
import love.forte.simbot.plugin.PluginConfigureContext
import love.forte.simbot.plugin.PluginFactory
import love.forte.simbot.suspendrunner.ST

Expand Down Expand Up @@ -112,8 +111,7 @@ public interface BotManager : AutoConfigurableBotPlugin, LifecycleAware, Complet
* @param P 目标类型
* @param CONF 配置类型。配置类型应是一个可变类,以便于在 DSL 中进行动态配置。
*/
public interface BotManagerFactory<P : BotManager, CONF : Any> :
MergeableFactory<BotManagerFactory.Key, P, CONF, PluginConfigureContext> {
public interface BotManagerFactory<P : BotManager, CONF : Any> : PluginFactory<P, CONF> {
/**
* 用于 [BotManagerFactory] 在内部整合时的标识类型。
*
Expand Down

0 comments on commit e4699a3

Please sign in to comment.