fix: use correct prop for ctx.Parameters

This commit is contained in:
spiral 2021-11-27 10:50:01 -05:00
parent 1567a74a44
commit 3b14d0b0d8
No known key found for this signature in database
GPG Key ID: A6059F0CA0E1BD31

View File

@ -21,8 +21,6 @@ public class Context
{
private readonly ILifetimeScope _provider;
private readonly Parameters _parameters;
private readonly IMetrics _metrics;
private readonly CommandMessageService _commandMessageService;
@ -43,7 +41,7 @@ public class Context
_metrics = provider.Resolve<IMetrics>();
_provider = provider;
_commandMessageService = provider.Resolve<CommandMessageService>();
_parameters = new Parameters(message.Content?.Substring(commandParseOffset));
Parameters = new Parameters(message.Content?.Substring(commandParseOffset));
Rest = provider.Resolve<DiscordApiClient>();
Cluster = provider.Resolve<Cluster>();
}