驱动奥克托机器人机器的隐形引擎。简单,但强大。
octomachiner的Python项目详细描述
Octomachinery:没有样板的机器人
驱动奥克托机器人机器的隐形引擎。简单,但强大。
网站@https://octomachinery.dev。敬请期待!
如何创建github bot教程已准备好预览 @tutorial.octomachinery.dev
升降舵螺距
以下是您刚刚创建的评论:
fromoctomachinery.app.routingimportprocess_event_actionsfromoctomachinery.app.routing.decoratorsimportprocess_webhook_payloadfromoctomachinery.app.runtime.contextimportRUNTIME_CONTEXTfromoctomachinery.app.server.runnerimportrunasrun_app@process_event_actions('issue_comment',{'created'})@process_webhook_payloadasyncdefon_comment(*,action,issue,comment,repository=None,sender=None,installation=None,assignee=None,changes=None,):github_api=RUNTIME_CONTEXT.app_installation_clientcomment_reactions_api_url=f'{comment["url"]}/reactions'awaitgithub_api.post(comment_reactions_api_url,preview_api_version='squirrel-girl',data={'content':'+1'},)run_app(name='Thumbs-Up-Bot',version='1.0.0',url='https://github.com/apps/thuuuuuuuuuuuuuumbs-uuuuuuuuuuuup',)
先决条件
Python3.7+
许可证
此项目中的源代码和文档发布于 这是GPL v3 license。