Git Product home page Git Product logo

ovler-young / antichannelspammersbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anotiawang/antichannelspammersbot

0.0 0.0 0.0 129 KB

A Telegram bot that can delete messages from users appearing as channels, also messages from anonymous admins and the linked channels.

Home Page: anti-channel-spammers-bot.vercel.app

License: GNU General Public License v3.0

JavaScript 99.92% Shell 0.08%

antichannelspammersbot's Introduction

反频道马甲 Bot

清理群内成员使用频道马甲发送的消息。

统计信息 仓库收藏数

特性

  • 清理群内成员使用频道马甲发送的消息

  • 清理匿名群管发送的消息

  • 清理来自关联频道的消息

  • 解除频道消息在群内的置顶

  • 支持频道马甲白名单

使用方法

  1. Clone 本仓库

  2. 复制 .env.example 并重命名为 .env

  3. 编辑 .env

    • token : 从 BotFather 拿到的 token

    • admin : 你的 UID (Unique Identifier,可使用第三方客户端或 @GetIDsBot 获取),如果不需要统计功能,可以不配置

    • webhookUrl : WebHook 地址。填写完整 URL,行尾须包含 /( 如 https://bot.blabla.com:443/bot )。如不使用则留空。

    • webhookPort: HTTP 服务器监听的端口,如不使用则留空

    如使用 WebHook ,支持生成统计 badge,默认的数据接口在 [域名]/stats ,样式见代码。图片地址使用 https://shields.io/endpoint?url=[域名]/stats 即可。

  4. 运行:

    npm install && npm start

License

GPLv3

antichannelspammersbot's People

Contributors

anotiawang 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.