From 393f82979985bdb009fba61a117eb2a3c5212b15 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 29 Dec 2019 11:04:05 +0800 Subject: [PATCH] update --- def.go | 2 -- main.go | 2 +- td.go | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/def.go b/def.go index 1c40aee..3926e26 100644 --- a/def.go +++ b/def.go @@ -2,8 +2,6 @@ package main import ( "time" - - tb "gopkg.in/tucnak/telebot.v2" ) type ChatWarsMessage struct { diff --git a/main.go b/main.go index e23c561..863e4ec 100644 --- a/main.go +++ b/main.go @@ -65,6 +65,6 @@ func main() { ownUserID32 = OwnUserID(client) ownUserID64 = int64(OwnUserID(client)) - getHistory(client, chtwrsID64) + getHistory(client, &chtwrsID64) } diff --git a/td.go b/td.go index d9e63c4..b76a7c3 100644 --- a/td.go +++ b/td.go @@ -1,7 +1,7 @@ package main import ( - "encoding/json" + // "encoding/json" "fmt" "log" "math"