mirror of
https://github.com/GMWalletApp/epusdt.git
synced 2026-07-07 10:16:15 +00:00
Merge pull request #6 from tmpMeM/main
bot poller time.second ,synchronous true
This commit is contained in:
@@ -15,7 +15,8 @@ func BotStart() {
|
||||
var err error
|
||||
botSetting := tb.Settings{
|
||||
Token: config.TgBotToken,
|
||||
Poller: &tb.LongPoller{Timeout: 10 * time.Second},
|
||||
Poller: &tb.LongPoller{Timeout: 50 * time.Second},
|
||||
Synchronous: true,
|
||||
}
|
||||
if config.TgProxy != "" {
|
||||
botSetting.URL = config.TgProxy
|
||||
|
||||
Reference in New Issue
Block a user