flytrap / telegram-bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

telegram-bot

tg bot

生成命令

依赖注入

wire ./internal

生成 proto 文件

protoc -I=pb --go_out=pb/v1 --go_opt=paths=source_relative --go-grpc_out=pb/v1 --go-grpc_opt=paths=source_relative pb/tg.proto

run

docker run -it --rm -p 7007:7007 -v $PWD/config:/app/config tg-bot:0.0.1

feature

[x] 日志记录,统计关键词搜索 [x] 广告词条, 分为全局广告和,关键词广告(关键词没有的情况下,显示全局广告)

About


Languages

Language:Go 98.8%Language:Dockerfile 1.0%Language:Shell 0.1%