mirror of
https://github.com/Art-Portal/April.git
synced 2024-12-26 11:24:16 +01:00
This commit is a follow-up to the previous one: corrected unused imports and unused arguments
This commit is contained in:
parent
7b98a13c72
commit
090a4c5e26
@ -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()
|
||||
|
@ -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 = {
|
||||
|
@ -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;
|
||||
|
@ -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_", "")];
|
||||
|
Loading…
Reference in New Issue
Block a user