Skip to content

Commit

Permalink
Merge branch 'master' into add-tailwindcss
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan authored Mar 1, 2019
2 parents 53b0f63 + 9bfd3dc commit ce19c2c
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 1 deletion.
20 changes: 20 additions & 0 deletions communities.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}
1 change: 1 addition & 0 deletions logos/gatsby.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
Binary file added logos/segs.png
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 ce19c2c

Please sign in to comment.