mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix: use correct prop for ctx.Parameters
This commit is contained in:
parent
1567a74a44
commit
3b14d0b0d8
1 changed files with 1 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue