Update help.js
This commit is contained in:
1 file changed
+1
-9
+1
-9
@@ -70,20 +70,12 @@ module.exports = new Command({
|
|||||||
.setColor(supportbot.EmbedColour)
|
.setColor(supportbot.EmbedColour)
|
||||||
.setFooter(supportbot.EmbedFooter, interaction.user.displayAvatarURL());
|
.setFooter(supportbot.EmbedFooter, interaction.user.displayAvatarURL());
|
||||||
|
|
||||||
if (interaction.member.roles.cache.has(SupportStaff.id)) {
|
if (interaction.member.roles.cache.has(SupportStaff.id) || interaction.member.roles.cache.has(Admins.id)) {
|
||||||
HelpEmbed1.addFields({
|
HelpEmbed1.addFields({
|
||||||
name: "🔐 Staff Commands\n",
|
name: "🔐 Staff Commands\n",
|
||||||
value: `${staffCommands}\n`,
|
value: `${staffCommands}\n`,
|
||||||
inline: false,
|
inline: false,
|
||||||
});
|
});
|
||||||
} else {
|
|
||||||
if (interaction.member.roles.cache.has(Admins.id)) {
|
|
||||||
HelpEmbed1.addFields({
|
|
||||||
name: "🔐 Staff Commands\n",
|
|
||||||
value: `${staffCommands}\n`,
|
|
||||||
inline: false,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (supportbot.SendHelpPage === "dm") {
|
if (supportbot.SendHelpPage === "dm") {
|
||||||
|
|||||||
Reference in new issue
Block a user