DownloadBot
DownloadBot copied to clipboard
(Currently) 🤖 A distributed cross-platform Telegram Bot that can control your Aria2 server, control server files and also upload to OneDrive / Google Drive.
这是我的config.json { "aria2-server": "ws://127.0.0.1:6800/jsonrpc", "aria2-key": "xxx", "bot-key": "123:xxx", "user-id": "123", "max-index": 10, "sign": "Main Aria2", "language": "zh-CN", "downloadFolder": "/root/Download", "moveFolder":"/root/OneDrive" } 但是文件并没有下载到/root/Download下,而是下载到了/usr/local/caddy/www/aria2/Download/下
希望可以指定配置文件路径,这样可以用 systemctl 控制后台运行,或者现在用什么保证后台运行,screen? 使用多台服务器连接同一个机器人时,会报错,那么一台服务器还是要一个机器人吗? 2021/04/02 23:42:14 Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2021/04/02 23:42:14 Failed to get updates, retrying in 3...
无法正常使用
其实我的用途非常简单,只想用TG看下载进度而已,报错了~ 能修复一下吗,系统 Ubuntu20.04,出错代码: 2022/08/31 01:33:17 Too Many Requests: retry after 42 panic: Too Many Requests: retry after 42 goroutine 589 [running]: log.Panic(0xc00020d9f8, 0x1, 0x1) D:/program_app/go/src/log/log.go:351 +0xac main.dropErr(...) D:/program_data/go/DownloadBot/main.go:14 main.activeRefresh.func1(0x0, 0x26b9095f,...
如题所述,使用自建接入点可以避免代理抽风导致的程序异常 ```golang bot, err:= tgbotapi.NewBotAPIWithAPIEndpoint("token", "apiEndpointURL") ```
无法正常运行
 使用Start或者转发文件就会崩溃 2023-02-22 03:14:09 INFO 服务器监听在 [::]:23369 2023-02-22 03:14:11 INFO 与 http://10.32.0.151:6800/jsonrpc 连接中 2023-02-22 03:14:11 INFO Aria2 websocket连接已建立!Aria2版本:1.36.0 2023-02-22 03:14:11 INFO 已登入授权账户 xx 2023-02-22 03:14:36 PANIC %!w(*tgbotapi.Error=&{400 Bad Request: can't...
2022/12/21 16:27:21 配置資訊載入完成! 2022/12/21 16:27:21 與 ws://127.0.0.1:6800/jsonrpc 連接中 2022/12/21 16:27:21 Aria2 websocket連接已建立!Aria2版本:1.36.0 2022/12/21 16:27:21 已登入授權帳戶 xx_bot panic: message "tgCommandSetMaxLengthDes" not found in language "zh-TW" goroutine 25 [running]: github.com/nicksnyder/go-i18n/v2/i18n.(*Localizer).MustLocalize(0x5efea6, 0x0) /root/ceshi/DownloadBot/vendor/github.com/nicksnyder/go-i18n/v2/i18n/localizer.go:211...