hotfix: error "Webhook not found"

This commit is contained in:
Дмитрий Шиманский
2023-11-04 22:00:36 +03:00
parent 7f0728ce1a
commit e6d58309d3
2 changed files with 4 additions and 1 deletions

View File

@@ -38,7 +38,7 @@ namespace DiscordApp
}
public async Task onReady()
{
ChangeNicknames();
await ChangeNicknames();
var myTimer = new System.Timers.Timer(6 * 60 * 60 * 1000); //calculate six hours in milliseconds
myTimer.Elapsed += new ElapsedEventHandler(OnTimedEvent);
myTimer.Start();