diff --git a/communities.json b/communities.json index b737a25..5179412 100644 --- a/communities.json +++ b/communities.json @@ -619,6 +619,26 @@ "quote": "Discord is the best way for the Tailwind CSS community to collaborate in real-time.", "inviteCode": "7NF8GNe", "githubUrl": "https://github.com/tailwindcss/tailwindcss" + }, + "logo": "segs.png", + "title": "SEGS", + "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" + }, + { + "logo": "gatsby.svg", + "title": "Gatsby", + "quote": "Discord allowed us to create a community hub to all things related to Gatsby. It enables us to foster an open and welcoming environment for all people. We love to chat with our awesome community.", + "inviteCode": "5tdtA9k", + "githubUrl": "https://github.com/gatsbyjs/gatsby" } ] } diff --git a/logos/gatsby.svg b/logos/gatsby.svg new file mode 100644 index 0000000..7dd2d2b --- /dev/null +++ b/logos/gatsby.svg @@ -0,0 +1 @@ + \ No newline at end of file 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/logos/segs.png b/logos/segs.png new file mode 100644 index 0000000..3736bbe Binary files /dev/null and b/logos/segs.png differ 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;