From 01d25ca391e77b90bf99b5aa2ca1b57196c09da7 Mon Sep 17 00:00:00 2001 From: Ske Date: Sun, 5 Jul 2020 13:01:38 +0200 Subject: [PATCH] Fix compiler warning in ShowBlacklisted --- PluralKit.Bot/Commands/ServerConfig.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/PluralKit.Bot/Commands/ServerConfig.cs b/PluralKit.Bot/Commands/ServerConfig.cs index b4f6d9bb..fd6c7298 100644 --- a/PluralKit.Bot/Commands/ServerConfig.cs +++ b/PluralKit.Bot/Commands/ServerConfig.cs @@ -87,8 +87,9 @@ namespace PluralKit.Bot } await ctx.Paginate(blacklist.ToAsyncEnumerable(), blacklist.Count, 25, $"Blacklisted channels for {ctx.Guild.Name}", - async (eb, l) => { - eb.Description += String.Join("\n", l); + (eb, l) => { + eb.Description += string.Join("\n", l); + return Task.CompletedTask; }); }