Updated all files based on eslintrc

This commit is contained in:
2023-12-31 11:08:49 +01:00
parent da456facef
commit 7d509e1b22
11 changed files with 22 additions and 23 deletions

View File

@@ -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!,

View File

@@ -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,
},
],