fix: use correct prop for ctx.Parameters
This commit is contained in:
parent
1567a74a44
commit
3b14d0b0d8
@ -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>();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user