diff --git a/PluralKit.Bot/Bot.cs b/PluralKit.Bot/Bot.cs index e64c5373..f9f76270 100644 --- a/PluralKit.Bot/Bot.cs +++ b/PluralKit.Bot/Bot.cs @@ -1,4 +1,5 @@ using System; +using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Diagnostics; @@ -57,7 +58,19 @@ namespace PluralKit.Bot .AddSingleton() .AddSingleton() - .AddTransient() + .AddTransient(_ => new CommandService(new CommandServiceConfig + { + CaseSensitiveCommands = false, + QuotationMarkAliasMap = new Dictionary + { + {'"', '"'}, + {'\'', '\''}, + {'‘', '’'}, + {'“', '”'}, + {'„', '‟'}, + }, + DefaultRunMode = RunMode.Async + })) .AddTransient() .AddTransient() .AddTransient()