diff --git a/bot/ctx.go b/bot/ctx.go index c167da8..ad413e2 100644 --- a/bot/ctx.go +++ b/bot/ctx.go @@ -227,7 +227,7 @@ func Start( return nil, errors.Wrap(err, "failed to create shard manager") } - if err := m.Open(context.Background()); err == nil { + if err := m.Open(context.Background()); err != nil { return nil, errors.Wrap(err, "failed to open") }