mirror of
https://github.com/fumiama/NanoBot.git
synced 2026-06-07 11:40:23 +08:00
add channel patch/delete
This commit is contained in:
@@ -9,10 +9,7 @@ func (bot *Bot) GetGeneralWSSGateway() (string, error) {
|
||||
U string `json:"url"`
|
||||
}{}
|
||||
err := bot.GetOpenAPI("/gateway", &resp)
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
return resp.U, nil
|
||||
return resp.U, err
|
||||
}
|
||||
|
||||
// ShardWSSGateway 带分片 WSS 接入点响应数据
|
||||
|
||||
Reference in New Issue
Block a user