From c209664e9d5b122a14b5523aeb5cd319e63fe3a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=9Eamil=20NART?= Date: Thu, 12 Jul 2018 15:31:16 +0200 Subject: [PATCH 1/3] Move tl;dr to bottom, put a new segment at top as the script depends on it existing --- README.md | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4841bb6..fb6b1c9 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,12 @@ -## Too Long; Didn't Read +## Welcome to Programming Discussions! -- Be nice. Be mature. Follow the law. Listen -to the mods. Ask your question directly (*don't ask to -ask*) and don't post across multiple channels or ask -people for programming help in DMs. -- For more information, visit +- Welcome to Programming Discussions. Below you will find the rules and necessary + information about our Discord server. We encourage you to have a look before + continuing. + +- For more information, visit + +- You can use to invite your friends! ## Rules @@ -171,4 +173,11 @@ accuse a Mod of abuse. vote. The role is voluntary. 4. If you disagree with the actions of a Mod, first take it to that Mod’s DMs. - You may follow up with another Mod if you still feel unsatisfied. \ No newline at end of file + You may follow up with another Mod if you still feel unsatisfied. + +## Too Long; Didn't Read + +- Be nice. Be mature. Follow the law. Listen +to the mods. Ask your question directly (*don't ask to +ask*) and don't post across multiple channels or ask +people for programming help in DMs. \ No newline at end of file From bf9f42f50ab7d12c6583b066e7adceb7e2a95c2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=9Eamil=20NART?= Date: Thu, 12 Jul 2018 16:00:43 +0200 Subject: [PATCH 2/3] Remove the top segment, put progdisc.club back into the tl:dr --- README.md | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index fb6b1c9..ad29213 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,3 @@ -## Welcome to Programming Discussions! - -- Welcome to Programming Discussions. Below you will find the rules and necessary - information about our Discord server. We encourage you to have a look before - continuing. - -- For more information, visit - -- You can use to invite your friends! - ## Rules 1. Follow the Discord service guidelines: @@ -180,4 +170,6 @@ accuse a Mod of abuse. - Be nice. Be mature. Follow the law. Listen to the mods. Ask your question directly (*don't ask to ask*) and don't post across multiple channels or ask -people for programming help in DMs. \ No newline at end of file +people for programming help in DMs. + +- For more information, visit \ No newline at end of file From 7aaf373a3f2ea8a97bbc5a5be0600a461e5f7912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=9Eamil=20NART?= Date: Thu, 12 Jul 2018 16:01:06 +0200 Subject: [PATCH 3/3] Don't override first's segment's title and put "Updated on" text --- main.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/main.js b/main.js index 33ac8cc..f3a659f 100644 --- a/main.js +++ b/main.js @@ -112,12 +112,6 @@ client.on('ready', async () => { embed.setAuthor(title, guild.iconURL, `https://progdisc.club/rules/#${mdFragment}`); } - if (i === 0) { - embed.setAuthor(guild.name, guild.iconURL, 'https://progdisc.club'); - embed.setFooter('Updated on'); - embed.setTimestamp(new Date()); - } - embed.setColor('#4286F4'); embed.setDescription(embedTexts[i][k]); await channel.send('', embed);