diff --git a/PluralKit.API/Modules.cs b/PluralKit.API/Modules.cs index 4577f5a4..b844dba4 100644 --- a/PluralKit.API/Modules.cs +++ b/PluralKit.API/Modules.cs @@ -6,7 +6,8 @@ namespace PluralKit.API { protected override void Load(ContainerBuilder builder) { - builder.RegisterType().AsSelf(); + // Lifetime scope so the service, RequiresSystem, and handler itself all get the same value + builder.RegisterType().AsSelf().InstancePerLifetimeScope(); } } } \ No newline at end of file