|
@@ -46,7 +46,7 @@ namespace Discord.Commands |
|
|
_ignoreExtraArgs = config.IgnoreExtraArgs; |
|
|
_ignoreExtraArgs = config.IgnoreExtraArgs; |
|
|
_separatorChar = config.SeparatorChar; |
|
|
_separatorChar = config.SeparatorChar; |
|
|
_defaultRunMode = config.DefaultRunMode; |
|
|
_defaultRunMode = config.DefaultRunMode; |
|
|
_quotationMarkAliasMap = config.QuotationMarkAliasMap.ToImmutableDictionary(); |
|
|
|
|
|
|
|
|
_quotationMarkAliasMap = config.QuotationMarkAliasMap?.ToImmutableDictionary(); |
|
|
if (_defaultRunMode == RunMode.Default) |
|
|
if (_defaultRunMode == RunMode.Default) |
|
|
throw new InvalidOperationException("The default run mode cannot be set to Default."); |
|
|
throw new InvalidOperationException("The default run mode cannot be set to Default."); |
|
|
|
|
|
|
|
|