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"