diff --git a/commands/misc/info.js b/commands/misc/info.js index c2a78a5..67bdec0 100644 --- a/commands/misc/info.js +++ b/commands/misc/info.js @@ -1,5 +1,4 @@ -const { SlashCommandBuilder } = require('@discordjs/builders'); -const { EmbedBuilder, ButtonBuilder, ActionRowBuilder } = require('discord.js'); +const { EmbedBuilder, SlashCommandBuilder } = require('discord.js'); module.exports = { data: new SlashCommandBuilder() diff --git a/interactions/modals/src/tickets/application.js b/interactions/modals/src/tickets/application.js index 923c1c7..e07c512 100644 --- a/interactions/modals/src/tickets/application.js +++ b/interactions/modals/src/tickets/application.js @@ -1,4 +1,4 @@ -const { PermissionFlagsBits, EmbedBuilder, ActionRowBuilder, ButtonBuilder, ButtonStyle } = require('discord.js'); +const { EmbedBuilder, ActionRowBuilder, ButtonBuilder, ButtonStyle } = require('discord.js'); const { progressBar } = require('../../../../config.json'); module.exports = { diff --git a/interactions/selectmenus/src/rolereact/roleselect.js b/interactions/selectmenus/src/rolereact/roleselect.js index 6ce09cc..fd4c661 100644 --- a/interactions/selectmenus/src/rolereact/roleselect.js +++ b/interactions/selectmenus/src/rolereact/roleselect.js @@ -1,7 +1,5 @@ -const { EmbedBuilder, ActionRowBuilder, SelectMenuBuilder } = require('discord.js'); - module.exports = { - async execute(interaction, client) { + async execute(interaction) { await interaction.deferUpdate(); await interaction.guild.roles.fetch(); let currentrole; diff --git a/interactions/selectmenus/src/tickets/ticket.js b/interactions/selectmenus/src/tickets/ticket.js index d397919..da7b22d 100644 --- a/interactions/selectmenus/src/tickets/ticket.js +++ b/interactions/selectmenus/src/tickets/ticket.js @@ -1,7 +1,7 @@ const { ActionRowBuilder, EmbedBuilder, ButtonBuilder, ButtonStyle, ModalBuilder, TextInputBuilder, TextInputStyle, PermissionFlagsBits, ChannelType } = require("discord.js"); module.exports = { - async execute(interaction, client) { + async execute(interaction) { switch (interaction.customId.split('-')[1]) { case "graphism": const commandType = cmdTypeDict[interaction.values[0].replace("ticket_", "")];