GithubHelp home page GithubHelp logo

sssbot's Introduction

telegram-submission-bot

准备

  • 安装Python并运行pip install python-telegram-bot==11.1.0
  • 创建1个Bot、1个Group和1个Public Channel

配置

打开config.json并配置

{
    "Admin": 0,                  //管理员用户ID(通常为8~9位数字)
    "Token": "",                 //Bot的Token
    "Group_ID": 0,               //无需填写
    "Publish_Channel_ID": ""     //频道ID(如:@channel)
}

运行bot后在审稿群中输入/setgroup

运行

python main.py

使用

投稿

Screenshot

将消息发送至机器人,选择是否保留消息来源后即可完成投稿(若转发他人的消息,则不可选择不保留消息来源) 可接收的投稿类型:

  • 文字
  • 图片
  • 音频/语音
  • 视频
  • 文件

审稿

Screenshot

所有在审稿群中的用户,点击采用即可完成审稿 在群中回复稿件本身(不是稿件详情),可在采用的同时对其进行评论

Todo (Features)

  • 评论稿件
  • 转发他人的消息禁止匿名,避免版权问题
  • 采用稿件后通知投稿人
  • 稿件详情添加投稿/审稿人内链
  • 匿名发布稿件
  • 投稿统计
  • 多语言

sssbot's People

Contributors

netrvin avatar tm288 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.