This commit is contained in:
shoopea 2019-12-29 11:04:05 +08:00
parent dc05afef36
commit 393f829799
3 changed files with 2 additions and 4 deletions

2
def.go
View File

@ -2,8 +2,6 @@ package main
import ( import (
"time" "time"
tb "gopkg.in/tucnak/telebot.v2"
) )
type ChatWarsMessage struct { type ChatWarsMessage struct {

View File

@ -65,6 +65,6 @@ func main() {
ownUserID32 = OwnUserID(client) ownUserID32 = OwnUserID(client)
ownUserID64 = int64(OwnUserID(client)) ownUserID64 = int64(OwnUserID(client))
getHistory(client, chtwrsID64) getHistory(client, &chtwrsID64)
} }

2
td.go
View File

@ -1,7 +1,7 @@
package main package main
import ( import (
"encoding/json" // "encoding/json"
"fmt" "fmt"
"log" "log"
"math" "math"