1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-01-31 09:09: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; if (messageParam is not SocketUserMessage { Author: SocketGuildUser user } message) return;
var guild = user.Guild; var guild = user.Guild;
var guildConfig = Boyfriend.GetGuildConfig(guild.Id);
Utils.SetCurrentLanguage(guild.Id); Utils.SetCurrentLanguage(guild.Id);
@ -70,7 +69,6 @@ public class EventHandler {
return; return;
} }
var argPos = 0;
var prev = ""; var prev = "";
var prevFailsafe = ""; var prevFailsafe = "";
var prevs = await message.Channel.GetMessagesAsync(3).FlattenAsync(); var prevs = await message.Channel.GetMessagesAsync(3).FlattenAsync();