From 3ba6a115f02889c6adf28390f6e15830bb239fb4 Mon Sep 17 00:00:00 2001 From: Ske Date: Sat, 25 Jan 2020 17:40:41 +0100 Subject: [PATCH] Correct autoproxy escape character --- PluralKit.Bot/Services/ProxyService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Services/ProxyService.cs b/PluralKit.Bot/Services/ProxyService.cs index 1c00de37..8c06303c 100644 --- a/PluralKit.Bot/Services/ProxyService.cs +++ b/PluralKit.Bot/Services/ProxyService.cs @@ -169,7 +169,7 @@ namespace PluralKit.Bot private async Task GetAutoproxyMatch(IMessage message, IGuildChannel channel) { // For now we use a backslash as an "escape character", subject to change later - if ((message.Content ?? "").TrimStart().StartsWith("\"")) return null; + if ((message.Content ?? "").TrimStart().StartsWith("\\")) return null; // Fetch info from the cache, bail if we don't have anything (either no system or no autoproxy settings - AP defaults to off so this works) var autoproxyCache = await _autoproxyCache.GetGuildSettings(message.Author.Id, channel.GuildId);