bot can hear sounds now. add some motion API.

This commit is contained in:
JunDao
2019-05-04 00:11:24 +08:00
parent b1422863d0
commit c8505386c6
5 changed files with 865 additions and 38 deletions

View File

@ -32,7 +32,7 @@ func onGameStart() error {
return nil //if err isn't nil, HandleGame() will return it.
}
func onChatMsg(c chat.Message) error {
func onChatMsg(c chat.Message, pos byte) error {
log.Println("Chat:", c)
return nil
}