mirror of
https://github.com/awfufu/qbot.git
synced 2026-03-01 13:29:43 +08:00
feat: Adapted to Napcat message sending interface
This commit is contained in:
@@ -3,7 +3,7 @@ package api
|
||||
import "encoding/json"
|
||||
|
||||
func GetVersionInfo(c Client) (*VersionInfo, error) {
|
||||
data, err := c.Send("get_version_info", nil)
|
||||
data, err := c.SendParams("get_version_info", nil)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user