Skip to content

Skimige/GroupMaid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GroupMaid

基于 pyrogram 和 Pillow 的 Telegram 群组实用 Bot。

特性

饼画好了,什么时候圆不知道

讨论群相关:

  • 解除频道消息置顶
  • 移除加入群的成员
    • 解封时间为 1min,误触加入稍等待即可正常使用频道评论

通用:

  • 删除并封禁以频道身份发出的消息
    • 不会封禁关联频道和匿名管理员

TODO:

  • 删除并封禁以频道身份发出的消息 - 频道白名单
  • 入群验证问题
  • Support other languages (e.g. English)

使用

  • (Optional, but strongly recommended) 创建 venv 并激活,如有 Poetry 可以直接 poetry install
  • pip install -r requirements.txt
  • 复制一份 bot.example.ini 并重命名为 bot.ini,填入 Telegram API ID & Hash 和管理员用户 ID
  • @BotFather 处创建 Bot,获取 API Token
  • python -m bot 并使用 API Token 登录
  • 在与 Bot 的聊天中配置 Bot

注:如果你不知道如何获取用户 ID 和频道 / 群聊 ID,Google for how-to

LICENSE

GPLv3

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages