浏览代码

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

ayn2op 9 月之前
父节点
当前提交
f594779f08
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)