fix-startup #77

Merged
werewolfkid merged 13 commits from fix-startup into main 2025-10-21 00:38:49 -04:00
11 changed files with 180 additions and 124 deletions
Showing only changes of commit 57b64e9b5e - Show all commits

View File

@@ -83,7 +83,10 @@ async function startWebhook(config: WebhookConfig) {
}
try {
if (config.isWebhookMode) await startWebhook(config);
if (config.isWebhookMode)
await setTimeout(() => {
if (config.isWebhookMode) startWebhook(config);
}, 20000);
else if (config.isPollingMode) await startPolling(config);
} catch (error) {
logger.error(error);