/
6.6d83157c.js
1 lines (1 loc) · 2.19 KB
/
6.6d83157c.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{209:function(t,e,o){"use strict";o.r(e);var i=o(0),n=Object(i.a)({},(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[o("h1",{attrs:{id:"setting-up-yappy-github"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#setting-up-yappy-github"}},[t._v("#")]),t._v(" Setting Up Yappy GitHub")]),t._v(" "),o("p",[t._v("Follow the following steps to set up Yappy with any repo on GitHub.")]),t._v(" "),o("h2",{attrs:{id:"discord"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#discord"}},[t._v("#")]),t._v(" Discord")]),t._v(" "),o("ol",[o("li",[t._v("Go to the channel you want events in for a repo")]),t._v(" "),o("li",[t._v("Say "),o("code",[t._v("G! init REPO")]),t._v(", where "),o("code",[t._v("REPO")]),t._v(" can be "),o("code",[t._v("username/repo")]),t._v(", a GitHub url... more usage info at "),o("code",[t._v("G! help init")]),t._v(" "),o("ul",[o("li",[t._v("If the repository is private, make sure you tell Yappy that with "),o("code",[t._v("G! init REPO private")])])])])]),t._v(" "),o("h2",{attrs:{id:"github"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#github"}},[t._v("#")]),t._v(" GitHub")]),t._v(" "),o("ol",[o("li",[t._v("Go to the GitHub repo you want to have events for")]),t._v(" "),o("li",[t._v("Click Settings > Webhooks")]),t._v(" "),o("li",[t._v("Set "),o("code",[t._v("URL")]),t._v(" to "),o("a",{attrs:{href:"https://www.yappybots.tk",target:"_blank",rel:"noopener noreferrer"}},[t._v("https://www.yappybots.tk"),o("OutboundLink")],1)]),t._v(" "),o("li",[t._v("Leave "),o("code",[t._v("Content-Type")]),t._v(" to whatever it's set - Yappy supports both options")]),t._v(" "),o("li",[t._v("Select the events you want to emit to the channel")]),t._v(" "),o("li",[t._v('Click "Add Webhook"')])]),t._v(" "),o("p",[t._v('Now you can test the webhook by, in Settings > Webhooks, scrolling down the webhook, finding the webhook pointing to the url mentioned above, clicking it, and clicking the "Test" button on the right.\nKeep in mind you will need to have a commit or two in the repo, as it will simulate a push request.')])])}),[],!1,null,null,null);e.default=n.exports}}]);