Skip to content

Commit dc4d7f0

Browse files
authored
Update main.go
1 parent 14ea0a9 commit dc4d7f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/monolith/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func main() {
6363
in := 15 * time.Minute
6464
notifyFunc(notifyChan, prayersData, in)
6565
notifyFunc(notifyChan, prayersData, 0)
66-
time.Sleep(10 * time.Second)
66+
time.Sleep(31 * time.Second)
6767

6868
}
6969

@@ -99,7 +99,7 @@ out:
9999
// discord msgs dispatcher
100100
case msg := <-msgs:
101101
fmt.Printf("%v, operation received from discord: %s\n", time.Now(), msg)
102-
if strings.HasPrefix(msg, "obs-") {
102+
if strings.HasPrefix(msg, "rec-") {
103103
if config.Features.Record {
104104
fmt.Println("feature enabled")
105105
err := obs.DispatchOperation(msg)

0 commit comments

Comments
 (0)