mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 10:18:27 -04:00
Fixed around 140 wrong namings and other refactorings which were marked as warnings
This commit is contained in:
@@ -87,8 +87,8 @@ public partial class Administration : NadekoModule<AdministrationService>
|
||||
channels.Select(x =>
|
||||
{
|
||||
var ch = guild.GetChannel(x.ChannelId)?.ToString() ?? x.ChannelId.ToString();
|
||||
var prefix = x.State ? "✅ " : "❌ ";
|
||||
return prefix + ch;
|
||||
var prefixSign = x.State ? "✅ " : "❌ ";
|
||||
return prefixSign + ch;
|
||||
}));
|
||||
|
||||
if (string.IsNullOrWhiteSpace(str))
|
||||
@@ -319,7 +319,7 @@ public partial class Administration : NadekoModule<AdministrationService>
|
||||
}
|
||||
else if (time.Time <= TimeSpan.FromDays(7))
|
||||
{
|
||||
var _ = Task.Run(async () =>
|
||||
_= Task.Run(async () =>
|
||||
{
|
||||
await Task.Delay(time.Time);
|
||||
await msg.DeleteAsync();
|
||||
|
Reference in New Issue
Block a user