Skip to content
Open
Changes from 1 commit
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
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
Copy Markdown
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
Copy Markdown
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