mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Fix build error
This commit is contained in:
parent
b8e447274a
commit
134829b263
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ namespace PluralKit.Bot
|
||||||
{
|
{
|
||||||
ctx.CheckGuildContext().CheckAuthorPermission(Permissions.ManageGuild, "Manage Server");
|
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 _db.Execute(conn => _repo.UpsertGuild(conn, ctx.Guild.Id, new GuildPatch {LogChannel = null}));
|
||||||
await ctx.Reply($"{Emojis.Success} Proxy logging channel cleared.");
|
await ctx.Reply($"{Emojis.Success} Proxy logging channel cleared.");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue