diff --git a/communities.json b/communities.json index d005776..5de96bc 100644 --- a/communities.json +++ b/communities.json @@ -619,6 +619,13 @@ "quote": "Super Entity Game Server", "inviteCode": "t4wr8A9", "githubUrl": "https://github.com/Segs" + }, + { + "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" } ] } 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;