1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-01-31 00:19:00 +03:00

Remove unused variables

This commit is contained in:
Octol1ttle 2022-08-05 21:28:50 +05:00
parent b2b54b7fd4
commit c57b845217
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF

View file

@ -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())));
}
}
}