Git Product home page Git Product logo

milkybot's Introduction

MilkyBot

一键部署

若对Telegrambot有一定了解,那么请准备好机器人的 Token 直接一键部署。

Deploy

简介

Server酱公众号发布公告,微信官方可能加大对模板消息的限制,而ServerChan正是基于其模板消息。作者也说明了ServerChan可能会在一个未知的时间关闭,我使用ServerChan有很长一段时间,在这里也向作者Easy表示感谢与敬意。

MilkyBot是一个基于TelegramBot 的发送信息的小工具,供我个人使用就目前情况而言完全足够。它目前能够通过get/post方式发送消息。

优势

  • 免去了设置Webhook的操作
  • 提供了简单加密chat_id
  • 支持markdown以及HTML

部署流程

  1. 点击创建你的机器人,在/botfather对话中输入/newbot指令,并按要求操作。重要的是要获取到你的机器人的 Token

  2. Deploy

    输入机器人的token

    KEY为加密时所需要的密钥,密钥不同,生成的用户Token就不同。

  3. 等待部署完成,访问你APP,默认应为:

    your-appname.herokuapp.com

    即可自动完成webhook的设置。

  4. 点击Send Message 与你的机器人建立联系,并在聊天框输入或点击/start

  5. 获取到的链接即可使用。

使用方法

get/post含有你Token的链接:

https://your-appname.herokuapp.com/<your token>

参数:
参数名 内容
text your content
parse_mode Markdown, HTML,text(默认)

To DO

  • 频道订阅
  • markdown消息类型支持(已支持,同时支持html)

如果觉得这个项目不错,不妨点个星星,这是对我最大的激励!

milkybot's People

Contributors

ermaotie avatar

Stargazers

 avatar  avatar

Watchers

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