This commit is contained in:
ItzEmerald committed 2021-10-07 20:46:18 +01:00
1 parent 37c870c7ab
commit c5f550dd00
19 files changed
+321 -36

No files matched your search

+3 -2
View File
@@ -6,6 +6,7 @@ const fs = require("fs");
const Discord = require("discord.js");
const yaml = require('js-yaml');
const supportbot = yaml.load(fs.readFileSync('./Data/supportbot.yml', 'utf8'));
const cmdconfig = yaml.load(fs.readFileSync('./Data/commands.yml', 'utf8'));
const Command = require("../Structures/Command.js");
const TicketNumberID = require('../Structures/TicketID.js');
@@ -17,8 +18,8 @@ async function asyncForEach(array, callback) {
}
module.exports = new Command({
name: "close",
description: "Close a support ticket",
name: cmdconfig.CloseTicket,
description: cmdconfig.CloseTicketDesc,
type: "BOTH",
slashCommandOptions: [],
permission: "SEND_MESSAGES",
+3 -2
View File
@@ -6,12 +6,13 @@ const fs = require("fs");
const Discord = require("discord.js");
const yaml = require('js-yaml');
const supportbot = yaml.load(fs.readFileSync('./Data/supportbot.yml', 'utf8'));
const cmdconfig = yaml.load(fs.readFileSync('./Data/commands.yml', 'utf8'));
const Command = require("../Structures/Command.js");
module.exports = new Command({
name: "info",
description: "Displays information about your server!",
name: cmdconfig.InfoCommand,
description: cmdconfig.InfoCommandDesc,
type: "BOTH",
slashCommandOptions: [],
permission: "SEND_MESSAGES",