Add improve webhook integration

This commit is contained in:
2024-03-06 21:40:23 +01:00
parent 355b95e544
commit ee1bb762fb
3 changed files with 70 additions and 1 deletions

View File

@@ -67,6 +67,9 @@ func (discord *Discord) Run() error {
}
})
// Validate state
discord.RefreshWebhookState()
// Keep alive
discord.stop = make(chan os.Signal, 1)
signal.Notify(discord.stop, os.Interrupt)