trbot Channel
13 subscribers
2 photos
7 links
当前机器人 @trvoicebot
测试群组兼讨论群
https://t.me/+BomkHuFsjqc3ZGE1
Download Telegram
Channel created
Channel name was changed to «trbot Channel»
虽然可能没有人发现,但机器人现在已经支持将 webm 格式的动画贴纸转换成 GIF 文件了

不过出于服务器性能考虑,还不允许打包下载的时候转换

转换过程由 ffmpeg 完成
Please open Telegram to view this post
VIEW IN TELEGRAM
合并了一个月前创建的合并请求,现在机器人的 log 已经 99% 都是由 zerolog 输出的了
1:32AM INF Read config file from default path defaultConfigPath=./config.yaml
1:32AM INF Get token from environment botTokenID=7276415954
1:32AM WRN Get FFmpegPath from environment FFmpegPath=/root/ffmpeg/bin/ffmpeg
1:32AM INF Use mult log writer logFileLevel=warn logFilePath=./db_yaml/log.txt
1:32AM INF Admin list is set AdminIDs=[1086395364,2074319561]
1:32AM INF Allowed updates list is set allowedUpdates=["message","edited_message","channel_post","edited_channel_post","inline_query","chosen_inline_result","callback_query"]
1:32AM INF FFmpeg path is set FFmpegPath=/root/ffmpeg/bin/ffmpeg
1:32AM INF Inline mode config has been read DefaultHandler=voice PaginationSymbol=- ResultsPerPage=50 SubCommandSymbol=+
1:32AM INF trbot branch=alpha buildAt="2025-07-04 01:32:35+08:00" buildOn=racknerd-9ae746 changes=1 commit=c21de3fcb1ef49e7b65c5bd95276412e93b013d2 logLevel=info runtime=go1.23.5 version=c21de3f
1:32AM INF Bot initialized user={"ID":7276415954,"name":"??","username":"trvoicebot"}
1:32AM ERR Failed to initialize database error="failed to ping Redis [0] database: dial tcp [::1]:6379: connect: connection refused" database=redis
1:32AM INF Database initialized database=yaml databaseLevel=low
1:32AM INF Available databases highLevel=0 lowLevel=1
1:32AM INF Plugin initialize success pluginName="Detect Keyword"
1:32AM INF Plugin initialize success pluginName="Limit Message"
1:32AM INF TeamSpeak server connected build=1655727713 funcName=initTeamSpeak platform=Linux pluginName=teamspeak3 version=3.13.7
1:32AM INF Plugin initialize success pluginName=teamspeak
1:32AM INF Plugin initialize success pluginName=Udonese
1:32AM INF Plugin initialize success pluginName=VoiceList
1:32AM INF Plugin initialize success pluginName="Saved Message"
1:32AM INF Run (6/6) initializer success
1:32AM INF Working at Webhook Mode listenAddress=localhost:2847

当然这都是后端的事情,今天主要的更新内容其实是能将贴纸存档到频道里了,为此我创建了一个频道来存档贴纸 https://t.me/trbot_stickercollect

不过这个功能并不对非管理员用户开放,除此之外给机器人发贴纸包还是能随便下自己想要的贴纸包
今天更新了什么:
降低了稳定性,提高了无法处理请求的概率
今天更新了什么:
仿照 @soutubot 搜图机器人做了一个功能,当你给机器人发送图片时,可以获得各个搜索引擎的搜图链接

关于搜图的功能只有提供搜图链接,没有原 bot 那种自动搜图功能

感谢 @soutubot @soutubot_ch
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
今天更新了什么:
降低了稳定性,提高了无法处理请求的概率

计划在月底公开代码仓库
今天更新了什么:

启用了收藏功能的用户,直接给 bot 发信息,会有一个按钮可以直接保存,不需要再回复消息发送 /save 命令
1