Skip to content

Commit

Permalink
改用正向ws
Browse files Browse the repository at this point in the history
  • Loading branch information
aimerneige committed May 8, 2024
1 parent 56ed9e6 commit 593aa7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/bootstrap/bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ func StartBot() {
CommandPrefix: common.CommandPrefix,
SuperUsers: common.SuperUsers,
Driver: []zero.Driver{
// 反向 WS
driver.NewWebSocketServer(16, common.WSServer, common.WSToken),
// 正向 WS
driver.NewWebSocketClient(common.WSServer, common.WSToken),
},
}, nil)
}

0 comments on commit 593aa7b

Please sign in to comment.