Github通知程序

discord-github-release-notifier的Python项目详细描述


……图片::https://github.com/ffy00/discord github release notifier/raw/master/logo.png


========
discord github release notifier
===

图片::https://img.shields.io/github/release/ffy00/discord github release notifier.svg
:alt:latest release
:target:http://github.com/ffy00/discord github release notifier/releases
。图片::https://img.shields.io/pypi/v/discord github release notifier.svg
:a lt:latest release
:target:https://pypi.org/project/discord github release notifier/

this a fork of`femtopixel<;https://github.com/femtopixel>;``Us`github release notifier<;https://github.com/femtopixel/github release notifier>;。`_使用适应不一致的通知。

代码:

pip3安装不一致的github发布通知程序

代码::

用法:不一致GITHUB发布通知器[-H](动作{Curn,订阅,un订阅})[BR/> [-WebHooer-WebHoo] [[UUIDUUID] < BR/>< BR/>可选参数:
-H,帮助显示此帮助消息>>并退出
-动作{Con,订阅,un订阅},-{Con,订阅,取消订阅}
要执行的操作(默认值:cron)
--包包包,-p包
github包名称/url(订阅/取消订阅时必需)-在订阅时打印uuid
--webhook webhook,-w webhook
url to你的webhook(订阅/退订时必需)
--uuid uuid,-u uuid uuid你的webhook(退订时必需)


示例
~~~~~~


首先,我注册我的webhook:

……代码:

Discord Github发布通知程序--操作订阅--Webhook https://discordapp.com/api/webhooks/{webhook.id}/{webhook.token}--包Jaymoulin/Google音乐管理器

将打印UUID。取消订阅webhook需要此uuid。

当“jaymoulin/google music manager”发布新版本时,将使用发布详细信息调用“https://discordapp.com/api/webhooks/{webhook.id}/{webhook.token}”。

系统应该检查是否发布了新版本。
我们可以通过调用不带任何参数的“discord github release notifier”或将“action”设置为“cron”(默认设置)来完成此操作。

要自动执行此过程,我们可以将此过程添加到cronjob中:

。代码:

(crontab-l;echo“0 0***github discord release notifier”)sort-uniq-crontab-


如果发布了新版本,这将每天午夜进行检查。


提交错误和功能请求
moulin jaymoulin+github-release-notifier@gmail.com另请参阅参与此计划的贡献者列表。
filipe la_ns filipe.lains@gmail.com(适应不和谐)


license
----

discord github release notifier根据麻省理工学院许可证获得许可。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java未从Facebook OAuth接收名字、姓氏和姓氏   我自己代码中的java ConcurrentModificationException   java在Android上获得单像素TIFF图像   java图形输出中的swing集成弹出窗口“通知”   将数据库表中的所有数据集插入jTable Java   java如何使用Hibernate获取不完整的集合?   打印无法从java连接到打印机   java使用分隔符拆分带引号的字符串   java Axis2禁用严格验证(wsdl2java中的Eosv)允许什么,如何使其更加严格?   java有人能帮我处理循环代码吗   java将JsonObject数组转换为整数   JavaXWiki扩展:检测事件空间创建   java如何设置图表的文本方向以使用poi旋转所有文本?   eche RecyclerView项的java Set自定义字体   java单元测试带有私有构造函数的spring组件,无需注入   用户界面如何在java中动态显示一组多个元素?   如何从java应用程序调用IDL(交互式数据语言)?   Java的内置库实现