fix: find existing message before first update

This commit is contained in:
Niko Marmeladkov 2026-07-16 17:25:52 +03:00
parent 6bdfb65911
commit e3ad2224da
Signed by: Niko
GPG key ID: E3B955F9442D44E3

View file

@ -32,10 +32,10 @@ func NewStatusMonitor(s *discordgo.Session, cfg *Config) *StatusMonitor {
}
func (m *StatusMonitor) Start() {
m.updateStatus()
m.findExistingMessage()
m.updateStatus()
ticker := time.NewTicker(m.interval)
go func() {
for range ticker.C {