1
0
mirror of https://github.com/fumiama/NanoBot.git synced 2026-06-06 03:00:24 +08:00

finish Init Connect

This commit is contained in:
源文雨
2023-10-15 01:09:02 +09:00
parent 5e3e113fdf
commit 82cf15fa8c

2
bot.go
View File

@@ -158,7 +158,7 @@ func (bot *Bot) Connect() {
go bot.doheartbeat()
}
// doheartbeat 按指定间隔进行心跳包
// doheartbeat 按指定间隔进行心跳包发
func (bot *Bot) doheartbeat() {
payload := struct {
Op OpCode `json:"op"`