Skip to content

Commit

Permalink
update footer
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonejt committed Sep 30, 2023
1 parent 99c23d8 commit b67d0df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion embeds/memberModeration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default async function embedMemberModeration(member: GuildMember, action:
const embed = new EmbedBuilder()
.setAuthor({ name: "Sibyl System", iconURL: member.client.user.avatarURL()! })
.setTimestamp()
.setFooter({ text: `Member ${member.id}` });
.setFooter({ text: member.id });

if (ACTIONS[action] === "REMOVE") embed.setTitle("Notified Moderators");
else if (ACTIONS[action] === "MUTE") embed.setTitle(`Muted ${member.user.username}`);
Expand Down
2 changes: 1 addition & 1 deletion embeds/messageModeration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default async function embedMessageModeration(message: Message, action: n
.setURL(message.url)
.setAuthor({ name: "Sibyl System", iconURL: message.client.user!.avatarURL()! })
.setTimestamp()
.setFooter({ text: `Message ${message.id}` });
.setFooter({ text: message.id });

if (ACTIONS[action] === "REMOVE") embed.setDescription("Notified Moderators");
else if (ACTIONS[action] === "MUTE") embed.setDescription(`Muted <@${message.author.id}>`);
Expand Down

0 comments on commit b67d0df

Please sign in to comment.