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第三方库


热门话题
在Grails中集成javaapplet   动态设置片段时发生java错误   JavaSpringVelocity模板电子邮件?   SpringHateOAS中java自定义json输出   java wait()和notify()相关问题   正则表达式中的单词边界是什么?   使用外部库将项目部署到glassfish后发生java NoClassDefFoundError   java为什么在这里初始化ListNode两次?   java libGDX移动三维模型   java使线程等待另一个线程的执行   正则表达式如何在java中使用正则表达式解析给定字符串   java SWT ScrolledComposite在32768像素后切断画布生成的图像