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如何在片段中使用listView?   java Android Studio:在不同的活动中使用“OnClick”方法?   设置IntelliJ时,java字符未正确显示   如何使用Java解析每个不同键和值的JSON对象?   简单的java AI响应程序?   java更改进程中不确定对话框的颜色   java类型不匹配:无法在eclipse中从双精度转换为整数   java如何理解我的类的属性是否已更改   xml Java Jena API获取另一个类的属性   java在JPanel上缩放和加载地图分幅   java在安卓 studio上使用工具栏的正确方法是什么?   java使用基于iText Core的OpenPdf从pdf页面删除或更新添加的图像图标   JavaFacebookGraphAPI在第一次请求时返回400,在第二次请求时返回200,这两个请求是相同的   java如何在DynamoDB中实现选择和插入项作为一个事务   java如何使用MAVEN运行方法?   (如何)在Java三元运算符语句中捕获异常?   java如何使用Hibernate SchemaExport和BeanValidation约束导出数据库模式?   java如何在weblogic中使用hibernate代替eclipselink?   Java读socketTcp更快