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:
parent
b2b54b7fd4
commit
c57b845217
1 changed files with 1 additions and 3 deletions
|
@ -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())));
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue