Răsfoiți Sursa

fix(cmd): use (*config.Config).Status instead

ayn2op 9 luni în urmă
părinte
comite
f594779f08
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      cmd/state.go

+ 1 - 1
cmd/state.go

@@ -24,7 +24,7 @@ func openState(token string) error {
 	api.UserAgent = props.BrowserUserAgent
 	gateway.DefaultIdentity = props
 	gateway.DefaultPresence = &gateway.UpdatePresenceCommand{
-		Status: app.cfg.Identify.Status,
+		Status: app.cfg.Status,
 	}
 
 	discordState = ningen.New(token)