Fix build error

This commit is contained in:
Ske 2020-10-23 11:17:35 +02:00
parent b8e447274a
commit 134829b263

View File

@ -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.");