Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
LekoArts authored Feb 28, 2019
2 parents 3154cce + 231636f commit c71f10b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions communities.json
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,13 @@
"inviteCode": "Pnt5CuY",
"githubUrl": "https://github.com/lutris"
},
{
"logo": "gridsome.svg",
"title": "Gridsome",
"quote": "Discord lets us have a fun and engaging place for our fast growing Gridsome Community. Discord is fast and has the perfect tools for building a developer community.",
"inviteCode": "daeay6n",
"githubUrl": "https://github.com/gridsome/gridsome"
},
{
"logo": "gatsby.svg",
"title": "Gatsby",
Expand Down
1 change: 1 addition & 0 deletions logos/gridsome.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const delay = ms => new Promise(resolve => setTimeout(resolve, ms));

async function validateCommunity(community) {
while (true) {
const req = await fetch(`https://discordapp.com/api/invite/${community.inviteCode}`);
const req = await fetch(`https://discordapp.com/api/v6/invite/${community.inviteCode}`);
const response = await req.json();

if (response.guild) break;
Expand Down

0 comments on commit c71f10b

Please sign in to comment.