From 134829b263fbbaf497ffa43cfa4640cc543b5b16 Mon Sep 17 00:00:00 2001 From: Ske Date: Fri, 23 Oct 2020 11:17:35 +0200 Subject: [PATCH] Fix build error --- PluralKit.Bot/Commands/ServerConfig.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Commands/ServerConfig.cs b/PluralKit.Bot/Commands/ServerConfig.cs index 2e1cdb88..c260b56a 100644 --- a/PluralKit.Bot/Commands/ServerConfig.cs +++ b/PluralKit.Bot/Commands/ServerConfig.cs @@ -26,7 +26,7 @@ namespace PluralKit.Bot { ctx.CheckGuildContext().CheckAuthorPermission(Permissions.ManageGuild, "Manage Server"); - if (ctx.MatchClear()) + if (await ctx.MatchClear()) { await _db.Execute(conn => _repo.UpsertGuild(conn, ctx.Guild.Id, new GuildPatch {LogChannel = null})); await ctx.Reply($"{Emojis.Success} Proxy logging channel cleared.");