diff --git a/communities.json b/communities.json index fc88b75..bc31650 100644 --- a/communities.json +++ b/communities.json @@ -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", diff --git a/logos/gridsome.svg b/logos/gridsome.svg new file mode 100644 index 0000000..43729eb --- /dev/null +++ b/logos/gridsome.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/validate.js b/validate.js index 71ff690..4a0176c 100644 --- a/validate.js +++ b/validate.js @@ -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;