Coder Social home page Coder Social logo

iq-scm / tg-keyword-reply-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zu1k/tg-keyword-reply-bot

0.0 0.0 0.0 51 KB

Telegram关键词自动回复机器人: 根据群组管理员设定的关键词或者正则规则,自动回复文字、图片、文件或者进行永久禁言、临时禁言、踢出等群管操作

Home Page: https://t.me/keyword_reply_bot

License: MIT License

Go 96.72% Makefile 1.65% Dockerfile 1.62%

tg-keyword-reply-bot's Introduction


Telegram 关键词自动回复机器人

基本命令

  • 添加关键词回复规则 /add 关键词===回复内容 或者 /add 关键词1||关键词2===回复内容
  • 关键词可以使用正则表达式,例如/add re:p([a-z]+)ch===测试正则,就会匹配规则p([a-z]+)ch
  • 删除关键词规则 /del 关键词 暂不支持一次性删除多个关键词
  • 自动删除含有关键词的文字消息, 只需要将回复内容设置成 delete, 并给机器人添加删除消息权限
  • 使用/list命令可以查看本群内所有自动回复规则
  • 给机器人添加删除消息和踢人的管理权限,可以自动防清真(阿拉伯语)

回复特殊内容

  • 回复内容支持文字\图片\GIF\视频,默认文字
  • 如需图片,回复内容设置成photo:https://t.me/c/1472018167/53095,https://t.me/c/1472018167/53095是已经发送过的图片获取到的链接
  • 同理,gif将photo替换成gif,视频替换成video,文件替换成file
  • 注意: 这里的链接必须是公开群组的,否则无法发出来

License

MIT zu1k [email protected]

不提供任何机器人相关的咨询或其他服务,不要私聊我

tg-keyword-reply-bot's People

Contributors

fossabot avatar zu1k avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.