Skip to content

Commit

Permalink
[Enhancement] removed unnecessary stuff from embeds
Browse files Browse the repository at this point in the history
  • Loading branch information
naseif committed Sep 3, 2021
1 parent d4788b9 commit f0b081b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
8 changes: 2 additions & 6 deletions commands/misc/perms.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,12 @@ module.exports = {
title: `Roles list for ${
user ? user.user.username : interaction.user.username
}`,
author: {
name: `${interaction.user.username}`,
icon_url: `${interaction.user.avatarURL()}`,
},
description: `${userRoles.join("\n")}`,

timestamp: new Date(),
footer: {
text: "Created by naseif",
icon_url: "https://i.imgur.com/KrAvM8U.jpg",
text: `Requested by ${interaction.user.username}`,
icon_url: `${interaction.user.avatarURL()}`,
},
};
try {
Expand Down
4 changes: 0 additions & 4 deletions commands/misc/serverstats.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ module.exports = {
},
],
timestamp: new Date(),
footer: {
text: "Created by naseif",
icon_url: "https://i.imgur.com/KrAvM8U.jpg",
},
};
try {
await interaction.followUp({ embeds: [statssEmbed] });
Expand Down

0 comments on commit f0b081b

Please sign in to comment.