Giter VIP home page Giter VIP logo

cat-big-bot's Introduction

Cat-big-bot

多功能 Telegram 机器人

运行

机器人分为两部分,responsive_tasks.py 放置回应用户指令的功能,sending_tasks.py 放置根据其他信息源推送内容的功能(纯发送,不响应),目前只有中文维基百科新页面推送。运行机器人时直接运行这两个文件。

机器人依赖于 catbot 框架。

config_example.json 是配置文件示例,将 tokenoperator_id 等配置修改好之后,把文件保存至 config.json 即可使用。

用户权限

投票

trusted 用户

群组备忘录

与操作者对话

中文维基百科新页面推送

其他指令

/user_id

查看他人或自己的 ID,使用方法:

  • 查看自己的 ID:直接发送 /user_id
  • 查看他人的 ID:回复被获取ID者发出的消息,内容为 /user_id

/chat_id

查看当前聊天的 ID。当前聊天可以是:

  • 群组(得到群组 ID)
  • 私聊(得到自己的用户 ID)

/permalink

在私聊中使用,尝试获得指向指定 ID 用户的链接。此链接不受 username 变化影响。格式:

/permalink <用户ID>

/help

在群组中或私聊中使用,显示帮助链接。在群组中使用时必须含有 @CatBigBot (或您机器人的 username)后缀。

cat-big-bot's People

Contributors

the-earth 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.