Updated all files based on eslintrc
This commit is contained in:
@@ -12,7 +12,7 @@ export = {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName("help")
|
||||
.setDescription("List's all commands usable by a member")
|
||||
.setDMPermission(true),
|
||||
.setDMPermission(false),
|
||||
|
||||
async execute(interaction, client) {
|
||||
await interaction.deferReply({ ephemeral: true })
|
||||
@@ -72,9 +72,7 @@ export = {
|
||||
fields: commandList,
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: interaction?.guild?.iconURL({
|
||||
forceStatic: true,
|
||||
})!,
|
||||
url: interaction.guild!.iconURL({ forceStatic: true, })!,
|
||||
},
|
||||
footer: {
|
||||
icon_url: footerIcon!,
|
||||
|
||||
@@ -17,7 +17,7 @@ export async function updateDiscordRoles(
|
||||
await interaction.editReply({
|
||||
embeds: [
|
||||
{
|
||||
description: `You do not have permission to use this command.`,
|
||||
description: "You do not have permission to use this command.",
|
||||
color: embedColor,
|
||||
},
|
||||
],
|
||||
@@ -196,7 +196,7 @@ export async function updateDiscordRoles(
|
||||
await interaction.editReply({
|
||||
embeds: [
|
||||
{
|
||||
description: `Successfully updated all roles.`,
|
||||
description: "Successfully updated all roles.",
|
||||
color: embedColor,
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user