Notify birthdays 6 hours later, so that Americans whine less.
This commit is contained in:
parent
3b9c7808d5
commit
e95b63c24b
|
@ -83,7 +83,7 @@ namespace DeukBot4.Database
|
||||||
// ReSharper disable once FunctionRecursiveOnAllPaths
|
// ReSharper disable once FunctionRecursiveOnAllPaths
|
||||||
public static async Task CheckBirthdays()
|
public static async Task CheckBirthdays()
|
||||||
{
|
{
|
||||||
var today = DateTime.UtcNow.Date;
|
var today = DateTime.UtcNow.Date - new TimeSpan(6, 0 , 0);
|
||||||
while (!Program.IsConnected)
|
while (!Program.IsConnected)
|
||||||
{
|
{
|
||||||
await Task.Delay(500);
|
await Task.Delay(500);
|
||||||
|
|
Loading…
Reference in New Issue