diff --git a/broker/action.go b/broker/action.go index 705b981..cbfb00d 100644 --- a/broker/action.go +++ b/broker/action.go @@ -1,7 +1,7 @@ package main import ( - "../tg" + "github.com/hamcha/clessy/tg" ) func executeClientCommand(action tg.ClientCommand) { diff --git a/broker/clients.go b/broker/clients.go index cc05089..b91b904 100644 --- a/broker/clients.go +++ b/broker/clients.go @@ -7,7 +7,7 @@ import ( "log" "net" - "../tg" + "github.com/hamcha/clessy/tg" ) var clients []net.Conn diff --git a/broker/telegram.go b/broker/telegram.go index 28d7259..a54df4e 100644 --- a/broker/telegram.go +++ b/broker/telegram.go @@ -8,7 +8,7 @@ import ( "net/url" "strconv" - "../tg" + "github.com/hamcha/clessy/tg" ) const APIEndpoint = "https://api.telegram.org/" diff --git a/broker/webhook.go b/broker/webhook.go index 607b487..8cd037a 100644 --- a/broker/webhook.go +++ b/broker/webhook.go @@ -5,7 +5,7 @@ import ( "log" "net/http" - "../tg" + "github.com/hamcha/clessy/tg" ) func webhook(rw http.ResponseWriter, req *http.Request) { diff --git a/mods/main.go b/mods/main.go index 1bc0424..d9fec01 100644 --- a/mods/main.go +++ b/mods/main.go @@ -4,7 +4,7 @@ import ( "flag" "strings" - "../tg" + "github.com/hamcha/clessy/tg" ) func dispatch(broker *tg.Broker, update tg.APIMessage) { diff --git a/mods/metafora.go b/mods/metafora.go index a10d165..a76cc20 100644 --- a/mods/metafora.go +++ b/mods/metafora.go @@ -3,7 +3,7 @@ package main import ( "math/rand" - "../tg" + "github.com/hamcha/clessy/tg" ) var actions []string = []string{