Update DiscordService.cs

This commit is contained in:
Madpeter 2023-12-01 10:10:50 +00:00
parent 866e25e537
commit 74c64a3511

View file

@ -832,7 +832,7 @@ namespace SecondBotEvents.Services
return;
}
long dif = SecondbotHelpers.UnixTimeNow() - LastUpdatedSystemStatus;
if (dif < 15)
if (dif < 5)
{
return;
}
@ -840,7 +840,6 @@ namespace SecondBotEvents.Services
if ((e.changed == false) && (LastStatusMessageId != 0))
{
LastUpdatedSystemStatus = SecondbotHelpers.UnixTimeNow();
if (messageHasEndDot == false)
{
await statusChannel.