From c57b8452176ab47cddc91612e622141defe92684 Mon Sep 17 00:00:00 2001 From: Octol1ttle Date: Fri, 5 Aug 2022 21:28:50 +0500 Subject: [PATCH] Remove unused variables --- Boyfriend/EventHandler.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Boyfriend/EventHandler.cs b/Boyfriend/EventHandler.cs index d47ff07..91b8a25 100644 --- a/Boyfriend/EventHandler.cs +++ b/Boyfriend/EventHandler.cs @@ -59,7 +59,6 @@ public class EventHandler { if (messageParam is not SocketUserMessage { Author: SocketGuildUser user } message) return; var guild = user.Guild; - var guildConfig = Boyfriend.GetGuildConfig(guild.Id); Utils.SetCurrentLanguage(guild.Id); @@ -70,7 +69,6 @@ public class EventHandler { return; } - var argPos = 0; var prev = ""; var prevFailsafe = ""; var prevs = await message.Channel.GetMessagesAsync(3).FlattenAsync(); @@ -178,4 +176,4 @@ public class EventHandler { await channel.SendMessageAsync(string.Format(Messages.EventCompleted, Utils.Wrap(scheduledEvent.Name), Utils.Wrap(scheduledEvent.StartTime.Subtract(DateTimeOffset.Now).Negate().ToString()))); } -} +} \ No newline at end of file