command
module
Version:
v0.2.1
Opens a new window with list of versions in this module.
Published: Mar 26, 2020
License: BSD-2-Clause
Opens a new window with license information.
Imports: 21
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
fkbro
Telegram Bot @btcinfo_kirito_bot 暴躁老哥 BTC信息、行情查询机器人
预览
- 在
Telegram
中搜索 @btcinfo_kirito_bot
即可添加机器人
/help
获取操作方法
- 可以把机器人添加到群组
- 链上资金监控请关注频道
@fkbrolive
图片可能和最新版本不符合:
编译
- 进入到项目的根目录
- 执行
go build -o fkbro.exe github.com/zshorz/fkbro
运行
- 在
telegram
中搜索@BotFather
按步骤申请机器人,得到token
- 填写配置文件
config.json
bot_token
- 机器人token
proxy
- 国内无法连接telegram
服务器,可配置代理
socks5://127.0.0.1:1080
http://127.0.0.1:1081
static_path
- /static
文件夹的路径,要确保程序运行时可以找到
bot_owner
- 机器人拥有者,填telegram用户名
whale_apikey
- rss功能需要的apikey,WhaleAlert,留空为不启用
- 启用后,要用
setup.sql
初始化mysql数据库
- 并填写相关设置
rss
- 服务器启动时,这些频道自动订阅
- 其余保持默认
- 执行
./fkbro.exe -c config.json
,也可以不用-c
参数,默认执行目录下config.json
- release 里已经为Linux提供了编译好的二进制文件
关于
- 版本号格式
x.y.z
- y
为偶数的是稳定版本
- donate -
17MaxVm9Zm8WQfHrrgA2LVzuEDdSL6AZVN
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.