Update DiscordService.cs
This commit is contained in:
parent
866e25e537
commit
74c64a3511
1 changed files with 1 additions and 2 deletions
|
|
@ -832,7 +832,7 @@ namespace SecondBotEvents.Services
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
long dif = SecondbotHelpers.UnixTimeNow() - LastUpdatedSystemStatus;
|
long dif = SecondbotHelpers.UnixTimeNow() - LastUpdatedSystemStatus;
|
||||||
if (dif < 15)
|
if (dif < 5)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -840,7 +840,6 @@ namespace SecondBotEvents.Services
|
||||||
if ((e.changed == false) && (LastStatusMessageId != 0))
|
if ((e.changed == false) && (LastStatusMessageId != 0))
|
||||||
{
|
{
|
||||||
LastUpdatedSystemStatus = SecondbotHelpers.UnixTimeNow();
|
LastUpdatedSystemStatus = SecondbotHelpers.UnixTimeNow();
|
||||||
|
|
||||||
if (messageHasEndDot == false)
|
if (messageHasEndDot == false)
|
||||||
{
|
{
|
||||||
await statusChannel.
|
await statusChannel.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue