v8.0 - Dev-1
This commit is contained in:
1 parent
6d363abb54
commit
209ec0b435
25 files changed
+598
-501
No files matched your search
Vendored
BIN
Binary file not shown.
@@ -0,0 +1,2 @@
|
|||||||
|
## SupportBot Addons
|
||||||
|
This is a developer version of SupportBot, Addons are not yet supported.
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
// SupportBot | Emerald Services
|
|
||||||
// Example (default) Addon
|
|
||||||
|
|
||||||
const fs = require("fs");
|
|
||||||
|
|
||||||
const Discord = require("discord.js");
|
|
||||||
const yaml = require("js-yaml");
|
|
||||||
const supportbot = yaml.load(
|
|
||||||
fs.readFileSync("./Configs/supportbot.yml", "utf8")
|
|
||||||
);
|
|
||||||
const cmdconfig = yaml.load(fs.readFileSync("./Configs/commands.yml", "utf8"));
|
|
||||||
|
|
||||||
// Your Addon Config file! Saved in /Addons/Configs/YourAddonConfig.yml
|
|
||||||
// const config = yaml.load(fs.readFileSync('./Addons/Configs/YourAddonConfig.yml', 'utf8'));
|
|
||||||
|
|
||||||
const { Command, Event } = require("../Structures/Addon");
|
|
||||||
|
|
||||||
module.exports.commands = [
|
|
||||||
/*
|
|
||||||
// EXAMPLE COMMAND
|
|
||||||
new Command({
|
|
||||||
name: "hello",
|
|
||||||
description: "hello",
|
|
||||||
options: [],
|
|
||||||
permissions: ["SEND_MESSAGES"],
|
|
||||||
async run(interaction) {
|
|
||||||
const Embed = new Discord.MessageEmbed()
|
|
||||||
.setDescription("Hello World!")
|
|
||||||
.setColor(supportbot.InfoColour);
|
|
||||||
|
|
||||||
interaction.reply({
|
|
||||||
embeds: [Embed],
|
|
||||||
});
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
*/
|
|
||||||
];
|
|
||||||
module.exports.events = [
|
|
||||||
/*
|
|
||||||
// EXAMPLE EVENT
|
|
||||||
new Event("ready", async (client) => {
|
|
||||||
console.log("Bot started!");
|
|
||||||
}),
|
|
||||||
*/
|
|
||||||
];
|
|
||||||
+7
-6
@@ -15,11 +15,12 @@ const Command = require("../Structures/Command.js");
|
|||||||
module.exports = new Command({
|
module.exports = new Command({
|
||||||
name: cmdconfig.TicketAdd,
|
name: cmdconfig.TicketAdd,
|
||||||
description: cmdconfig.TicketAddDesc,
|
description: cmdconfig.TicketAddDesc,
|
||||||
|
type: Discord.ApplicationCommandType.ChatInput,
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
name: "user",
|
name: "user",
|
||||||
description: "User to add",
|
description: "User to add",
|
||||||
type: "USER",
|
type: Discord.ApplicationCommandOptionType.User,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -34,7 +35,7 @@ module.exports = new Command({
|
|||||||
"Some roles seem to be missing!\nPlease check for errors when starting the bot."
|
"Some roles seem to be missing!\nPlease check for errors when starting the bot."
|
||||||
);
|
);
|
||||||
|
|
||||||
const NoPerms = new Discord.MessageEmbed()
|
const NoPerms = new Discord.EmbedBuilder()
|
||||||
.setTitle("Invalid Permissions!")
|
.setTitle("Invalid Permissions!")
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`${supportbot.IncorrectPerms}\n\nRole Required: \`${supportbot.Staff}\` or \`${supportbot.Admin}\``
|
`${supportbot.IncorrectPerms}\n\nRole Required: \`${supportbot.Staff}\` or \`${supportbot.Admin}\``
|
||||||
@@ -54,7 +55,7 @@ module.exports = new Command({
|
|||||||
(t) => t.id === interaction.channel.id
|
(t) => t.id === interaction.channel.id
|
||||||
);
|
);
|
||||||
if (ticket === -1) {
|
if (ticket === -1) {
|
||||||
const Exists = new Discord.MessageEmbed()
|
const Exists = new Discord.EmbedBuilder()
|
||||||
.setTitle("No Ticket Found!")
|
.setTitle("No Ticket Found!")
|
||||||
.setDescription(supportbot.NoValidTicket)
|
.setDescription(supportbot.NoValidTicket)
|
||||||
.setColor(supportbot.WarningColour);
|
.setColor(supportbot.WarningColour);
|
||||||
@@ -62,7 +63,7 @@ module.exports = new Command({
|
|||||||
}
|
}
|
||||||
|
|
||||||
let uMember = interaction.options.getUser("user");
|
let uMember = interaction.options.getUser("user");
|
||||||
const UserNotExist = new Discord.MessageEmbed()
|
const UserNotExist = new Discord.EmbedBuilder()
|
||||||
.setTitle("User Not Found!")
|
.setTitle("User Not Found!")
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`${supportbot.UserNotFound}\n\nTry Again:\`/${cmdconfig.TicketAdd} <user#0000>\``
|
`${supportbot.UserNotFound}\n\nTry Again:\`/${cmdconfig.TicketAdd} <user#0000>\``
|
||||||
@@ -74,11 +75,11 @@ module.exports = new Command({
|
|||||||
await interaction.channel.permissionOverwrites.edit(uMember.id, {
|
await interaction.channel.permissionOverwrites.edit(uMember.id, {
|
||||||
VIEW_CHANNEL: true,
|
VIEW_CHANNEL: true,
|
||||||
});
|
});
|
||||||
const Complete = new Discord.MessageEmbed()
|
const Complete = new Discord.EmbedBuilder()
|
||||||
.setTitle("User Added!")
|
.setTitle("User Added!")
|
||||||
.setDescription(supportbot.AddedUser.replace(/%user%/g, uMember.id))
|
.setDescription(supportbot.AddedUser.replace(/%user%/g, uMember.id))
|
||||||
.setTimestamp()
|
.setTimestamp()
|
||||||
.setColor(supportbot.EmbedColour);
|
.setColor(supportbot.GeneralColour);
|
||||||
interaction.reply({ embeds: [Complete] });
|
interaction.reply({ embeds: [Complete] });
|
||||||
TicketData.tickets[ticket].subUsers.push(uMember.id);
|
TicketData.tickets[ticket].subUsers.push(uMember.id);
|
||||||
fs.writeFileSync(
|
fs.writeFileSync(
|
||||||
|
|||||||
+10
-9
@@ -15,11 +15,12 @@ const Command = require("../Structures/Command.js");
|
|||||||
module.exports = new Command({
|
module.exports = new Command({
|
||||||
name: cmdconfig.CloseTicket,
|
name: cmdconfig.CloseTicket,
|
||||||
description: cmdconfig.CloseTicketDesc,
|
description: cmdconfig.CloseTicketDesc,
|
||||||
|
type: Discord.ApplicationCommandType.ChatInput,
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
name: "reason",
|
name: "reason",
|
||||||
description: "Ticket Close Reason",
|
description: "Ticket Close Reason",
|
||||||
type: "STRING",
|
type: Discord.ApplicationCommandOptionType.String,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
permissions: ["SEND_MESSAGES"],
|
permissions: ["SEND_MESSAGES"],
|
||||||
@@ -33,7 +34,7 @@ module.exports = new Command({
|
|||||||
return interaction.reply(
|
return interaction.reply(
|
||||||
"Some roles seem to be missing!\nPlease check for errors when starting the bot."
|
"Some roles seem to be missing!\nPlease check for errors when starting the bot."
|
||||||
);
|
);
|
||||||
const NoPerms = new Discord.MessageEmbed()
|
const NoPerms = new Discord.EmbedBuilder()
|
||||||
.setTitle("Invalid Permissions!")
|
.setTitle("Invalid Permissions!")
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`${supportbot.IncorrectPerms}\n\nRole Required: \`${supportbot.Staff}\` or \`${supportbot.Admin}\``
|
`${supportbot.IncorrectPerms}\n\nRole Required: \`${supportbot.Staff}\` or \`${supportbot.Admin}\``
|
||||||
@@ -55,7 +56,7 @@ module.exports = new Command({
|
|||||||
);
|
);
|
||||||
let ticket = tickets.tickets[TicketData];
|
let ticket = tickets.tickets[TicketData];
|
||||||
if (TicketData === -1) {
|
if (TicketData === -1) {
|
||||||
const Exists = new Discord.MessageEmbed()
|
const Exists = new Discord.EmbedBuilder()
|
||||||
.setTitle("No Ticket Found!")
|
.setTitle("No Ticket Found!")
|
||||||
.setDescription(supportbot.NoValidTicket)
|
.setDescription(supportbot.NoValidTicket)
|
||||||
.setColor(supportbot.WarningColour);
|
.setColor(supportbot.WarningColour);
|
||||||
@@ -73,12 +74,12 @@ module.exports = new Command({
|
|||||||
if (!transcriptChannel || !logChannel)
|
if (!transcriptChannel || !logChannel)
|
||||||
return interaction.followUp("Some Channels seem to be missing!");
|
return interaction.followUp("Some Channels seem to be missing!");
|
||||||
if (supportbot.CloseConfirmation) {
|
if (supportbot.CloseConfirmation) {
|
||||||
const CloseTicketRequest = new Discord.MessageEmbed()
|
const CloseTicketRequest = new Discord.EmbedBuilder()
|
||||||
.setTitle(`**${supportbot.ClosingTicket}**`)
|
.setTitle(`**${supportbot.ClosingTicket}**`)
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`Please confirm by repeating the following word.. \`${supportbot.ClosingConfirmation_Word}\` `
|
`Please confirm by repeating the following word.. \`${supportbot.ClosingConfirmation_Word}\` `
|
||||||
)
|
)
|
||||||
.setColor(supportbot.EmbedColour);
|
.setColor(supportbot.GeneralColour);
|
||||||
await interaction.followUp({ embeds: [CloseTicketRequest] });
|
await interaction.followUp({ embeds: [CloseTicketRequest] });
|
||||||
let filter = (m) =>
|
let filter = (m) =>
|
||||||
m.content.toLowerCase() === supportbot.ClosingConfirmation_Word &&
|
m.content.toLowerCase() === supportbot.ClosingConfirmation_Word &&
|
||||||
@@ -100,9 +101,9 @@ module.exports = new Command({
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
await interaction.followUp(`**${supportbot.ClosingTicket}**`);
|
await interaction.followUp(`**${supportbot.ClosingTicket}**`);
|
||||||
const transcriptEmbed = new Discord.MessageEmbed()
|
const transcriptEmbed = new Discord.EmbedBuilder()
|
||||||
.setTitle(supportbot.TranscriptTitle)
|
.setTitle(supportbot.TranscriptTitle)
|
||||||
.setColor(supportbot.EmbedColour)
|
.setColor(supportbot.GeneralColour)
|
||||||
.setFooter({
|
.setFooter({
|
||||||
text: supportbot.EmbedFooter,
|
text: supportbot.EmbedFooter,
|
||||||
iconURL: interaction.user.displayAvatarURL(),
|
iconURL: interaction.user.displayAvatarURL(),
|
||||||
@@ -119,9 +120,9 @@ module.exports = new Command({
|
|||||||
)
|
)
|
||||||
.addField("Closed By", interaction.user.tag)
|
.addField("Closed By", interaction.user.tag)
|
||||||
.addField("Reason", reason);
|
.addField("Reason", reason);
|
||||||
const logEmbed = new Discord.MessageEmbed()
|
const logEmbed = new Discord.EmbedBuilder()
|
||||||
.setTitle(supportbot.TicketLog_Title)
|
.setTitle(supportbot.TicketLog_Title)
|
||||||
.setColor(supportbot.EmbedColour)
|
.setColor(supportbot.GeneralColour)
|
||||||
.setFooter({
|
.setFooter({
|
||||||
text: supportbot.EmbedFooter,
|
text: supportbot.EmbedFooter,
|
||||||
iconURL: interaction.user.displayAvatarURL(),
|
iconURL: interaction.user.displayAvatarURL(),
|
||||||
|
|||||||
+12
-4
@@ -15,47 +15,55 @@ const Command = require("../Structures/Command.js");
|
|||||||
module.exports = new Command({
|
module.exports = new Command({
|
||||||
name: cmdconfig.EmbedCommand,
|
name: cmdconfig.EmbedCommand,
|
||||||
description: cmdconfig.EmbedCommandDesc,
|
description: cmdconfig.EmbedCommandDesc,
|
||||||
|
type: Discord.ApplicationCommandType.ChatInput,
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
name: "title",
|
name: "title",
|
||||||
description: "Embed Title",
|
description: "Embed Title",
|
||||||
type: "STRING",
|
type: "STRING",
|
||||||
|
type: Discord.ApplicationCommandOptionType.String,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "message",
|
name: "message",
|
||||||
description: "Embed Message",
|
description: "Embed Message",
|
||||||
type: "STRING",
|
type: "STRING",
|
||||||
|
type: Discord.ApplicationCommandOptionType.String,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "color",
|
name: "color",
|
||||||
description: "Embed HEX Color",
|
description: "Embed HEX Color",
|
||||||
type: "STRING",
|
type: "STRING",
|
||||||
|
type: Discord.ApplicationCommandOptionType.String,
|
||||||
required: false,
|
required: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "fieldtitle",
|
name: "fieldtitle",
|
||||||
description: "Add an additional Embed Field",
|
description: "Add an additional Embed Field",
|
||||||
type: "STRING",
|
type: "STRING",
|
||||||
|
type: Discord.ApplicationCommandOptionType.String,
|
||||||
required: false,
|
required: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "fieldcontent",
|
name: "fieldcontent",
|
||||||
description: "Add an additional Embed Field",
|
description: "Add an additional Embed Field",
|
||||||
type: "STRING",
|
type: "STRING",
|
||||||
|
type: Discord.ApplicationCommandOptionType.String,
|
||||||
required: false,
|
required: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "thumbnail",
|
name: "thumbnail",
|
||||||
description: "Embed Thumbnail URL",
|
description: "Embed Thumbnail URL",
|
||||||
type: "STRING",
|
type: "STRING",
|
||||||
|
type: Discord.ApplicationCommandOptionType.String,
|
||||||
required: false,
|
required: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "image",
|
name: "image",
|
||||||
description: "Embed Image URL",
|
description: "Embed Image URL",
|
||||||
type: "STRING",
|
type: "STRING",
|
||||||
|
type: Discord.ApplicationCommandOptionType.String,
|
||||||
required: false,
|
required: false,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -70,7 +78,7 @@ module.exports = new Command({
|
|||||||
return interaction.reply(
|
return interaction.reply(
|
||||||
"Some roles seem to be missing!\nPlease check for errors when starting the bot."
|
"Some roles seem to be missing!\nPlease check for errors when starting the bot."
|
||||||
);
|
);
|
||||||
const NoPerms = new Discord.MessageEmbed()
|
const NoPerms = new Discord.EmbedBuilder()
|
||||||
.setTitle("Invalid Permissions!")
|
.setTitle("Invalid Permissions!")
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`${supportbot.IncorrectPerms}\n\nRole Required: \`${supportbot.Staff}\` or \`${supportbot.Admin}\``
|
`${supportbot.IncorrectPerms}\n\nRole Required: \`${supportbot.Staff}\` or \`${supportbot.Admin}\``
|
||||||
@@ -83,16 +91,16 @@ module.exports = new Command({
|
|||||||
) {
|
) {
|
||||||
const EmbedTitle = interaction.options.getString("title");
|
const EmbedTitle = interaction.options.getString("title");
|
||||||
const EmbedSubject = interaction.options.getString("message");
|
const EmbedSubject = interaction.options.getString("message");
|
||||||
const EmbedColour = interaction.options.getString("color");
|
const GeneralColour = interaction.options.getString("color");
|
||||||
const EmbedThumbnail = interaction.options.getString("thumbnail");
|
const EmbedThumbnail = interaction.options.getString("thumbnail");
|
||||||
const EmbedImage = interaction.options.getString("image");
|
const EmbedImage = interaction.options.getString("image");
|
||||||
const EmbedFieldContent = interaction.options.getString("fieldcontent");
|
const EmbedFieldContent = interaction.options.getString("fieldcontent");
|
||||||
const EmbedFieldTitle = interaction.options.getString("fieldtitle");
|
const EmbedFieldTitle = interaction.options.getString("fieldtitle");
|
||||||
|
|
||||||
const EmbedMsg = new Discord.MessageEmbed()
|
const EmbedMsg = new Discord.EmbedBuilder()
|
||||||
.setTitle(EmbedTitle)
|
.setTitle(EmbedTitle)
|
||||||
.setDescription(EmbedSubject)
|
.setDescription(EmbedSubject)
|
||||||
.setColor(EmbedColour)
|
.setColor(GeneralColour)
|
||||||
.setThumbnail(EmbedThumbnail)
|
.setThumbnail(EmbedThumbnail)
|
||||||
.setImage(EmbedImage)
|
.setImage(EmbedImage)
|
||||||
if (EmbedFieldTitle && EmbedFieldContent) { EmbedMsg.addField(EmbedFieldTitle, EmbedFieldContent) };
|
if (EmbedFieldTitle && EmbedFieldContent) { EmbedMsg.addField(EmbedFieldTitle, EmbedFieldContent) };
|
||||||
|
|||||||
+5
-4
@@ -15,6 +15,7 @@ const Command = require("../Structures/Command.js");
|
|||||||
module.exports = new Command({
|
module.exports = new Command({
|
||||||
name: cmdconfig.HelpCommand,
|
name: cmdconfig.HelpCommand,
|
||||||
description: cmdconfig.HelpCommandDesc,
|
description: cmdconfig.HelpCommandDesc,
|
||||||
|
type: Discord.ApplicationCommandType.ChatInput,
|
||||||
options: [],
|
options: [],
|
||||||
permissions: ["SEND_MESSAGES"],
|
permissions: ["SEND_MESSAGES"],
|
||||||
|
|
||||||
@@ -47,10 +48,10 @@ module.exports = new Command({
|
|||||||
staffCommands += `**/${cmdconfig.UserInfoCommand}** ${cmdconfig.UserInfoCommandDesc}\n`;
|
staffCommands += `**/${cmdconfig.UserInfoCommand}** ${cmdconfig.UserInfoCommandDesc}\n`;
|
||||||
staffCommands += `**/${cmdconfig.TranslateCommand}** ${cmdconfig.TranslateCommandDesc}\n`;
|
staffCommands += `**/${cmdconfig.TranslateCommand}** ${cmdconfig.TranslateCommandDesc}\n`;
|
||||||
|
|
||||||
const HelpEmbed1 = new Discord.MessageEmbed()
|
const HelpEmbed1 = new Discord.EmbedBuilder()
|
||||||
.setTitle(supportbot.Name + " Commands")
|
.setTitle(supportbot.General.Name + " Commands")
|
||||||
.setThumbnail(interaction.user.displayAvatarURL())
|
.setThumbnail(interaction.user.displayAvatarURL())
|
||||||
|
.setColor(supportbot.GeneralColour)
|
||||||
.addFields(
|
.addFields(
|
||||||
{
|
{
|
||||||
name: "🖥️ General Commands\n",
|
name: "🖥️ General Commands\n",
|
||||||
@@ -64,7 +65,7 @@ module.exports = new Command({
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
.setColor(supportbot.EmbedColour)
|
.setColor(supportbot.GeneralColour)
|
||||||
.setFooter({
|
.setFooter({
|
||||||
text: supportbot.EmbedFooter,
|
text: supportbot.EmbedFooter,
|
||||||
iconURL: interaction.user.displayAvatarURL(),
|
iconURL: interaction.user.displayAvatarURL(),
|
||||||
|
|||||||
+7
-6
@@ -19,21 +19,22 @@ module.exports = new Command({
|
|||||||
permissions: ["SEND_MESSAGES"],
|
permissions: ["SEND_MESSAGES"],
|
||||||
|
|
||||||
async run(interaction) {
|
async run(interaction) {
|
||||||
const InfoButton = new Discord.MessageButton()
|
const InfoButton = new Discord.ButtonBuilder()
|
||||||
.setLabel(supportbot.InfoButtonText)
|
.setLabel(supportbot.InfoButtonText)
|
||||||
.setURL(supportbot.InfoURL)
|
.setURL(supportbot.InfoURL)
|
||||||
.setStyle("LINK");
|
.setStyle("Link");
|
||||||
|
|
||||||
const inforow = new Discord.MessageActionRow().addComponents(InfoButton);
|
const inforow = new Discord.ActionRowBuilder().addComponents(InfoButton);
|
||||||
|
|
||||||
const InfoEmbed = new Discord.MessageEmbed()
|
const InfoEmbed = new Discord.EmbedBuilder()
|
||||||
.setURL(supportbot.InfoURL)
|
.setURL(supportbot.InfoURL)
|
||||||
.setTitle(supportbot.InfoTitle)
|
.setTitle(supportbot.InfoTitle)
|
||||||
.setColor(supportbot.InfoColour);
|
.setDescription(supportbot.InfoDesc)
|
||||||
|
.setColor(supportbot.InfoColour)
|
||||||
|
|
||||||
interaction.reply({
|
interaction.reply({
|
||||||
embeds: [InfoEmbed],
|
embeds: [InfoEmbed],
|
||||||
components: [inforow],
|
components: [inforow],
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
+2
-2
@@ -19,11 +19,11 @@ module.exports = new Command({
|
|||||||
permissions: ["SEND_MESSAGES"],
|
permissions: ["SEND_MESSAGES"],
|
||||||
|
|
||||||
async run(interaction) {
|
async run(interaction) {
|
||||||
const PingEmbed = new Discord.MessageEmbed()
|
const PingEmbed = new Discord.EmbedBuilder()
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`:ping_pong: **Ping:** \`${interaction.client.ws.ping} ms\``
|
`:ping_pong: **Ping:** \`${interaction.client.ws.ping} ms\``
|
||||||
)
|
)
|
||||||
.setColor(supportbot.EmbedColour);
|
.setColor(supportbot.GeneralColour);
|
||||||
|
|
||||||
interaction.reply({
|
interaction.reply({
|
||||||
embeds: [PingEmbed],
|
embeds: [PingEmbed],
|
||||||
|
|||||||
+7
-5
@@ -15,11 +15,13 @@ const Command = require("../Structures/Command.js");
|
|||||||
module.exports = new Command({
|
module.exports = new Command({
|
||||||
name: cmdconfig.TicketRemove,
|
name: cmdconfig.TicketRemove,
|
||||||
description: cmdconfig.TicketRemoveDesc,
|
description: cmdconfig.TicketRemoveDesc,
|
||||||
|
type: Discord.ApplicationCommandType.ChatInput,
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
name: "user",
|
name: "user",
|
||||||
description: "User to remove",
|
description: "User to remove",
|
||||||
type: "USER",
|
type: "USER",
|
||||||
|
type: Discord.ApplicationCommandOptionType.User,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -34,7 +36,7 @@ module.exports = new Command({
|
|||||||
"Some roles seem to be missing!\nPlease check for errors when starting the bot."
|
"Some roles seem to be missing!\nPlease check for errors when starting the bot."
|
||||||
);
|
);
|
||||||
|
|
||||||
const NoPerms = new Discord.MessageEmbed()
|
const NoPerms = new Discord.EmbedBuilder()
|
||||||
.setTitle("Invalid Permissions!")
|
.setTitle("Invalid Permissions!")
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`${supportbot.IncorrectPerms}\n\nRole Required: \`${supportbot.Staff}\` or \`${supportbot.Admin}\``
|
`${supportbot.IncorrectPerms}\n\nRole Required: \`${supportbot.Staff}\` or \`${supportbot.Admin}\``
|
||||||
@@ -53,7 +55,7 @@ module.exports = new Command({
|
|||||||
(t) => t.id === interaction.channel.id
|
(t) => t.id === interaction.channel.id
|
||||||
);
|
);
|
||||||
if (ticket === -1) {
|
if (ticket === -1) {
|
||||||
const Exists = new Discord.MessageEmbed()
|
const Exists = new Discord.EmbedBuilder()
|
||||||
.setTitle("No Ticket Found!")
|
.setTitle("No Ticket Found!")
|
||||||
.setDescription(supportbot.NoValidTicket)
|
.setDescription(supportbot.NoValidTicket)
|
||||||
.setColor(supportbot.WarningColour);
|
.setColor(supportbot.WarningColour);
|
||||||
@@ -61,7 +63,7 @@ module.exports = new Command({
|
|||||||
}
|
}
|
||||||
|
|
||||||
let uMember = interaction.options.getUser("user");
|
let uMember = interaction.options.getUser("user");
|
||||||
const UserNotExist = new Discord.MessageEmbed()
|
const UserNotExist = new Discord.EmbedBuilder()
|
||||||
.setTitle("User Not Found!")
|
.setTitle("User Not Found!")
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`${supportbot.UserNotFound}\n\nTry Again:\`/${cmdconfig.TicketRemove} <user#0000>\``
|
`${supportbot.UserNotFound}\n\nTry Again:\`/${cmdconfig.TicketRemove} <user#0000>\``
|
||||||
@@ -74,11 +76,11 @@ module.exports = new Command({
|
|||||||
VIEW_CHANNEL: false,
|
VIEW_CHANNEL: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
const Complete = new Discord.MessageEmbed()
|
const Complete = new Discord.EmbedBuilder()
|
||||||
.setTitle("User Removed!")
|
.setTitle("User Removed!")
|
||||||
.setDescription(supportbot.RemovedUser.replace(/%user%/g, uMember.id))
|
.setDescription(supportbot.RemovedUser.replace(/%user%/g, uMember.id))
|
||||||
.setTimestamp()
|
.setTimestamp()
|
||||||
.setColor(supportbot.EmbedColour);
|
.setColor(supportbot.GeneralColour);
|
||||||
interaction.reply({ embeds: [Complete] });
|
interaction.reply({ embeds: [Complete] });
|
||||||
TicketData.tickets[ticket].subUsers = TicketData.tickets[
|
TicketData.tickets[ticket].subUsers = TicketData.tickets[
|
||||||
ticket
|
ticket
|
||||||
|
|||||||
+6
-4
@@ -15,11 +15,13 @@ const Command = require("../Structures/Command.js");
|
|||||||
module.exports = new Command({
|
module.exports = new Command({
|
||||||
name: cmdconfig.SuggestCommand,
|
name: cmdconfig.SuggestCommand,
|
||||||
description: cmdconfig.SuggestCommandDesc,
|
description: cmdconfig.SuggestCommandDesc,
|
||||||
|
type: Discord.ApplicationCommandType.ChatInput,
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
name: "suggestion",
|
name: "suggestion",
|
||||||
description: "Create a Suggestion",
|
description: "Create a Suggestion",
|
||||||
type: "STRING",
|
type: "STRING",
|
||||||
|
type: Discord.ApplicationCommandOptionType.String,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -32,7 +34,7 @@ module.exports = new Command({
|
|||||||
interaction.guild
|
interaction.guild
|
||||||
);
|
);
|
||||||
|
|
||||||
const NoChannel = new Discord.MessageEmbed()
|
const NoChannel = new Discord.EmbedBuilder()
|
||||||
.setTitle("Missing Channel!")
|
.setTitle("Missing Channel!")
|
||||||
.setDescription(supportbot.InvalidChannel)
|
.setDescription(supportbot.InvalidChannel)
|
||||||
.setColor(supportbot.ErrorColour);
|
.setColor(supportbot.ErrorColour);
|
||||||
@@ -41,7 +43,7 @@ module.exports = new Command({
|
|||||||
|
|
||||||
let suggestion = interaction.options.getString("suggestion");
|
let suggestion = interaction.options.getString("suggestion");
|
||||||
|
|
||||||
const SuggestEmbed = new Discord.MessageEmbed()
|
const SuggestEmbed = new Discord.EmbedBuilder()
|
||||||
.addField("Suggestion", suggestion, true)
|
.addField("Suggestion", suggestion, true)
|
||||||
.addField("From", `<@${interaction.user.id}>`)
|
.addField("From", `<@${interaction.user.id}>`)
|
||||||
.setThumbnail(interaction.user.displayAvatarURL())
|
.setThumbnail(interaction.user.displayAvatarURL())
|
||||||
@@ -49,7 +51,7 @@ module.exports = new Command({
|
|||||||
text: supportbot.EmbedFooter,
|
text: supportbot.EmbedFooter,
|
||||||
iconURL: interaction.user.displayAvatarURL(),
|
iconURL: interaction.user.displayAvatarURL(),
|
||||||
})
|
})
|
||||||
.setColor(supportbot.EmbedColour);
|
.setColor(supportbot.GeneralColour);
|
||||||
|
|
||||||
const suggestionMsg = await suggestChannel.send({ embeds: [SuggestEmbed] });
|
const suggestionMsg = await suggestChannel.send({ embeds: [SuggestEmbed] });
|
||||||
if (supportbot.SuggestionUpvote && supportbot.SuggestionDownvote) {
|
if (supportbot.SuggestionUpvote && supportbot.SuggestionDownvote) {
|
||||||
@@ -67,7 +69,7 @@ module.exports = new Command({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const Submitted = new Discord.MessageEmbed()
|
const Submitted = new Discord.EmbedBuilder()
|
||||||
.setTitle("Suggestion Submitted!")
|
.setTitle("Suggestion Submitted!")
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`:white_check_mark: You have successfully submitted a suggestion.`
|
`:white_check_mark: You have successfully submitted a suggestion.`
|
||||||
|
|||||||
+11
-5
@@ -8,7 +8,11 @@ const {
|
|||||||
Permissions,
|
Permissions,
|
||||||
MessageButton,
|
MessageButton,
|
||||||
MessageActionRow,
|
MessageActionRow,
|
||||||
|
ApplicationCommandOptionType,
|
||||||
|
ApplicationCommandType,
|
||||||
|
ButtonStyle
|
||||||
} = require("discord.js");
|
} = require("discord.js");
|
||||||
|
|
||||||
const yaml = require("js-yaml");
|
const yaml = require("js-yaml");
|
||||||
const supportbot = yaml.load(
|
const supportbot = yaml.load(
|
||||||
fs.readFileSync("./Configs/supportbot.yml", "utf8")
|
fs.readFileSync("./Configs/supportbot.yml", "utf8")
|
||||||
@@ -21,12 +25,14 @@ const TicketNumberID = require("../Structures/TicketID.js");
|
|||||||
module.exports = new Command({
|
module.exports = new Command({
|
||||||
name: cmdconfig.OpenTicket,
|
name: cmdconfig.OpenTicket,
|
||||||
description: cmdconfig.OpenTicketDesc,
|
description: cmdconfig.OpenTicketDesc,
|
||||||
|
type: ApplicationCommandType.ChatInput,
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
name: "reason",
|
name: "reason",
|
||||||
description: "Ticket Reason",
|
description: "Ticket Reason",
|
||||||
type: "STRING",
|
type: ApplicationCommandOptionType.String,
|
||||||
},
|
},
|
||||||
|
|
||||||
],
|
],
|
||||||
permissions: ["SEND_MESSAGES"],
|
permissions: ["SEND_MESSAGES"],
|
||||||
|
|
||||||
@@ -164,7 +170,7 @@ module.exports = new Command({
|
|||||||
.replace(/%ticketid%/g, ticketChannel.id)
|
.replace(/%ticketid%/g, ticketChannel.id)
|
||||||
.replace(/%ticketusername%/g, interaction.user.username)
|
.replace(/%ticketusername%/g, interaction.user.username)
|
||||||
)
|
)
|
||||||
.setColor(supportbot.EmbedColour);
|
.setColor(supportbot.GeneralColour);
|
||||||
await interaction.reply({ embeds: [CreatedTicket], ephemeral: true });
|
await interaction.reply({ embeds: [CreatedTicket], ephemeral: true });
|
||||||
|
|
||||||
if (supportbot.AllowTicketMentions) {
|
if (supportbot.AllowTicketMentions) {
|
||||||
@@ -182,7 +188,7 @@ module.exports = new Command({
|
|||||||
.replace(/%ticketid%/g, ticketChannel.id)
|
.replace(/%ticketid%/g, ticketChannel.id)
|
||||||
.replace(/%ticketusername%/g, interaction.user.username)
|
.replace(/%ticketusername%/g, interaction.user.username)
|
||||||
)
|
)
|
||||||
.setColor(supportbot.EmbedColour);
|
.setColor(supportbot.GeneralColour);
|
||||||
|
|
||||||
if (supportbot.TicketSubject === "embed") {
|
if (supportbot.TicketSubject === "embed") {
|
||||||
if (TicketSubject !== "No Reason Provided.") {
|
if (TicketSubject !== "No Reason Provided.") {
|
||||||
@@ -280,7 +286,7 @@ module.exports = new Command({
|
|||||||
embeds: [
|
embeds: [
|
||||||
{
|
{
|
||||||
description: `> Thank for reaching out to the **${title} Department**. Please provide us information regarding your query.`,
|
description: `> Thank for reaching out to the **${title} Department**. Please provide us information regarding your query.`,
|
||||||
color: supportbot.EmbedColour,
|
color: supportbot.GeneralColour,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
@@ -317,7 +323,7 @@ module.exports = new Command({
|
|||||||
embeds: [
|
embeds: [
|
||||||
{
|
{
|
||||||
description: `> Thank for reaching out to the **${title} Department**. Please provide us information regarding your query.`,
|
description: `> Thank for reaching out to the **${title} Department**. Please provide us information regarding your query.`,
|
||||||
color: supportbot.EmbedColour,
|
color: supportbot.GeneralColour,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -18,15 +18,16 @@ const translate = require("@vitalets/google-translate-api");
|
|||||||
module.exports = new Command({
|
module.exports = new Command({
|
||||||
name: cmdconfig.TranslateCommand, // Name of command
|
name: cmdconfig.TranslateCommand, // Name of command
|
||||||
description: cmdconfig.TranslateCommandDesc, // Description of command
|
description: cmdconfig.TranslateCommandDesc, // Description of command
|
||||||
|
type: Discord.ApplicationCommandType.ChatInput,
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
type: "STRING",
|
type: Discord.ApplicationCommandOptionType.String,
|
||||||
name: "language",
|
name: "language",
|
||||||
description: "A 2 letter language code",
|
description: "A 2 letter language code",
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "STRING",
|
type: Discord.ApplicationCommandOptionType.String,
|
||||||
name: "text",
|
name: "text",
|
||||||
description: "The text to translate",
|
description: "The text to translate",
|
||||||
required: true,
|
required: true,
|
||||||
@@ -44,7 +45,7 @@ module.exports = new Command({
|
|||||||
"Some roles seem to be missing!\nPlease check the error logs."
|
"Some roles seem to be missing!\nPlease check the error logs."
|
||||||
);
|
);
|
||||||
|
|
||||||
const NoPerms = new Discord.MessageEmbed()
|
const NoPerms = new Discord.EmbedBuilder()
|
||||||
.setTitle("Invalid Permissions!")
|
.setTitle("Invalid Permissions!")
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`${supportbot.IncorrectPerms}\n\nRole Required: \`${supportbot.Staff}\` or \`${supportbot.Admin}\``
|
`${supportbot.IncorrectPerms}\n\nRole Required: \`${supportbot.Staff}\` or \`${supportbot.Admin}\``
|
||||||
@@ -72,7 +73,7 @@ module.exports = new Command({
|
|||||||
if (err && err.code == 400) {
|
if (err && err.code == 400) {
|
||||||
await interaction.reply({
|
await interaction.reply({
|
||||||
embeds: [
|
embeds: [
|
||||||
new Discord.MessageEmbed()
|
new Discord.EmbedBuilder()
|
||||||
.setColor(supportbot.WarningColour)
|
.setColor(supportbot.WarningColour)
|
||||||
.setTitle("Valid Language Codes")
|
.setTitle("Valid Language Codes")
|
||||||
.setURL(url)
|
.setURL(url)
|
||||||
@@ -87,7 +88,7 @@ module.exports = new Command({
|
|||||||
if (!result) return;
|
if (!result) return;
|
||||||
|
|
||||||
// Embed containing language code, original text and translated text
|
// Embed containing language code, original text and translated text
|
||||||
let transembed = new Discord.MessageEmbed()
|
let transembed = new Discord.EmbedBuilder()
|
||||||
.setAuthor({ name: interaction.user.tag, iconURL: interaction.user.displayAvatarURL({ dynamic: true }) })
|
.setAuthor({ name: interaction.user.tag, iconURL: interaction.user.displayAvatarURL({ dynamic: true }) })
|
||||||
.setColor(supportbot.SuccessColour)
|
.setColor(supportbot.SuccessColour)
|
||||||
.setDescription(`**Translation to ${lang}**`)
|
.setDescription(`**Translation to ${lang}**`)
|
||||||
|
|||||||
@@ -18,9 +18,10 @@ const Command = require("../Structures/Command.js");
|
|||||||
module.exports = new Command({
|
module.exports = new Command({
|
||||||
name: cmdconfig.UserInfoCommand, // Name of command
|
name: cmdconfig.UserInfoCommand, // Name of command
|
||||||
description: cmdconfig.UserInfoCommandDesc, // Description of command
|
description: cmdconfig.UserInfoCommandDesc, // Description of command
|
||||||
|
type: Discord.ApplicationCommandType.ChatInput,
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
type: "USER",
|
type: Discord.ApplicationCommandOptionType.User,
|
||||||
name: "user",
|
name: "user",
|
||||||
description: "The user you want to get info about.",
|
description: "The user you want to get info about.",
|
||||||
required: true,
|
required: true,
|
||||||
@@ -37,7 +38,7 @@ module.exports = new Command({
|
|||||||
"Some roles seem to be missing!\nPlease check the error logs."
|
"Some roles seem to be missing!\nPlease check the error logs."
|
||||||
);
|
);
|
||||||
|
|
||||||
const NoPerms = new Discord.MessageEmbed()
|
const NoPerms = new Discord.EmbedBuilder()
|
||||||
.setTitle("Invalid Permissions!")
|
.setTitle("Invalid Permissions!")
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`${supportbot.IncorrectPerms}\n\nRole Required: \`${supportbot.Staff}\` or \`${supportbot.Admin}\``
|
`${supportbot.IncorrectPerms}\n\nRole Required: \`${supportbot.Staff}\` or \`${supportbot.Admin}\``
|
||||||
@@ -53,7 +54,7 @@ module.exports = new Command({
|
|||||||
let user = await interaction.options.getUser("user") || interaction.author; // Grab the mentioned user
|
let user = await interaction.options.getUser("user") || interaction.author; // Grab the mentioned user
|
||||||
let member = await interaction.guild.members.cache.get(user.id) // Check for user and his ID
|
let member = await interaction.guild.members.cache.get(user.id) // Check for user and his ID
|
||||||
|
|
||||||
const UserNotExist = new Discord.MessageEmbed()
|
const UserNotExist = new Discord.EmbedBuilder()
|
||||||
.setTitle("User Not Found!")
|
.setTitle("User Not Found!")
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`${supportbot.UserNotFound}\n\nTry Again:\`/${cmdconfig.UserInfoCommand} <@!User_ID> or @User\``
|
`${supportbot.UserNotFound}\n\nTry Again:\`/${cmdconfig.UserInfoCommand} <@!User_ID> or @User\``
|
||||||
@@ -90,7 +91,7 @@ module.exports = new Command({
|
|||||||
const userFlags = user.flags.toArray();
|
const userFlags = user.flags.toArray();
|
||||||
|
|
||||||
// Embed containing the userinfo
|
// Embed containing the userinfo
|
||||||
let userembed = new Discord.MessageEmbed()
|
let userembed = new Discord.EmbedBuilder()
|
||||||
.setTitle(`User Info for User: ${user.tag}`)
|
.setTitle(`User Info for User: ${user.tag}`)
|
||||||
.setThumbnail(member.displayAvatarURL({ dynamic: true, size: 512 }))
|
.setThumbnail(member.displayAvatarURL({ dynamic: true, size: 512 }))
|
||||||
.setColor(member.roles.highest.hexColor)
|
.setColor(member.roles.highest.hexColor)
|
||||||
|
|||||||
+52
-50
@@ -4,53 +4,54 @@
|
|||||||
# <___/`___|| _/| _/\___/|_| |_| |___/\___/ |_|
|
# <___/`___|| _/| _/\___/|_| |_| |___/\___/ |_|
|
||||||
# |_| |_|
|
# |_| |_|
|
||||||
#
|
#
|
||||||
# SupportBot created by Emerald Services
|
# SupportBot created by Emerald Development
|
||||||
# Installed with MIT License
|
# Installed with MIT License
|
||||||
#
|
#
|
||||||
# Discord Support: https://emeraldsrv.dev/discord
|
# Discord Support: https://dsc.gg/emerald-dev
|
||||||
# Community Resources: https://emeraldsrv.dev/resources
|
# Official Documentation: https://emeraldsrv.dev/wiki
|
||||||
|
# Third-Party Documentation: https://emeraldsrv.dev/third-party
|
||||||
|
|
||||||
SupportBot_Version: "v7.7"
|
SupportBot_Version: "v8.0 DEV-v1.0"
|
||||||
|
|
||||||
# -------------------------
|
# -------------------------
|
||||||
# General Configuration
|
# General Configuration
|
||||||
# -------------------------
|
# -------------------------
|
||||||
|
|
||||||
Name: "SupportBot"
|
General:
|
||||||
Token: "BOT_TOKEN HTTPS://DISCORD.COM/DEVELOPERS"
|
Name: "SupportBot"
|
||||||
|
Token: "BOT_TOKEN"
|
||||||
|
|
||||||
# -------------------------
|
# -------------------------
|
||||||
# Activity Configuration
|
# Activity Configuration
|
||||||
# -------------------------
|
# -------------------------
|
||||||
|
|
||||||
BotActivity: "Here to help!"
|
Status: "SupportBot v8"
|
||||||
|
Type: "Watching"
|
||||||
|
# The Type can either be Playing, Watching, Listenin or Streaming.
|
||||||
|
|
||||||
StreamingURL: "https://www.twitch.tv/YOUR_TWITCH_NAME"
|
StreamingURL: "https://www.twitch.tv/YOUR_TWITCH_NAME"
|
||||||
# Set The ActivityType to "STREAMING" for a streaming status!
|
# Set The Type to "Streaming" for a streaming status!
|
||||||
|
|
||||||
ActivityType: "PLAYING"
|
|
||||||
# Activity status can either be PLAYING, WATCHING, LISTENING or STREAMING.
|
|
||||||
|
|
||||||
# -------------------------
|
# -------------------------
|
||||||
# Embed Configuration
|
# Embed Configuration
|
||||||
# -------------------------
|
# -------------------------
|
||||||
|
|
||||||
EmbedColour: "#f74343"
|
GeneralColour: "#f74343"
|
||||||
EmbedFooter: "SupportBot | Developed by Emerald Services"
|
|
||||||
|
|
||||||
ErrorColour: "#d12519"
|
ErrorColour: "#d12519"
|
||||||
SuccessColour: "#04b545"
|
SuccessColour: "#04b545"
|
||||||
WarningColour: "#fca117"
|
WarningColour: "#fca117"
|
||||||
|
|
||||||
|
EmbedFooter: "SupportBot | Developed by Emerald Development"
|
||||||
|
|
||||||
# -------------------------
|
# -------------------------
|
||||||
# Role Configuration
|
# Role Configuration
|
||||||
# -------------------------
|
# -------------------------
|
||||||
|
|
||||||
AutoRole: true
|
AutoRole: true
|
||||||
JoinRole: "Member"
|
JoinRole: "SupportBot Member"
|
||||||
|
|
||||||
Staff: "Staff"
|
Staff: "SupportBot Staff"
|
||||||
Admin: "Admin"
|
Admin: "SupportBot Admin"
|
||||||
TicketBlackListRole: "Blacklisted"
|
TicketBlackListRole: "Blacklisted"
|
||||||
TicketMutedRole: "Muted"
|
TicketMutedRole: "Muted"
|
||||||
|
|
||||||
@@ -64,7 +65,7 @@ Welcome: true
|
|||||||
WelcomeChannel: "join-leave-logs"
|
WelcomeChannel: "join-leave-logs"
|
||||||
WelcomeColour: "#f74343"
|
WelcomeColour: "#f74343"
|
||||||
WelcomeTitle: "User Joined!"
|
WelcomeTitle: "User Joined!"
|
||||||
WelcomeMessage: "%joined_user% has joined the server!"
|
WelcomeMessage: "> %joined_user% has joined the server!"
|
||||||
# Available Placeholders:
|
# Available Placeholders:
|
||||||
# %joined_user% - Mentions the user who joined
|
# %joined_user% - Mentions the user who joined
|
||||||
|
|
||||||
@@ -82,7 +83,7 @@ Leave: true
|
|||||||
LeaveChannel: "join-leave-logs"
|
LeaveChannel: "join-leave-logs"
|
||||||
LeaveColour: "#f74343"
|
LeaveColour: "#f74343"
|
||||||
LeaveTitle: "User Left!"
|
LeaveTitle: "User Left!"
|
||||||
LeaveMessage: "%joined_user% has left the server!"
|
LeaveMessage: "> %joined_user% has left the server!"
|
||||||
# Available Placeholders:
|
# Available Placeholders:
|
||||||
# %joined_user% - Mentions the user who joined
|
# %joined_user% - Mentions the user who joined
|
||||||
|
|
||||||
@@ -99,6 +100,7 @@ EmbedLeaveThumbnail: false
|
|||||||
# -------------------------
|
# -------------------------
|
||||||
|
|
||||||
InfoTitle: "Information"
|
InfoTitle: "Information"
|
||||||
|
InfoDesc: "SupportBot is an open-sourced support system for discord. It's completely free to use with high amounts of customization to match your own brand."
|
||||||
|
|
||||||
InfoButtonText: "Visit Site"
|
InfoButtonText: "Visit Site"
|
||||||
InfoURL: "https://emeraldsrv.dev"
|
InfoURL: "https://emeraldsrv.dev"
|
||||||
@@ -136,8 +138,8 @@ TranscriptLog: "ticket-data"
|
|||||||
DMTranscripts: true
|
DMTranscripts: true
|
||||||
TranscriptTitle: "Ticket Transcript"
|
TranscriptTitle: "Ticket Transcript"
|
||||||
TicketLog_Title: "Ticket Closed"
|
TicketLog_Title: "Ticket Closed"
|
||||||
TicketBlackListMessage: "You are not allowed to open a ticket"
|
TicketBlackListMessage: "> :x: You are not allowed to open a ticket"
|
||||||
TicketMutedMessage: "You are muted and therefore not allowed to open any tickets"
|
TicketMutedMessage: "> :x: You are `Muted` and therefore not allowed to open any tickets"
|
||||||
TicketRoleMention: "@here"
|
TicketRoleMention: "@here"
|
||||||
# To ping a role: <@ROLE_ID>
|
# To ping a role: <@ROLE_ID>
|
||||||
|
|
||||||
@@ -167,15 +169,15 @@ DisableTicketLogChannel: false
|
|||||||
# <#%ticketid%> - Mentions the ticket channel.
|
# <#%ticketid%> - Mentions the ticket channel.
|
||||||
|
|
||||||
Ticket_Title: "Server Support | %ticketusername%"
|
Ticket_Title: "Server Support | %ticketusername%"
|
||||||
TicketMessage: "Hello <@%ticketauthor%>, Thank you for creating a support ticket\nPlease wait patiently whilst a member of our team reaches out to you."
|
TicketMessage: "> Hello <@%ticketauthor%>, Thank you for creating a support ticket\nPlease wait patiently whilst a member of our team reaches out to you."
|
||||||
|
|
||||||
Ticket_Thumbnail: "https://images.emojiterra.com/google/android-pie/512px/1f39f.png"
|
Ticket_Thumbnail: "https://images.emojiterra.com/google/android-pie/512px/1f39f.png"
|
||||||
NoTicketSubject: "No Reason Provided!"
|
NoTicketSubject: "> No Reason Provided!"
|
||||||
|
|
||||||
TicketCreatedAlert: ":ticket: Your support ticket has been created: <#%ticketid%>"
|
TicketCreatedAlert: "> :ticket: Ticked Created: <#%ticketid%>"
|
||||||
|
|
||||||
AddedUser: "👍 <@%user%> has been added to this ticket"
|
AddedUser: "> 👍 <@%user%> has been `Added` to the ticket"
|
||||||
RemovedUser: "👍 <@%user%> has been removed from this ticket"
|
RemovedUser: "> 👍 <@%user%> has been `Removed` from this ticket"
|
||||||
|
|
||||||
# -------------------------
|
# -------------------------
|
||||||
# Tickets Categories
|
# Tickets Categories
|
||||||
@@ -190,34 +192,34 @@ AllowAllStaff: false
|
|||||||
|
|
||||||
Departments:
|
Departments:
|
||||||
- title: "Support"
|
- title: "Support"
|
||||||
role: "Staff"
|
role: "SupportBot Staff"
|
||||||
color: "SECONDARY"
|
color: "Secondary"
|
||||||
emoji: "1️⃣"
|
emoji: "1️⃣"
|
||||||
category: "Tickets"
|
category: "Tickets"
|
||||||
|
|
||||||
- title: "Billing Support"
|
- title: "Billing Support"
|
||||||
role: "Staff"
|
role: "SupportBot Staff"
|
||||||
color: "SECONDARY"
|
color: "Secondary"
|
||||||
emoji: "2️⃣"
|
emoji: "2️⃣"
|
||||||
category: "Tickets"
|
category: "Tickets"
|
||||||
|
|
||||||
- title: "Admin Team"
|
- title: "Admin Team"
|
||||||
role: "Admin"
|
role: "SupportBot Admin"
|
||||||
color: "SECONDARY"
|
color: "Secondary"
|
||||||
emoji: "3️⃣"
|
emoji: "3️⃣"
|
||||||
category: "Tickets"
|
category: "Tickets"
|
||||||
|
|
||||||
# - title: "Other"
|
# - title: "Other"
|
||||||
# role: "Staff"
|
# role: "Staff"
|
||||||
# color: "SECONDARY"
|
# color: "Secondary"
|
||||||
# emoji: "3️⃣"
|
# emoji: "3️⃣"
|
||||||
# category: "Tickets"
|
# category: "Tickets"
|
||||||
|
|
||||||
# Discord Button Colour Selection
|
# Discord Button Colour Selection
|
||||||
# PRIMARY - Blurple
|
# Primary - Blurple
|
||||||
# SECONDARY - Grey
|
# Secondary- Grey
|
||||||
# DANGER - Red
|
# Danger - Red
|
||||||
# SUCCESS - Green
|
# Success - Green
|
||||||
|
|
||||||
# --- Buttons Config ---
|
# --- Buttons Config ---
|
||||||
# --- Start ---
|
# --- Start ---
|
||||||
@@ -228,15 +230,15 @@ TicketCloseEmoji: "❌"
|
|||||||
TicketDeleteEmoji: "⛔"
|
TicketDeleteEmoji: "⛔"
|
||||||
TicketLockEmoji: "🔒"
|
TicketLockEmoji: "🔒"
|
||||||
|
|
||||||
TicketCloseColour: "DANGER"
|
TicketCloseColour: "Danger"
|
||||||
TicketDeleteColour: "DANGER"
|
TicketDeleteColour: "Danger"
|
||||||
TicketLockColour: "PRIMARY"
|
TicketLockColour: "Primary"
|
||||||
|
|
||||||
# Discord Button Colour Selection
|
# Discord Button Colour Selection
|
||||||
# PRIMARY - Blue
|
# Primary - Blue
|
||||||
# SECONDARY - Grey
|
# Secondary - Grey
|
||||||
# DANGER - Red
|
# Danger - Red
|
||||||
# SUCCESS - Green
|
# Success - Green
|
||||||
|
|
||||||
TranscriptSavedMessage: "📝 **Transcript Saved!**"
|
TranscriptSavedMessage: "📝 **Transcript Saved!**"
|
||||||
TicketLockMessage: "❌ **Ticket Locked!**"
|
TicketLockMessage: "❌ **Ticket Locked!**"
|
||||||
@@ -246,7 +248,7 @@ TicketDeleteMessage: "⚠ **Ticket Deleting!**" # Tickets deleting after 5 secon
|
|||||||
# --- Start ---
|
# --- Start ---
|
||||||
|
|
||||||
StaffOnly: true
|
StaffOnly: true
|
||||||
ClosingTicket: ":warning: You have requested to close your support ticket."
|
ClosingTicket: "> :warning: You have requested to close your support ticket."
|
||||||
ClosingConfirmation_Word: "confirm"
|
ClosingConfirmation_Word: "confirm"
|
||||||
CloseConfirmation: true
|
CloseConfirmation: true
|
||||||
|
|
||||||
@@ -254,8 +256,8 @@ CloseConfirmation: true
|
|||||||
# Error / Warning Messages
|
# Error / Warning Messages
|
||||||
# ---------------------------
|
# ---------------------------
|
||||||
|
|
||||||
IncorrectPerms: ":x: **Err!** You do not have the correct permissions to use this command."
|
IncorrectPerms: "> :x: **Err!** You do not have the correct permissions to use this command."
|
||||||
InvalidChannel: ":x: **Err!** Channel not found. Please create it!"
|
InvalidChannel: "> :x: **Err!** Channel not found. Please create it!"
|
||||||
UserNotFound: ":x: **Err!** This user doesn't exist, Are they in this server?"
|
UserNotFound: "> :x: **Err!** This user doesn't exist, Are they in this server?"
|
||||||
NoValidTicket: ":warning: You cannot execute this command here."
|
NoValidTicket: "> :warning: You cannot execute this command here."
|
||||||
TicketExists: ":warning: This ticket cannot be opened, It already exists!"
|
TicketExists: "> :warning: This ticket cannot be opened, It already exists!"
|
||||||
@@ -1,4 +1 @@
|
|||||||
{
|
{"id":0,"TicketPanelID":""}
|
||||||
"id": 0,
|
|
||||||
"TicketPanelID": ""
|
|
||||||
}
|
|
||||||
@@ -12,7 +12,7 @@ module.exports = new Event("guildMemberAdd", async (client, member, interaction,
|
|||||||
if (supportbot.Welcome) {
|
if (supportbot.Welcome) {
|
||||||
const WelcomeChannel = member.guild.channels.cache.find(channel => channel.name === supportbot.WelcomeChannel)
|
const WelcomeChannel = member.guild.channels.cache.find(channel => channel.name === supportbot.WelcomeChannel)
|
||||||
|
|
||||||
const WelcomeEmbed = new Discord.MessageEmbed()
|
const WelcomeEmbed = new Discord.EmbedBuilder()
|
||||||
.setColor(supportbot.WelcomeColour)
|
.setColor(supportbot.WelcomeColour)
|
||||||
.setTitle(supportbot.WelcomeTitle)
|
.setTitle(supportbot.WelcomeTitle)
|
||||||
.setDescription(supportbot.WelcomeMessage.replace(/%joined_user%/g, member.user))
|
.setDescription(supportbot.WelcomeMessage.replace(/%joined_user%/g, member.user))
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ module.exports = new Event("guildMemberRemove", async (client, member, interacti
|
|||||||
if (supportbot.Leave) {
|
if (supportbot.Leave) {
|
||||||
const LeaveChannel = member.guild.channels.cache.find(channel => channel.name === supportbot.LeaveChannel)
|
const LeaveChannel = member.guild.channels.cache.find(channel => channel.name === supportbot.LeaveChannel)
|
||||||
|
|
||||||
const LeaveEmbed = new Discord.MessageEmbed()
|
const LeaveEmbed = new Discord.EmbedBuilder()
|
||||||
.setColor(supportbot.LeaveColour)
|
.setColor(supportbot.LeaveColour)
|
||||||
.setTitle(supportbot.LeaveTitle)
|
.setTitle(supportbot.LeaveTitle)
|
||||||
.setDescription(supportbot.LeaveMessage.replace(/%joined_user%/g, member.user))
|
.setDescription(supportbot.LeaveMessage.replace(/%joined_user%/g, member.user))
|
||||||
|
|||||||
@@ -13,14 +13,14 @@ const cmdconfig = yaml.load(fs.readFileSync("./Configs/commands.yml", "utf8"));
|
|||||||
const Event = require("../Structures/Event.js");
|
const Event = require("../Structures/Event.js");
|
||||||
|
|
||||||
module.exports = new Event("interactionCreate", async (client, interaction) => {
|
module.exports = new Event("interactionCreate", async (client, interaction) => {
|
||||||
if (interaction.isCommand()) {
|
if (interaction.type == Discord.InteractionType.ApplicationCommand) {
|
||||||
const command = client.commands.find(
|
const command = client.commands.find(
|
||||||
(cmd) => cmd.name.toLowerCase() === interaction.commandName
|
(cmd) => cmd.name.toLowerCase() === interaction.commandName
|
||||||
);
|
);
|
||||||
|
|
||||||
if (interaction.user.bot || !interaction.guild) return;
|
if (interaction.user.bot || !interaction.guild) return;
|
||||||
|
|
||||||
const NotValid = new Discord.MessageEmbed()
|
const NotValid = new Discord.EmbedBuilder()
|
||||||
.setDescription(`:x: \`Invalid Command\` `)
|
.setDescription(`:x: \`Invalid Command\` `)
|
||||||
.setColor(supportbot.ErrorColour);
|
.setColor(supportbot.ErrorColour);
|
||||||
|
|
||||||
@@ -31,9 +31,9 @@ module.exports = new Event("interactionCreate", async (client, interaction) => {
|
|||||||
|
|
||||||
const permission = interaction.member.permissions.has(command.permissions);
|
const permission = interaction.member.permissions.has(command.permissions);
|
||||||
|
|
||||||
const ValidPerms = new Discord.MessageEmbed()
|
const ValidPerms = new Discord.EmbedBuilder()
|
||||||
.setDescription(
|
.setDescription(
|
||||||
":x: `Invalid Permissions` Do you have the correct permissions to execute this command?"
|
"> :x: `Invalid Permissions` Do you have the correct permissions to execute this command?"
|
||||||
)
|
)
|
||||||
.setColor(supportbot.ErrorColour);
|
.setColor(supportbot.ErrorColour);
|
||||||
|
|
||||||
@@ -109,16 +109,16 @@ module.exports = new Event("interactionCreate", async (client, interaction) => {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
const ticketDeleteButton = new Discord.MessageButton()
|
const ticketDeleteButton = new Discord.ButtonBuilder()
|
||||||
.setCustomId("ticketclose")
|
.setCustomId("ticketclose")
|
||||||
.setLabel("Close")
|
.setLabel("Close")
|
||||||
.setStyle(supportbot.TicketDeleteColour)
|
.setStyle(supportbot.TicketDeleteColour)
|
||||||
.setEmoji(supportbot.TicketDeleteEmoji);
|
.setEmoji(supportbot.TicketDeleteEmoji);
|
||||||
|
|
||||||
const row = new Discord.MessageActionRow().addComponents(
|
const row = new Discord.ActionRowBuilder().addComponents(
|
||||||
ticketDeleteButton
|
ticketDeleteButton
|
||||||
);
|
);
|
||||||
const ArchiveEmbed = new Discord.MessageEmbed()
|
const ArchiveEmbed = new Discord.EmbedBuilder()
|
||||||
.setTitle("Archived")
|
.setTitle("Archived")
|
||||||
.setDescription(`Archived ${interaction.channel.name}`)
|
.setDescription(`Archived ${interaction.channel.name}`)
|
||||||
.setColor(supportbot.SuccessColour);
|
.setColor(supportbot.SuccessColour);
|
||||||
|
|||||||
+73
-57
@@ -16,68 +16,76 @@ const Event = require("../Structures/Event.js");
|
|||||||
|
|
||||||
module.exports = new Event("ready", async (client, interaction) => {
|
module.exports = new Event("ready", async (client, interaction) => {
|
||||||
const { getRole, getChannel, getCategory } = client;
|
const { getRole, getChannel, getCategory } = client;
|
||||||
client.user.setActivity(supportbot.BotActivity, {
|
client.user.setActivity(supportbot.Activity, {
|
||||||
type: supportbot.ActivityType,
|
type: supportbot.Type,
|
||||||
url: supportbot.StreamingURL,
|
url: supportbot.StreamingURL,
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(`\u001b[107m`, `――――――――――――――――――――――――――――――――――――――――――――`);
|
console.log(`\u001b[32m`, `――――――――――――――――――――――――――――――――――――――――――――`);
|
||||||
console.log(`\u001b[91m`, `┏━━━┓╋╋╋╋╋╋╋╋╋╋╋╋╋┏┓┏━━┓╋╋╋┏┓`);
|
console.log(` `);
|
||||||
console.log(`\u001b[91m`, `┃┏━┓┃╋╋╋╋╋╋╋╋╋╋╋╋┏┛┗┫┏┓┃╋╋┏┛┗┓`);
|
console.log(`\u001b[31m`, `┏━━━┓╋╋╋╋╋╋╋╋╋╋╋╋╋┏┓┏━━┓╋╋╋┏┓`);
|
||||||
console.log(`\u001b[91m`, `┃┗━━┳┓┏┳━━┳━━┳━━┳┻┓┏┫┗┛┗┳━┻┓┏┛`);
|
console.log(`\u001b[31m`, `┃┏━┓┃╋╋╋╋╋╋╋╋╋╋╋╋┏┛┗┫┏┓┃╋╋┏┛┗┓`);
|
||||||
console.log(`\u001b[91m`, `┗━━┓┃┃┃┃┏┓┃┏┓┃┏┓┃┏┫┃┃┏━┓┃┏┓┃┃`);
|
console.log(`\u001b[31m`, `┃┗━━┳┓┏┳━━┳━━┳━━┳┻┓┏┫┗┛┗┳━┻┓┏┛`);
|
||||||
console.log(`\u001b[91m`, `┃┗━┛┃┗┛┃┗┛┃┗┛┃┗┛┃┃┃┗┫┗━┛┃┗┛┃┗┓`);
|
console.log(`\u001b[31m`, `┗━━┓┃┃┃┃┏┓┃┏┓┃┏┓┃┏┫┃┃┏━┓┃┏┓┃┃`);
|
||||||
console.log(`\u001b[91m`, `┗━━━┻━━┫┏━┫┏━┻━━┻┛┗━┻━━━┻━━┻━┛`);
|
console.log(`\u001b[31m`, `┃┗━┛┃┗┛┃┗┛┃┗┛┃┗┛┃┃┃┗┫┗━┛┃┗┛┃┗┓`);
|
||||||
console.log(`\u001b[91m`, `┗╋╋╋╋╋╋╋┃┃╋┃┃`);
|
console.log(`\u001b[31m`, `┗━━━┻━━┫┏━┫┏━┻━━┻┛┗━┻━━━┻━━┻━┛`);
|
||||||
console.log(`\u001b[91m`, `╋╋╋╋╋╋╋┗┛╋┗┛`);
|
console.log(`\u001b[31m`, `┗╋╋╋╋╋╋╋┃┃╋┃┃`);
|
||||||
|
console.log(`\u001b[31m`, `╋╋╋╋╋╋╋┗┛╋┗┛`);
|
||||||
console.log(` `);
|
console.log(` `);
|
||||||
console.log(`\u001b[32m`, `――――――――――――――――――――――――――――――――――――――――――――`);
|
console.log(`\u001b[32m`, `――――――――――――――――――――――――――――――――――――――――――――`);
|
||||||
console.log(` `);
|
console.log(` `);
|
||||||
console.log(
|
console.log(
|
||||||
`\u001b[33m`,
|
`\u001b[31m`,
|
||||||
`${supportbot.Name} | v${supportbot.SupportBot_Version}`,
|
`${supportbot.General.Name} | [${supportbot.SupportBot_Version}]`,
|
||||||
`\u001b[36m`,
|
`\u001b[32m`,
|
||||||
`Connected to Discord`
|
`Connected to Discord`,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
console.log(`\u001b[31m`, `SupportBot proudly created by Emerald Development`);
|
||||||
|
|
||||||
|
console.log(` `);
|
||||||
|
|
||||||
console.log(
|
console.log(
|
||||||
`\u001b[33m`,
|
`\u001b[31m`,
|
||||||
`Invite to your server:`,
|
`Discord`,
|
||||||
|
`\u001b[32m`,
|
||||||
|
`https://dsc.gg/emerald-dev`,
|
||||||
|
);
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
`\u001b[31m`,
|
||||||
|
`Resources`,
|
||||||
|
`\u001b[32m`,
|
||||||
|
`https://emeraldsrv.dev`,
|
||||||
|
);
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
`\u001b[31m`,
|
||||||
|
`Documentation`,
|
||||||
|
`\u001b[32m`,
|
||||||
|
`https://emeraldsrv.dev/wiki`,
|
||||||
|
);
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
`\u001b[31m`,
|
||||||
|
`Third-Party Documentation`,
|
||||||
|
`\u001b[32m`,
|
||||||
|
`https://emeraldsrv.dev/third-party`,
|
||||||
|
);
|
||||||
|
|
||||||
|
console.log(` `);
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
`\u001b[31m`,
|
||||||
|
`Invite URL:`,
|
||||||
`\u001b[36m`,
|
`\u001b[36m`,
|
||||||
`https://discord.com/api/oauth2/authorize?client_id=` +
|
`https://discord.com/api/oauth2/authorize?client_id=` +
|
||||||
client.user.id +
|
client.user.id +
|
||||||
`&permissions=8&scope=bot%20applications.commands`
|
`&permissions=8&scope=bot%20applications.commands`
|
||||||
);
|
);
|
||||||
console.log(
|
|
||||||
`\u001b[33m`,
|
|
||||||
`Resources:`,
|
|
||||||
`\u001b[36m`,
|
|
||||||
`https://emeraldsrv.dev/resources`
|
|
||||||
);
|
|
||||||
console.log(
|
|
||||||
`\u001b[33m`,
|
|
||||||
`Documentation:`,
|
|
||||||
`\u001b[36m`,
|
|
||||||
`https://emeraldsrv.dev/wiki/supportbot`
|
|
||||||
);
|
|
||||||
console.log(
|
|
||||||
`\u001b[33m`,
|
|
||||||
`Discord:`,
|
|
||||||
`\u001b[36m`,
|
|
||||||
`https://emeraldsrv.dev/discord`
|
|
||||||
);
|
|
||||||
console.log(
|
|
||||||
`\u001b[33m`,
|
|
||||||
`Hosting:`,
|
|
||||||
`\u001b[36m`,
|
|
||||||
`https://emeraldsrv.dev/hosting`
|
|
||||||
);
|
|
||||||
console.log(` `);
|
console.log(` `);
|
||||||
console.log(`\u001b[37m`, `SupportBot proudly created by Emerald Services`);
|
console.log(`\u001b[32m`, `――――――――――――――――――――――――――――――――――――――――――――`);
|
||||||
console.log(` `);
|
|
||||||
console.log(`\u001b[31m`, `――――――――――――――――――――――――――――――――――――――――――――`);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const roles = [
|
const roles = [
|
||||||
supportbot.Admin,
|
supportbot.Admin,
|
||||||
@@ -121,27 +129,33 @@ module.exports = new Event("ready", async (client, interaction) => {
|
|||||||
|
|
||||||
if (missingR.length > 0) {
|
if (missingR.length > 0) {
|
||||||
console.log(
|
console.log(
|
||||||
|
"\u001b[31m",
|
||||||
|
`[MISSING CONFIGURATION]`,
|
||||||
"\u001b[33m",
|
"\u001b[33m",
|
||||||
`[WARN] The following Roles could not be found! Please check your configs!\n${missingR.join(
|
`The following Roles could not be found in your server.\n`, `\u001b[31m`, `[${missingR.join(
|
||||||
", "
|
", "
|
||||||
)}`
|
)}]`, `\n `,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (missingC.length > 0) {
|
if (missingC.length > 0) {
|
||||||
console.log(
|
console.log(
|
||||||
|
"\u001b[31m",
|
||||||
|
`[MISSING CONFIGURATION]`,
|
||||||
"\u001b[33m",
|
"\u001b[33m",
|
||||||
`[WARN] The following Channels could not be found! Please check your configs!\n${missingC.join(
|
`The following Channels could not be found in your server.\n`, `\u001b[31m`, `[${missingC.join(
|
||||||
", "
|
", "
|
||||||
)}`
|
)}]`, `\n `
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (missingCat.length > 0) {
|
if (missingCat.length > 0) {
|
||||||
console.log(
|
console.log(
|
||||||
|
"\u001b[31m",
|
||||||
|
`[MISSING CONFIGURATION]`,
|
||||||
"\u001b[33m",
|
"\u001b[33m",
|
||||||
`[WARN] The following Categories could not be found! Please check your configs!\n${missingCat.join(
|
`The following Categories could not be found in your server.\n`, `\u001b[31m`, `[${missingCat.join(
|
||||||
", "
|
", "
|
||||||
)}`
|
)}]`, `\n `,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (panelconfig.TicketPanel) {
|
if (panelconfig.TicketPanel) {
|
||||||
@@ -152,8 +166,10 @@ module.exports = new Event("ready", async (client, interaction) => {
|
|||||||
|
|
||||||
if (!chan1) {
|
if (!chan1) {
|
||||||
console.log(
|
console.log(
|
||||||
|
"\u001b[31m",
|
||||||
|
`[TICKET PANEL]`,
|
||||||
"\u001b[33m",
|
"\u001b[33m",
|
||||||
"[WARN] Ticket reaction panel is not setup, You can do so via the configuration file!"
|
"Ticket Panel is not setup, You can set this in", `\u001b[31m`, '/Configs/Ticket-Panel.yml', `\n `,
|
||||||
);
|
);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -163,7 +179,7 @@ module.exports = new Event("ready", async (client, interaction) => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
chan1.messages.fetch(panelid.TicketPanelID).catch(async () => {
|
chan1.messages.fetch(panelid.TicketPanelID).catch(async () => {
|
||||||
let embed = new Discord.MessageEmbed()
|
let embed = new Discord.EmbedBuilder()
|
||||||
.setTitle(panelconfig.PanelTitle)
|
.setTitle(panelconfig.PanelTitle)
|
||||||
.setColor(panelconfig.PanelColour)
|
.setColor(panelconfig.PanelColour)
|
||||||
.setFooter({
|
.setFooter({
|
||||||
@@ -185,14 +201,14 @@ module.exports = new Event("ready", async (client, interaction) => {
|
|||||||
let button;
|
let button;
|
||||||
|
|
||||||
button = supportbot.Departments.map((x) =>
|
button = supportbot.Departments.map((x) =>
|
||||||
new Discord.MessageButton()
|
new Discord.ButtonBuilder()
|
||||||
.setCustomId("department-" + supportbot.Departments.indexOf(x))
|
.setCustomId("department-" + supportbot.Departments.indexOf(x))
|
||||||
.setLabel(x.title)
|
.setLabel(x.title)
|
||||||
.setStyle(x.color)
|
.setStyle(x.color)
|
||||||
.setEmoji(x.emoji)
|
.setEmoji(x.emoji)
|
||||||
);
|
);
|
||||||
|
|
||||||
let row = new Discord.MessageActionRow().addComponents(button);
|
let row = new Discord.ActionRowBuilder().addComponents(button);
|
||||||
|
|
||||||
await chan1
|
await chan1
|
||||||
.send({
|
.send({
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
const fs = require("fs");
|
const fs = require("fs");
|
||||||
|
|
||||||
const Discord = require("discord.js");
|
const Discord = require("discord.js");
|
||||||
const intents = new Discord.Intents(32767);
|
const { GatewayIntentBits, Partials } = require('discord.js');
|
||||||
|
|
||||||
const yaml = require("js-yaml");
|
const yaml = require("js-yaml");
|
||||||
const supportbot = yaml.load(
|
const supportbot = yaml.load(
|
||||||
@@ -13,7 +13,7 @@ const supportbot = yaml.load(
|
|||||||
|
|
||||||
class Client extends Discord.Client {
|
class Client extends Discord.Client {
|
||||||
constructor() {
|
constructor() {
|
||||||
super({ intents });
|
super({ intents: [GatewayIntentBits.Guilds], partials: [Partials.Channel] });
|
||||||
|
|
||||||
this.commands = new Discord.Collection();
|
this.commands = new Discord.Collection();
|
||||||
}
|
}
|
||||||
@@ -62,7 +62,7 @@ class Client extends Discord.Client {
|
|||||||
console.log(`\u001b[34;1m`, "▬▬▬▬▬▬▬ Commands ▬▬▬▬▬▬▬");
|
console.log(`\u001b[34;1m`, "▬▬▬▬▬▬▬ Commands ▬▬▬▬▬▬▬");
|
||||||
|
|
||||||
commands.forEach((cmd) => {
|
commands.forEach((cmd) => {
|
||||||
console.log(`\u001b[31;1m`, `${cmd.name}`, `\u001b[32;1m`, "Loaded");
|
console.log(`\u001b[32m`, `[CMD]`, `\u001b[37;1m`, `${cmd.name}`, `\u001b[32;1m`, "Loaded");
|
||||||
this.commands.set(cmd.name, cmd);
|
this.commands.set(cmd.name, cmd);
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -73,9 +73,9 @@ class Client extends Discord.Client {
|
|||||||
|
|
||||||
addons.forEach((addon) => {
|
addons.forEach((addon) => {
|
||||||
console.log(
|
console.log(
|
||||||
`\u001b[33m`,
|
`\u001b[32m`,
|
||||||
`[ADDON]`,
|
`[ADDON]`,
|
||||||
`\u001b[31;1m`,
|
`\u001b[37;1m`,
|
||||||
`${addon.name}`,
|
`${addon.name}`,
|
||||||
`\u001b[32;1m`,
|
`\u001b[32;1m`,
|
||||||
"Loaded"
|
"Loaded"
|
||||||
@@ -95,7 +95,9 @@ class Client extends Discord.Client {
|
|||||||
this.once("ready", async () => {
|
this.once("ready", async () => {
|
||||||
await this.guilds.cache.first()?.commands.set(this.commands);
|
await this.guilds.cache.first()?.commands.set(this.commands);
|
||||||
console.log(
|
console.log(
|
||||||
`\u001b[32;1m`,
|
"\u001b[32m",
|
||||||
|
`[SUCCESS]`,
|
||||||
|
`\u001b[37;1m`,
|
||||||
`Slash Commands Registered for ${this.guilds.cache.first().name}`
|
`Slash Commands Registered for ${this.guilds.cache.first().name}`
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
@@ -107,7 +109,7 @@ class Client extends Discord.Client {
|
|||||||
.filter((file) => file.endsWith(".js"))
|
.filter((file) => file.endsWith(".js"))
|
||||||
.forEach((file) => {
|
.forEach((file) => {
|
||||||
const event = require(`../Events/${file}`);
|
const event = require(`../Events/${file}`);
|
||||||
console.log(`\u001b[31;1m`, `${event.event}`, `\u001b[32;1m`, "Loaded");
|
console.log(`\u001b[32m`, `[EVENT]`, `\u001b[37;1m`, `${event.event}`, `\u001b[32;1m`, "Loaded");
|
||||||
this.on(event.event, (...args) => event.run(this, ...args));
|
this.on(event.event, (...args) => event.run(this, ...args));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -20,4 +20,4 @@ const supportbot = yaml.load(
|
|||||||
const Client = require("./Structures/Client.js");
|
const Client = require("./Structures/Client.js");
|
||||||
const client = new Client({});
|
const client = new Client({});
|
||||||
|
|
||||||
client.start(supportbot.Token);
|
client.start(supportbot.General.Token);
|
||||||
Generated
+371
-272
@@ -10,19 +10,18 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vitalets/google-translate-api": "^8.0.0",
|
"@vitalets/google-translate-api": "^8.0.0",
|
||||||
"discord.js": "^13.6.0",
|
"discord.js": "^14.0.3",
|
||||||
"js-yaml": "^4.1.0",
|
"js-yaml": "^4.1.0",
|
||||||
"moment": "^2.29.3"
|
"moment": "^2.29.3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@discordjs/builders": {
|
"node_modules/@discordjs/builders": {
|
||||||
"version": "0.14.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-0.14.0.tgz",
|
"resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.0.0.tgz",
|
||||||
"integrity": "sha512-+fqLIqa9wN3R+kvlld8sgG0nt04BAZxdCDP4t2qZ9TJsquLWA+xMtT8Waibb3d4li4AQS+IOfjiHAznv/dhHgQ==",
|
"integrity": "sha512-8y91ZfpOHubiGJu5tVyGI9tQCEyHZDTeqUWVcJd0dq7B96xIf84S0L4fwmD1k9zTe1eqEFSk0gc7BpY+FKn7Ww==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@sapphire/shapeshift": "^3.1.0",
|
"@sapphire/shapeshift": "^3.5.1",
|
||||||
"@sindresorhus/is": "^4.6.0",
|
"discord-api-types": "^0.36.2",
|
||||||
"discord-api-types": "^0.33.3",
|
|
||||||
"fast-deep-equal": "^3.1.3",
|
"fast-deep-equal": "^3.1.3",
|
||||||
"ts-mixer": "^6.0.1",
|
"ts-mixer": "^6.0.1",
|
||||||
"tslib": "^2.4.0"
|
"tslib": "^2.4.0"
|
||||||
@@ -32,40 +31,59 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@discordjs/collection": {
|
"node_modules/@discordjs/collection": {
|
||||||
"version": "0.7.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-0.7.0.tgz",
|
"resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-1.0.0.tgz",
|
||||||
"integrity": "sha512-R5i8Wb8kIcBAFEPLLf7LVBQKBDYUL+ekb23sOgpkpyGT+V4P7V83wTxcsqmX+PbqHt4cEHn053uMWfRqh/Z/nA==",
|
"integrity": "sha512-nAxDQYE5dNAzEGQ7HU20sujDsG5vLowUKCEqZkKUIlrXERZFTt/60zKUj/g4+AVCGeq+pXC5hivMaNtiC+PY5Q==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=16.9.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@discordjs/rest": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@discordjs/rest/-/rest-1.0.0.tgz",
|
||||||
|
"integrity": "sha512-uDAvnE0P2a8axMdD4C51EGjvCRQ2HZk2Yxf6vHWZgIqG87D8DGKMPwmquIxrrB07MjV+rwci2ObU+mGhGP+bJg==",
|
||||||
|
"dependencies": {
|
||||||
|
"@discordjs/collection": "^1.0.0",
|
||||||
|
"@sapphire/async-queue": "^1.3.2",
|
||||||
|
"@sapphire/snowflake": "^3.2.2",
|
||||||
|
"discord-api-types": "^0.36.2",
|
||||||
|
"file-type": "^17.1.2",
|
||||||
|
"tslib": "^2.4.0",
|
||||||
|
"undici": "^5.7.0"
|
||||||
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.9.0"
|
"node": ">=16.9.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@sapphire/async-queue": {
|
"node_modules/@sapphire/async-queue": {
|
||||||
"version": "1.3.1",
|
"version": "1.3.2",
|
||||||
"resolved": "https://registry.npmjs.org/@sapphire/async-queue/-/async-queue-1.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/@sapphire/async-queue/-/async-queue-1.3.2.tgz",
|
||||||
"integrity": "sha512-FFTlPOWZX1kDj9xCAsRzH5xEJfawg1lNoYAA+ecOWJMHOfiZYb1uXOI3ne9U4UILSEPwfE68p3T9wUHwIQfR0g==",
|
"integrity": "sha512-rUpMLATsoAMnlN3gecAcr9Ecnw1vG7zi5Xr+IX22YzRzi1k9PF9vKzoT8RuEJbiIszjcimu3rveqUnvwDopz8g==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=v14.0.0",
|
"node": ">=v14.0.0",
|
||||||
"npm": ">=7.0.0"
|
"npm": ">=7.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@sapphire/shapeshift": {
|
"node_modules/@sapphire/shapeshift": {
|
||||||
"version": "3.3.0",
|
"version": "3.5.1",
|
||||||
"resolved": "https://registry.npmjs.org/@sapphire/shapeshift/-/shapeshift-3.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/@sapphire/shapeshift/-/shapeshift-3.5.1.tgz",
|
||||||
"integrity": "sha512-6MNupTaIXtyVCHuejbTIE/Wmw35FKbpfRhiPCkxaQHm76iHICaWNO0oej0lipLb7vhK8mQHQn3zE6umOVvwGLw==",
|
"integrity": "sha512-7JFsW5IglyOIUQI1eE0g6h06D/Far6HqpcowRScgCiLSqTf3hhkPWCWotVTtVycnDCMYIwPeaw6IEPBomKC8pA==",
|
||||||
|
"dependencies": {
|
||||||
|
"fast-deep-equal": "^3.1.3",
|
||||||
|
"lodash.uniqwith": "^4.5.0"
|
||||||
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=v14.0.0",
|
"node": ">=v14.0.0",
|
||||||
"npm": ">=7.0.0"
|
"npm": ">=7.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@sindresorhus/is": {
|
"node_modules/@sapphire/snowflake": {
|
||||||
"version": "4.6.0",
|
"version": "3.2.2",
|
||||||
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/@sapphire/snowflake/-/snowflake-3.2.2.tgz",
|
||||||
"integrity": "sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==",
|
"integrity": "sha512-ula2O0kpSZtX9rKXNeQMrHwNd7E4jPDJYUXmEGTFdMRfyfMw+FPyh04oKMjAiDuOi64bYgVkOV3MjK+loImFhQ==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10"
|
"node": ">=v14.0.0",
|
||||||
},
|
"npm": ">=7.0.0"
|
||||||
"funding": {
|
|
||||||
"url": "https://github.com/sindresorhus/is?sponsor=1"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@szmarczak/http-timer": {
|
"node_modules/@szmarczak/http-timer": {
|
||||||
@@ -79,33 +97,16 @@
|
|||||||
"node": ">=6"
|
"node": ">=6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@tokenizer/token": {
|
||||||
|
"version": "0.3.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.3.0.tgz",
|
||||||
|
"integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A=="
|
||||||
|
},
|
||||||
"node_modules/@types/node": {
|
"node_modules/@types/node": {
|
||||||
"version": "18.0.0",
|
"version": "18.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.0.0.tgz",
|
||||||
"integrity": "sha512-cHlGmko4gWLVI27cGJntjs/Sj8th9aYwplmZFwmmgYQQvL5NUsgVJG7OddLvNfLqYS31KFN0s3qlaD9qCaxACA=="
|
"integrity": "sha512-cHlGmko4gWLVI27cGJntjs/Sj8th9aYwplmZFwmmgYQQvL5NUsgVJG7OddLvNfLqYS31KFN0s3qlaD9qCaxACA=="
|
||||||
},
|
},
|
||||||
"node_modules/@types/node-fetch": {
|
|
||||||
"version": "2.6.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.2.tgz",
|
|
||||||
"integrity": "sha512-DHqhlq5jeESLy19TYhLakJ07kNumXWjcDdxXsLUMJZ6ue8VZJj4kLPQVE/2mdHh3xZziNF1xppu5lwmS53HR+A==",
|
|
||||||
"dependencies": {
|
|
||||||
"@types/node": "*",
|
|
||||||
"form-data": "^3.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@types/node-fetch/node_modules/form-data": {
|
|
||||||
"version": "3.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz",
|
|
||||||
"integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==",
|
|
||||||
"dependencies": {
|
|
||||||
"asynckit": "^0.4.0",
|
|
||||||
"combined-stream": "^1.0.8",
|
|
||||||
"mime-types": "^2.1.12"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@types/ws": {
|
"node_modules/@types/ws": {
|
||||||
"version": "8.5.3",
|
"version": "8.5.3",
|
||||||
"resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.3.tgz",
|
"resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.3.tgz",
|
||||||
@@ -128,11 +129,6 @@
|
|||||||
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
|
||||||
"integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="
|
"integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="
|
||||||
},
|
},
|
||||||
"node_modules/asynckit": {
|
|
||||||
"version": "0.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
|
||||||
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
|
|
||||||
},
|
|
||||||
"node_modules/cacheable-request": {
|
"node_modules/cacheable-request": {
|
||||||
"version": "6.1.0",
|
"version": "6.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz",
|
||||||
@@ -180,17 +176,6 @@
|
|||||||
"mimic-response": "^1.0.0"
|
"mimic-response": "^1.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/combined-stream": {
|
|
||||||
"version": "1.0.8",
|
|
||||||
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
|
|
||||||
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
|
|
||||||
"dependencies": {
|
|
||||||
"delayed-stream": "~1.0.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 0.8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/configstore": {
|
"node_modules/configstore": {
|
||||||
"version": "5.0.1",
|
"version": "5.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz",
|
||||||
@@ -231,37 +216,30 @@
|
|||||||
"resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz",
|
||||||
"integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ=="
|
"integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ=="
|
||||||
},
|
},
|
||||||
"node_modules/delayed-stream": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
|
|
||||||
"integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.4.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/discord-api-types": {
|
"node_modules/discord-api-types": {
|
||||||
"version": "0.33.5",
|
"version": "0.36.3",
|
||||||
"resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.33.5.tgz",
|
"resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.36.3.tgz",
|
||||||
"integrity": "sha512-dvO5M52v7m7Dy96+XUnzXNsQ/0npsYpU6dL205kAtEDueswoz3aU3bh1UMoK4cQmcGtB1YRyLKqp+DXi05lzFg=="
|
"integrity": "sha512-bz/NDyG0KBo/tY14vSkrwQ/n3HKPf87a0WFW/1M9+tXYK+vp5Z5EksawfCWo2zkAc6o7CClc0eff1Pjrqznlwg=="
|
||||||
},
|
},
|
||||||
"node_modules/discord.js": {
|
"node_modules/discord.js": {
|
||||||
"version": "13.8.0",
|
"version": "14.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/discord.js/-/discord.js-13.8.0.tgz",
|
"resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.0.3.tgz",
|
||||||
"integrity": "sha512-EPAA/2VLycYN5wSzavqa4iJ6qj3UtQFtHw5TH/60Fj29ymfEsCQVn//o1mTpwDxzwb+rPIrWhkxKIGGnjfv0Iw==",
|
"integrity": "sha512-wH/VQl4CqN8/+dcXEtYis1iurqxGlDpEe0O4CqH5FGqZGIjVpTdtK0STXXx7bVNX8MT/0GvLZLkmO/5gLDWZVg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@discordjs/builders": "^0.14.0",
|
"@discordjs/builders": "^1.0.0",
|
||||||
"@discordjs/collection": "^0.7.0",
|
"@discordjs/collection": "^1.0.0",
|
||||||
"@sapphire/async-queue": "^1.3.1",
|
"@discordjs/rest": "^1.0.0",
|
||||||
"@types/node-fetch": "^2.6.1",
|
"@sapphire/snowflake": "^3.2.2",
|
||||||
"@types/ws": "^8.5.3",
|
"@types/ws": "^8.5.3",
|
||||||
"discord-api-types": "^0.33.3",
|
"discord-api-types": "^0.36.2",
|
||||||
"form-data": "^4.0.0",
|
"fast-deep-equal": "^3.1.3",
|
||||||
"node-fetch": "^2.6.1",
|
"lodash.snakecase": "^4.1.1",
|
||||||
"ws": "^8.7.0"
|
"tslib": "^2.4.0",
|
||||||
|
"undici": "^5.8.0",
|
||||||
|
"ws": "^8.8.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.6.0",
|
"node": ">=16.9.0"
|
||||||
"npm": ">=7.0.0"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/dot-prop": {
|
"node_modules/dot-prop": {
|
||||||
@@ -293,17 +271,20 @@
|
|||||||
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
|
||||||
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
|
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
|
||||||
},
|
},
|
||||||
"node_modules/form-data": {
|
"node_modules/file-type": {
|
||||||
"version": "4.0.0",
|
"version": "17.1.3",
|
||||||
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/file-type/-/file-type-17.1.3.tgz",
|
||||||
"integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
|
"integrity": "sha512-MFVSozBIhvnx2dkxlf+010Xqn6+ojlMUT9LXQiPNoOijgRtXNMghWdGK0u2o1RoCqzHoVsw65IL8ZBcQ4MhIrw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"asynckit": "^0.4.0",
|
"readable-web-to-node-stream": "^3.0.2",
|
||||||
"combined-stream": "^1.0.8",
|
"strtok3": "^7.0.0-alpha.7",
|
||||||
"mime-types": "^2.1.12"
|
"token-types": "^5.0.0-alpha.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 6"
|
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sindresorhus/file-type?sponsor=1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/get-stream": {
|
"node_modules/get-stream": {
|
||||||
@@ -356,6 +337,25 @@
|
|||||||
"resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz",
|
||||||
"integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ=="
|
"integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ=="
|
||||||
},
|
},
|
||||||
|
"node_modules/ieee754": {
|
||||||
|
"version": "1.2.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
|
||||||
|
"integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"type": "github",
|
||||||
|
"url": "https://github.com/sponsors/feross"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "patreon",
|
||||||
|
"url": "https://www.patreon.com/feross"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "consulting",
|
||||||
|
"url": "https://feross.org/support"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"node_modules/imurmurhash": {
|
"node_modules/imurmurhash": {
|
||||||
"version": "0.1.4",
|
"version": "0.1.4",
|
||||||
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
|
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
|
||||||
@@ -364,6 +364,11 @@
|
|||||||
"node": ">=0.8.19"
|
"node": ">=0.8.19"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/inherits": {
|
||||||
|
"version": "2.0.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
|
||||||
|
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
|
||||||
|
},
|
||||||
"node_modules/is-obj": {
|
"node_modules/is-obj": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz",
|
||||||
@@ -401,6 +406,16 @@
|
|||||||
"json-buffer": "3.0.0"
|
"json-buffer": "3.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/lodash.snakecase": {
|
||||||
|
"version": "4.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz",
|
||||||
|
"integrity": "sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw=="
|
||||||
|
},
|
||||||
|
"node_modules/lodash.uniqwith": {
|
||||||
|
"version": "4.5.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/lodash.uniqwith/-/lodash.uniqwith-4.5.0.tgz",
|
||||||
|
"integrity": "sha512-7lYL8bLopMoy4CTICbxygAUq6CdRJ36vFc80DucPueUee+d5NBRxz3FdT9Pes/HEx5mPoT9jwnsEJWz1N7uq7Q=="
|
||||||
|
},
|
||||||
"node_modules/lowercase-keys": {
|
"node_modules/lowercase-keys": {
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",
|
||||||
@@ -423,25 +438,6 @@
|
|||||||
"url": "https://github.com/sponsors/sindresorhus"
|
"url": "https://github.com/sponsors/sindresorhus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/mime-db": {
|
|
||||||
"version": "1.52.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
|
|
||||||
"integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 0.6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/mime-types": {
|
|
||||||
"version": "2.1.35",
|
|
||||||
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
|
|
||||||
"integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
|
|
||||||
"dependencies": {
|
|
||||||
"mime-db": "1.52.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 0.6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/mimic-response": {
|
"node_modules/mimic-response": {
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",
|
||||||
@@ -458,25 +454,6 @@
|
|||||||
"node": "*"
|
"node": "*"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/node-fetch": {
|
|
||||||
"version": "2.6.7",
|
|
||||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
|
|
||||||
"integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",
|
|
||||||
"dependencies": {
|
|
||||||
"whatwg-url": "^5.0.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": "4.x || >=6.0.0"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"encoding": "^0.1.0"
|
|
||||||
},
|
|
||||||
"peerDependenciesMeta": {
|
|
||||||
"encoding": {
|
|
||||||
"optional": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/normalize-url": {
|
"node_modules/normalize-url": {
|
||||||
"version": "4.5.1",
|
"version": "4.5.1",
|
||||||
"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz",
|
"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz",
|
||||||
@@ -501,6 +478,18 @@
|
|||||||
"node": ">=6"
|
"node": ">=6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/peek-readable": {
|
||||||
|
"version": "5.0.0-alpha.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/peek-readable/-/peek-readable-5.0.0-alpha.5.tgz",
|
||||||
|
"integrity": "sha512-pJohF/tDwV3ntnT5+EkUo4E700q/j/OCDuPxtM+5/kFGjyOai/sK4/We4Cy1MB2OiTQliWU5DxPvYIKQAdPqAA==",
|
||||||
|
"engines": {
|
||||||
|
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "github",
|
||||||
|
"url": "https://github.com/sponsors/Borewit"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/prepend-http": {
|
"node_modules/prepend-http": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",
|
||||||
@@ -518,6 +507,34 @@
|
|||||||
"once": "^1.3.1"
|
"once": "^1.3.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/readable-stream": {
|
||||||
|
"version": "3.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
|
||||||
|
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
|
||||||
|
"dependencies": {
|
||||||
|
"inherits": "^2.0.3",
|
||||||
|
"string_decoder": "^1.1.1",
|
||||||
|
"util-deprecate": "^1.0.1"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/readable-web-to-node-stream": {
|
||||||
|
"version": "3.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/readable-web-to-node-stream/-/readable-web-to-node-stream-3.0.2.tgz",
|
||||||
|
"integrity": "sha512-ePeK6cc1EcKLEhJFt/AebMCLL+GgSKhuygrZ/GLaKZYEecIgIECf4UaUuaByiGtzckwR4ain9VzUh95T1exYGw==",
|
||||||
|
"dependencies": {
|
||||||
|
"readable-stream": "^3.6.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=8"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "github",
|
||||||
|
"url": "https://github.com/sponsors/Borewit"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/responselike": {
|
"node_modules/responselike": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz",
|
||||||
@@ -526,6 +543,25 @@
|
|||||||
"lowercase-keys": "^1.0.0"
|
"lowercase-keys": "^1.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/safe-buffer": {
|
||||||
|
"version": "5.2.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
|
||||||
|
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"type": "github",
|
||||||
|
"url": "https://github.com/sponsors/feross"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "patreon",
|
||||||
|
"url": "https://www.patreon.com/feross"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "consulting",
|
||||||
|
"url": "https://feross.org/support"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"node_modules/semver": {
|
"node_modules/semver": {
|
||||||
"version": "6.3.0",
|
"version": "6.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
|
||||||
@@ -539,6 +575,30 @@
|
|||||||
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
|
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
|
||||||
"integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="
|
"integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="
|
||||||
},
|
},
|
||||||
|
"node_modules/string_decoder": {
|
||||||
|
"version": "1.3.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
|
||||||
|
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
|
||||||
|
"dependencies": {
|
||||||
|
"safe-buffer": "~5.2.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/strtok3": {
|
||||||
|
"version": "7.0.0-alpha.8",
|
||||||
|
"resolved": "https://registry.npmjs.org/strtok3/-/strtok3-7.0.0-alpha.8.tgz",
|
||||||
|
"integrity": "sha512-u+k19v+rTxBjGYxncRQjGvZYwYvEd0uP3D+uHKe/s4WB1eXS5ZwpZsTlBu5xSS4zEd89mTXECXg6WW3FSeV8cA==",
|
||||||
|
"dependencies": {
|
||||||
|
"@tokenizer/token": "^0.3.0",
|
||||||
|
"peek-readable": "^5.0.0-alpha.5"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "github",
|
||||||
|
"url": "https://github.com/sponsors/Borewit"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/to-readable-stream": {
|
"node_modules/to-readable-stream": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz",
|
||||||
@@ -547,10 +607,21 @@
|
|||||||
"node": ">=6"
|
"node": ">=6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/tr46": {
|
"node_modules/token-types": {
|
||||||
"version": "0.0.3",
|
"version": "5.0.0-alpha.2",
|
||||||
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/token-types/-/token-types-5.0.0-alpha.2.tgz",
|
||||||
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
|
"integrity": "sha512-EsG9UxAW4M6VATrEEjhPFTKEUi1OiJqTUMIZOGBN49fGxYjZB36k0p7to3HZSmWRoHm1QfZgrg3e02fpqAt5fQ==",
|
||||||
|
"dependencies": {
|
||||||
|
"@tokenizer/token": "^0.3.0",
|
||||||
|
"ieee754": "^1.2.1"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "github",
|
||||||
|
"url": "https://github.com/sponsors/Borewit"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"node_modules/ts-mixer": {
|
"node_modules/ts-mixer": {
|
||||||
"version": "6.0.1",
|
"version": "6.0.1",
|
||||||
@@ -570,6 +641,14 @@
|
|||||||
"is-typedarray": "^1.0.0"
|
"is-typedarray": "^1.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/undici": {
|
||||||
|
"version": "5.8.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/undici/-/undici-5.8.0.tgz",
|
||||||
|
"integrity": "sha512-1F7Vtcez5w/LwH2G2tGnFIihuWUlc58YidwLiCv+jR2Z50x0tNXpRRw7eOIJ+GvqCqIkg9SB7NWAJ/T9TLfv8Q==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12.18"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/unique-string": {
|
"node_modules/unique-string": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz",
|
||||||
@@ -592,19 +671,10 @@
|
|||||||
"node": ">=4"
|
"node": ">=4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/webidl-conversions": {
|
"node_modules/util-deprecate": {
|
||||||
"version": "3.0.1",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
|
||||||
"integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
|
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
|
||||||
},
|
|
||||||
"node_modules/whatwg-url": {
|
|
||||||
"version": "5.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
|
|
||||||
"integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
|
|
||||||
"dependencies": {
|
|
||||||
"tr46": "~0.0.3",
|
|
||||||
"webidl-conversions": "^3.0.0"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"node_modules/wrappy": {
|
"node_modules/wrappy": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
@@ -623,9 +693,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/ws": {
|
"node_modules/ws": {
|
||||||
"version": "8.8.0",
|
"version": "8.8.1",
|
||||||
"resolved": "https://registry.npmjs.org/ws/-/ws-8.8.0.tgz",
|
"resolved": "https://registry.npmjs.org/ws/-/ws-8.8.1.tgz",
|
||||||
"integrity": "sha512-JDAgSYQ1ksuwqfChJusw1LSJ8BizJ2e/vVu5Lxjq3YvNJNlROv1ui4i+c/kUUrPheBvQl4c5UbERhTwKa6QBJQ==",
|
"integrity": "sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10.0.0"
|
"node": ">=10.0.0"
|
||||||
},
|
},
|
||||||
@@ -653,37 +723,54 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@discordjs/builders": {
|
"@discordjs/builders": {
|
||||||
"version": "0.14.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-0.14.0.tgz",
|
"resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.0.0.tgz",
|
||||||
"integrity": "sha512-+fqLIqa9wN3R+kvlld8sgG0nt04BAZxdCDP4t2qZ9TJsquLWA+xMtT8Waibb3d4li4AQS+IOfjiHAznv/dhHgQ==",
|
"integrity": "sha512-8y91ZfpOHubiGJu5tVyGI9tQCEyHZDTeqUWVcJd0dq7B96xIf84S0L4fwmD1k9zTe1eqEFSk0gc7BpY+FKn7Ww==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@sapphire/shapeshift": "^3.1.0",
|
"@sapphire/shapeshift": "^3.5.1",
|
||||||
"@sindresorhus/is": "^4.6.0",
|
"discord-api-types": "^0.36.2",
|
||||||
"discord-api-types": "^0.33.3",
|
|
||||||
"fast-deep-equal": "^3.1.3",
|
"fast-deep-equal": "^3.1.3",
|
||||||
"ts-mixer": "^6.0.1",
|
"ts-mixer": "^6.0.1",
|
||||||
"tslib": "^2.4.0"
|
"tslib": "^2.4.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@discordjs/collection": {
|
"@discordjs/collection": {
|
||||||
"version": "0.7.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-0.7.0.tgz",
|
"resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-1.0.0.tgz",
|
||||||
"integrity": "sha512-R5i8Wb8kIcBAFEPLLf7LVBQKBDYUL+ekb23sOgpkpyGT+V4P7V83wTxcsqmX+PbqHt4cEHn053uMWfRqh/Z/nA=="
|
"integrity": "sha512-nAxDQYE5dNAzEGQ7HU20sujDsG5vLowUKCEqZkKUIlrXERZFTt/60zKUj/g4+AVCGeq+pXC5hivMaNtiC+PY5Q=="
|
||||||
|
},
|
||||||
|
"@discordjs/rest": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@discordjs/rest/-/rest-1.0.0.tgz",
|
||||||
|
"integrity": "sha512-uDAvnE0P2a8axMdD4C51EGjvCRQ2HZk2Yxf6vHWZgIqG87D8DGKMPwmquIxrrB07MjV+rwci2ObU+mGhGP+bJg==",
|
||||||
|
"requires": {
|
||||||
|
"@discordjs/collection": "^1.0.0",
|
||||||
|
"@sapphire/async-queue": "^1.3.2",
|
||||||
|
"@sapphire/snowflake": "^3.2.2",
|
||||||
|
"discord-api-types": "^0.36.2",
|
||||||
|
"file-type": "^17.1.2",
|
||||||
|
"tslib": "^2.4.0",
|
||||||
|
"undici": "^5.7.0"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"@sapphire/async-queue": {
|
"@sapphire/async-queue": {
|
||||||
"version": "1.3.1",
|
"version": "1.3.2",
|
||||||
"resolved": "https://registry.npmjs.org/@sapphire/async-queue/-/async-queue-1.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/@sapphire/async-queue/-/async-queue-1.3.2.tgz",
|
||||||
"integrity": "sha512-FFTlPOWZX1kDj9xCAsRzH5xEJfawg1lNoYAA+ecOWJMHOfiZYb1uXOI3ne9U4UILSEPwfE68p3T9wUHwIQfR0g=="
|
"integrity": "sha512-rUpMLATsoAMnlN3gecAcr9Ecnw1vG7zi5Xr+IX22YzRzi1k9PF9vKzoT8RuEJbiIszjcimu3rveqUnvwDopz8g=="
|
||||||
},
|
},
|
||||||
"@sapphire/shapeshift": {
|
"@sapphire/shapeshift": {
|
||||||
"version": "3.3.0",
|
"version": "3.5.1",
|
||||||
"resolved": "https://registry.npmjs.org/@sapphire/shapeshift/-/shapeshift-3.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/@sapphire/shapeshift/-/shapeshift-3.5.1.tgz",
|
||||||
"integrity": "sha512-6MNupTaIXtyVCHuejbTIE/Wmw35FKbpfRhiPCkxaQHm76iHICaWNO0oej0lipLb7vhK8mQHQn3zE6umOVvwGLw=="
|
"integrity": "sha512-7JFsW5IglyOIUQI1eE0g6h06D/Far6HqpcowRScgCiLSqTf3hhkPWCWotVTtVycnDCMYIwPeaw6IEPBomKC8pA==",
|
||||||
|
"requires": {
|
||||||
|
"fast-deep-equal": "^3.1.3",
|
||||||
|
"lodash.uniqwith": "^4.5.0"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"@sindresorhus/is": {
|
"@sapphire/snowflake": {
|
||||||
"version": "4.6.0",
|
"version": "3.2.2",
|
||||||
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/@sapphire/snowflake/-/snowflake-3.2.2.tgz",
|
||||||
"integrity": "sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw=="
|
"integrity": "sha512-ula2O0kpSZtX9rKXNeQMrHwNd7E4jPDJYUXmEGTFdMRfyfMw+FPyh04oKMjAiDuOi64bYgVkOV3MjK+loImFhQ=="
|
||||||
},
|
},
|
||||||
"@szmarczak/http-timer": {
|
"@szmarczak/http-timer": {
|
||||||
"version": "1.1.2",
|
"version": "1.1.2",
|
||||||
@@ -693,32 +780,16 @@
|
|||||||
"defer-to-connect": "^1.0.1"
|
"defer-to-connect": "^1.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@tokenizer/token": {
|
||||||
|
"version": "0.3.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.3.0.tgz",
|
||||||
|
"integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A=="
|
||||||
|
},
|
||||||
"@types/node": {
|
"@types/node": {
|
||||||
"version": "18.0.0",
|
"version": "18.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.0.0.tgz",
|
||||||
"integrity": "sha512-cHlGmko4gWLVI27cGJntjs/Sj8th9aYwplmZFwmmgYQQvL5NUsgVJG7OddLvNfLqYS31KFN0s3qlaD9qCaxACA=="
|
"integrity": "sha512-cHlGmko4gWLVI27cGJntjs/Sj8th9aYwplmZFwmmgYQQvL5NUsgVJG7OddLvNfLqYS31KFN0s3qlaD9qCaxACA=="
|
||||||
},
|
},
|
||||||
"@types/node-fetch": {
|
|
||||||
"version": "2.6.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.2.tgz",
|
|
||||||
"integrity": "sha512-DHqhlq5jeESLy19TYhLakJ07kNumXWjcDdxXsLUMJZ6ue8VZJj4kLPQVE/2mdHh3xZziNF1xppu5lwmS53HR+A==",
|
|
||||||
"requires": {
|
|
||||||
"@types/node": "*",
|
|
||||||
"form-data": "^3.0.0"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"form-data": {
|
|
||||||
"version": "3.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz",
|
|
||||||
"integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==",
|
|
||||||
"requires": {
|
|
||||||
"asynckit": "^0.4.0",
|
|
||||||
"combined-stream": "^1.0.8",
|
|
||||||
"mime-types": "^2.1.12"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@types/ws": {
|
"@types/ws": {
|
||||||
"version": "8.5.3",
|
"version": "8.5.3",
|
||||||
"resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.3.tgz",
|
"resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.3.tgz",
|
||||||
@@ -741,11 +812,6 @@
|
|||||||
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
|
||||||
"integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="
|
"integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="
|
||||||
},
|
},
|
||||||
"asynckit": {
|
|
||||||
"version": "0.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
|
||||||
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
|
|
||||||
},
|
|
||||||
"cacheable-request": {
|
"cacheable-request": {
|
||||||
"version": "6.1.0",
|
"version": "6.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz",
|
||||||
@@ -783,14 +849,6 @@
|
|||||||
"mimic-response": "^1.0.0"
|
"mimic-response": "^1.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"combined-stream": {
|
|
||||||
"version": "1.0.8",
|
|
||||||
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
|
|
||||||
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
|
|
||||||
"requires": {
|
|
||||||
"delayed-stream": "~1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"configstore": {
|
"configstore": {
|
||||||
"version": "5.0.1",
|
"version": "5.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz",
|
||||||
@@ -822,30 +880,27 @@
|
|||||||
"resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz",
|
||||||
"integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ=="
|
"integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ=="
|
||||||
},
|
},
|
||||||
"delayed-stream": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
|
|
||||||
"integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ=="
|
|
||||||
},
|
|
||||||
"discord-api-types": {
|
"discord-api-types": {
|
||||||
"version": "0.33.5",
|
"version": "0.36.3",
|
||||||
"resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.33.5.tgz",
|
"resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.36.3.tgz",
|
||||||
"integrity": "sha512-dvO5M52v7m7Dy96+XUnzXNsQ/0npsYpU6dL205kAtEDueswoz3aU3bh1UMoK4cQmcGtB1YRyLKqp+DXi05lzFg=="
|
"integrity": "sha512-bz/NDyG0KBo/tY14vSkrwQ/n3HKPf87a0WFW/1M9+tXYK+vp5Z5EksawfCWo2zkAc6o7CClc0eff1Pjrqznlwg=="
|
||||||
},
|
},
|
||||||
"discord.js": {
|
"discord.js": {
|
||||||
"version": "13.8.0",
|
"version": "14.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/discord.js/-/discord.js-13.8.0.tgz",
|
"resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.0.3.tgz",
|
||||||
"integrity": "sha512-EPAA/2VLycYN5wSzavqa4iJ6qj3UtQFtHw5TH/60Fj29ymfEsCQVn//o1mTpwDxzwb+rPIrWhkxKIGGnjfv0Iw==",
|
"integrity": "sha512-wH/VQl4CqN8/+dcXEtYis1iurqxGlDpEe0O4CqH5FGqZGIjVpTdtK0STXXx7bVNX8MT/0GvLZLkmO/5gLDWZVg==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@discordjs/builders": "^0.14.0",
|
"@discordjs/builders": "^1.0.0",
|
||||||
"@discordjs/collection": "^0.7.0",
|
"@discordjs/collection": "^1.0.0",
|
||||||
"@sapphire/async-queue": "^1.3.1",
|
"@discordjs/rest": "^1.0.0",
|
||||||
"@types/node-fetch": "^2.6.1",
|
"@sapphire/snowflake": "^3.2.2",
|
||||||
"@types/ws": "^8.5.3",
|
"@types/ws": "^8.5.3",
|
||||||
"discord-api-types": "^0.33.3",
|
"discord-api-types": "^0.36.2",
|
||||||
"form-data": "^4.0.0",
|
"fast-deep-equal": "^3.1.3",
|
||||||
"node-fetch": "^2.6.1",
|
"lodash.snakecase": "^4.1.1",
|
||||||
"ws": "^8.7.0"
|
"tslib": "^2.4.0",
|
||||||
|
"undici": "^5.8.0",
|
||||||
|
"ws": "^8.8.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dot-prop": {
|
"dot-prop": {
|
||||||
@@ -874,14 +929,14 @@
|
|||||||
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
|
||||||
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
|
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
|
||||||
},
|
},
|
||||||
"form-data": {
|
"file-type": {
|
||||||
"version": "4.0.0",
|
"version": "17.1.3",
|
||||||
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/file-type/-/file-type-17.1.3.tgz",
|
||||||
"integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
|
"integrity": "sha512-MFVSozBIhvnx2dkxlf+010Xqn6+ojlMUT9LXQiPNoOijgRtXNMghWdGK0u2o1RoCqzHoVsw65IL8ZBcQ4MhIrw==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"asynckit": "^0.4.0",
|
"readable-web-to-node-stream": "^3.0.2",
|
||||||
"combined-stream": "^1.0.8",
|
"strtok3": "^7.0.0-alpha.7",
|
||||||
"mime-types": "^2.1.12"
|
"token-types": "^5.0.0-alpha.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"get-stream": {
|
"get-stream": {
|
||||||
@@ -927,11 +982,21 @@
|
|||||||
"resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz",
|
||||||
"integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ=="
|
"integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ=="
|
||||||
},
|
},
|
||||||
|
"ieee754": {
|
||||||
|
"version": "1.2.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
|
||||||
|
"integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="
|
||||||
|
},
|
||||||
"imurmurhash": {
|
"imurmurhash": {
|
||||||
"version": "0.1.4",
|
"version": "0.1.4",
|
||||||
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
|
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
|
||||||
"integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA=="
|
"integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA=="
|
||||||
},
|
},
|
||||||
|
"inherits": {
|
||||||
|
"version": "2.0.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
|
||||||
|
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
|
||||||
|
},
|
||||||
"is-obj": {
|
"is-obj": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz",
|
||||||
@@ -963,6 +1028,16 @@
|
|||||||
"json-buffer": "3.0.0"
|
"json-buffer": "3.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"lodash.snakecase": {
|
||||||
|
"version": "4.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz",
|
||||||
|
"integrity": "sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw=="
|
||||||
|
},
|
||||||
|
"lodash.uniqwith": {
|
||||||
|
"version": "4.5.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/lodash.uniqwith/-/lodash.uniqwith-4.5.0.tgz",
|
||||||
|
"integrity": "sha512-7lYL8bLopMoy4CTICbxygAUq6CdRJ36vFc80DucPueUee+d5NBRxz3FdT9Pes/HEx5mPoT9jwnsEJWz1N7uq7Q=="
|
||||||
|
},
|
||||||
"lowercase-keys": {
|
"lowercase-keys": {
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",
|
||||||
@@ -976,19 +1051,6 @@
|
|||||||
"semver": "^6.0.0"
|
"semver": "^6.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"mime-db": {
|
|
||||||
"version": "1.52.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
|
|
||||||
"integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg=="
|
|
||||||
},
|
|
||||||
"mime-types": {
|
|
||||||
"version": "2.1.35",
|
|
||||||
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
|
|
||||||
"integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
|
|
||||||
"requires": {
|
|
||||||
"mime-db": "1.52.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mimic-response": {
|
"mimic-response": {
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",
|
||||||
@@ -999,14 +1061,6 @@
|
|||||||
"resolved": "https://registry.npmjs.org/moment/-/moment-2.29.3.tgz",
|
"resolved": "https://registry.npmjs.org/moment/-/moment-2.29.3.tgz",
|
||||||
"integrity": "sha512-c6YRvhEo//6T2Jz/vVtYzqBzwvPT95JBQ+smCytzf7c50oMZRsR/a4w88aD34I+/QVSfnoAnSBFPJHItlOMJVw=="
|
"integrity": "sha512-c6YRvhEo//6T2Jz/vVtYzqBzwvPT95JBQ+smCytzf7c50oMZRsR/a4w88aD34I+/QVSfnoAnSBFPJHItlOMJVw=="
|
||||||
},
|
},
|
||||||
"node-fetch": {
|
|
||||||
"version": "2.6.7",
|
|
||||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
|
|
||||||
"integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",
|
|
||||||
"requires": {
|
|
||||||
"whatwg-url": "^5.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"normalize-url": {
|
"normalize-url": {
|
||||||
"version": "4.5.1",
|
"version": "4.5.1",
|
||||||
"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz",
|
"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz",
|
||||||
@@ -1025,6 +1079,11 @@
|
|||||||
"resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz",
|
||||||
"integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw=="
|
"integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw=="
|
||||||
},
|
},
|
||||||
|
"peek-readable": {
|
||||||
|
"version": "5.0.0-alpha.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/peek-readable/-/peek-readable-5.0.0-alpha.5.tgz",
|
||||||
|
"integrity": "sha512-pJohF/tDwV3ntnT5+EkUo4E700q/j/OCDuPxtM+5/kFGjyOai/sK4/We4Cy1MB2OiTQliWU5DxPvYIKQAdPqAA=="
|
||||||
|
},
|
||||||
"prepend-http": {
|
"prepend-http": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",
|
||||||
@@ -1039,6 +1098,24 @@
|
|||||||
"once": "^1.3.1"
|
"once": "^1.3.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"readable-stream": {
|
||||||
|
"version": "3.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
|
||||||
|
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
|
||||||
|
"requires": {
|
||||||
|
"inherits": "^2.0.3",
|
||||||
|
"string_decoder": "^1.1.1",
|
||||||
|
"util-deprecate": "^1.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"readable-web-to-node-stream": {
|
||||||
|
"version": "3.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/readable-web-to-node-stream/-/readable-web-to-node-stream-3.0.2.tgz",
|
||||||
|
"integrity": "sha512-ePeK6cc1EcKLEhJFt/AebMCLL+GgSKhuygrZ/GLaKZYEecIgIECf4UaUuaByiGtzckwR4ain9VzUh95T1exYGw==",
|
||||||
|
"requires": {
|
||||||
|
"readable-stream": "^3.6.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"responselike": {
|
"responselike": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz",
|
||||||
@@ -1047,6 +1124,11 @@
|
|||||||
"lowercase-keys": "^1.0.0"
|
"lowercase-keys": "^1.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"safe-buffer": {
|
||||||
|
"version": "5.2.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
|
||||||
|
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
|
||||||
|
},
|
||||||
"semver": {
|
"semver": {
|
||||||
"version": "6.3.0",
|
"version": "6.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
|
||||||
@@ -1057,15 +1139,36 @@
|
|||||||
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
|
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
|
||||||
"integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="
|
"integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="
|
||||||
},
|
},
|
||||||
|
"string_decoder": {
|
||||||
|
"version": "1.3.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
|
||||||
|
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
|
||||||
|
"requires": {
|
||||||
|
"safe-buffer": "~5.2.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"strtok3": {
|
||||||
|
"version": "7.0.0-alpha.8",
|
||||||
|
"resolved": "https://registry.npmjs.org/strtok3/-/strtok3-7.0.0-alpha.8.tgz",
|
||||||
|
"integrity": "sha512-u+k19v+rTxBjGYxncRQjGvZYwYvEd0uP3D+uHKe/s4WB1eXS5ZwpZsTlBu5xSS4zEd89mTXECXg6WW3FSeV8cA==",
|
||||||
|
"requires": {
|
||||||
|
"@tokenizer/token": "^0.3.0",
|
||||||
|
"peek-readable": "^5.0.0-alpha.5"
|
||||||
|
}
|
||||||
|
},
|
||||||
"to-readable-stream": {
|
"to-readable-stream": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz",
|
||||||
"integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q=="
|
"integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q=="
|
||||||
},
|
},
|
||||||
"tr46": {
|
"token-types": {
|
||||||
"version": "0.0.3",
|
"version": "5.0.0-alpha.2",
|
||||||
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/token-types/-/token-types-5.0.0-alpha.2.tgz",
|
||||||
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
|
"integrity": "sha512-EsG9UxAW4M6VATrEEjhPFTKEUi1OiJqTUMIZOGBN49fGxYjZB36k0p7to3HZSmWRoHm1QfZgrg3e02fpqAt5fQ==",
|
||||||
|
"requires": {
|
||||||
|
"@tokenizer/token": "^0.3.0",
|
||||||
|
"ieee754": "^1.2.1"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"ts-mixer": {
|
"ts-mixer": {
|
||||||
"version": "6.0.1",
|
"version": "6.0.1",
|
||||||
@@ -1085,6 +1188,11 @@
|
|||||||
"is-typedarray": "^1.0.0"
|
"is-typedarray": "^1.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"undici": {
|
||||||
|
"version": "5.8.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/undici/-/undici-5.8.0.tgz",
|
||||||
|
"integrity": "sha512-1F7Vtcez5w/LwH2G2tGnFIihuWUlc58YidwLiCv+jR2Z50x0tNXpRRw7eOIJ+GvqCqIkg9SB7NWAJ/T9TLfv8Q=="
|
||||||
|
},
|
||||||
"unique-string": {
|
"unique-string": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz",
|
||||||
@@ -1101,19 +1209,10 @@
|
|||||||
"prepend-http": "^2.0.0"
|
"prepend-http": "^2.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"webidl-conversions": {
|
"util-deprecate": {
|
||||||
"version": "3.0.1",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
|
||||||
"integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
|
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
|
||||||
},
|
|
||||||
"whatwg-url": {
|
|
||||||
"version": "5.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
|
|
||||||
"integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
|
|
||||||
"requires": {
|
|
||||||
"tr46": "~0.0.3",
|
|
||||||
"webidl-conversions": "^3.0.0"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"wrappy": {
|
"wrappy": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
@@ -1132,9 +1231,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ws": {
|
"ws": {
|
||||||
"version": "8.8.0",
|
"version": "8.8.1",
|
||||||
"resolved": "https://registry.npmjs.org/ws/-/ws-8.8.0.tgz",
|
"resolved": "https://registry.npmjs.org/ws/-/ws-8.8.1.tgz",
|
||||||
"integrity": "sha512-JDAgSYQ1ksuwqfChJusw1LSJ8BizJ2e/vVu5Lxjq3YvNJNlROv1ui4i+c/kUUrPheBvQl4c5UbERhTwKa6QBJQ==",
|
"integrity": "sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA==",
|
||||||
"requires": {}
|
"requires": {}
|
||||||
},
|
},
|
||||||
"xdg-basedir": {
|
"xdg-basedir": {
|
||||||
|
|||||||
+2
-2
@@ -11,7 +11,7 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/Emerald-Services/SupportBot.git"
|
"url": "git+https://github.com/Emerald-Services/SupportBot.git"
|
||||||
},
|
},
|
||||||
"author": "Emerald Services",
|
"author": "Emerald Development",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/Emerald-Services/SupportBot/issues"
|
"url": "https://github.com/Emerald-Services/SupportBot/issues"
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
"homepage": "https://github.com/Emerald-Services/SupportBot#readme",
|
"homepage": "https://github.com/Emerald-Services/SupportBot#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vitalets/google-translate-api": "^8.0.0",
|
"@vitalets/google-translate-api": "^8.0.0",
|
||||||
"discord.js": "^13.6.0",
|
"discord.js": "^14.0.3",
|
||||||
"js-yaml": "^4.1.0",
|
"js-yaml": "^4.1.0",
|
||||||
"moment": "^2.29.3"
|
"moment": "^2.29.3"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user