Allow setting IgnoreExtraArgs on an individual basis (#998)
* Allow setting IgnoreExtraArgs on an individual basis
* Remove passing in the flag as a separate parameter
* VS plz
* Push the RunMode setting out to its own attribute, because fox wants consistency.
Bonus: Removes the need for that godawful 'RunMode.Default'.
* Revert previous commit
* Fox doesn't like module-wide switches 😒
This commit is contained in:
@@ -20,11 +20,5 @@ namespace Discord.Commands
|
||||
|
||||
/// <summary> Determines whether extra parameters should be ignored. </summary>
|
||||
public bool IgnoreExtraArgs { get; set; } = false;
|
||||
|
||||
///// <summary> Gets or sets the <see cref="IServiceProvider"/> to use. </summary>
|
||||
//public IServiceProvider ServiceProvider { get; set; } = null;
|
||||
|
||||
///// <summary> Gets or sets a factory function for the <see cref="IServiceProvider"/> to use. </summary>
|
||||
//public Func<CommandService, IServiceProvider> ServiceProviderFactory { get; set; } = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user