v8.0-Dev-1.1

This commit is contained in:
ItzEmerald committed 2022-07-23 07:50:12 +01:00
1 parent 209ec0b435
commit 4e081358ff
17 files changed
+256 -99

No files matched your search

+2 -2
View File
@@ -49,7 +49,7 @@ module.exports = new Event("interactionCreate", async (client, interaction) => {
interaction.customId.includes("department-")
) {
try {
const cmd = client.commands.get(cmdconfig.OpenTicket);
const cmd = client.commands.get(cmdconfig.OpenTicket.Command);
if (!cmd) return;
cmd.run(interaction);
} catch (error) {
@@ -59,7 +59,7 @@ module.exports = new Event("interactionCreate", async (client, interaction) => {
if (interaction.customId === "ticketclose") {
try {
const cmd = client.commands.get(cmdconfig.CloseTicket);
const cmd = client.commands.get(cmdconfig.CloseTicket.Command);
if (!cmd) return;
cmd.run(interaction);
} catch (error) {