Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
## 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.
- For more information, visit <https://progdisc.club>

## Rules

1. Follow the Discord service guidelines: <https://discordapp.com/guidelines>
Expand Down Expand Up @@ -171,4 +163,13 @@ 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.
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.

- For more information, visit <https://progdisc.club>
6 changes: 0 additions & 6 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,6 @@ client.on('ready', async () => {
embed.setAuthor(title, guild.iconURL, `https://progdisc.club/rules/#${mdFragment}`);
}

if (i === 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we should revert this and change it so that it modifies the last embed instead

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, maybe add a link to this repo's commit log as a changelog of sorts.

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);
Expand Down