Compare commits
2 Commits
7bd7e940ba
...
feat/kick
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
60d6572331 | ||
|
|
f0c2083bd7 |
@@ -25,8 +25,7 @@ func Run(sendFunc func(string)) {
|
|||||||
client := &http.Client{Transport: &http.Transport{Proxy: http.ProxyURL(proxyUrl)}}
|
client := &http.Client{Transport: &http.Transport{Proxy: http.ProxyURL(proxyUrl)}}
|
||||||
conf.Bot, err = tgbotapi.NewBotAPIWithClient(
|
conf.Bot, err = tgbotapi.NewBotAPIWithClient(
|
||||||
conf.GetBotSettings().BotToken,
|
conf.GetBotSettings().BotToken,
|
||||||
// tgbotapi.APIEndpoint,
|
tgbotapi.APIEndpoint,
|
||||||
conf.GetBotSettings().TGBotApi,
|
|
||||||
client)
|
client)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user