@IbTagBot
Telegram 标签分词机器人
标签分词
内联查询模式
在聊天框中输入:
@IbTagBot 白发红眼美少女 白发 红眼 美少女 #白发红眼美少女
机器人会对第一个词组进行选择性分词,对 #
开头的词组进行分词,再为每个词语加上 #
前缀,返回两个选项:
管理员模式
自动对频道或群组消息中的标签进行分词。
例如,当发送以下消息时:
想看##白发红眼美少女 吗?
它将被机器人自动编辑为:
你也可以对机器人编辑后的消息进行二次编辑,括号中的内容会被自动更新。
Deployment
git clone https://github.com/Chaoses-Ib/IbTagBot.git
cd IbTagBot
pip3 install -r requirements.txt
echo [YOUR_API_ID] >> token.txt
echo [YOUR_API_HASH] >> token.txt
echo [YOUR_BOT_TOKEN] >> token.txt
python3 bot.py