feat!: Partial V14 rewrite
parent
3c18daf0db
commit
eba31b9d2d
|
@ -19,9 +19,7 @@
|
|||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@discordjs/builders": "^1.6.4",
|
||||
"discord-api-types": "^0.37.52",
|
||||
"discord.js": "^13.16.0",
|
||||
"discord.js": "14.13.0",
|
||||
"dotenv": "^16.3.1",
|
||||
"glob": "^7.2.3",
|
||||
"json-to-frontmatter-markdown": "^1.0.0"
|
||||
|
|
|
@ -1,45 +0,0 @@
|
|||
/* eslint-disable no-restricted-syntax */
|
||||
const { Permissions } = require('discord.js');
|
||||
const Discord = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
name: 'addemoji',
|
||||
aliases: [''],
|
||||
/**
|
||||
*
|
||||
* @param {Client} client
|
||||
* @param {Message} message
|
||||
* @param {String[]} args
|
||||
*/
|
||||
run: async (client, message, args) => {
|
||||
if (
|
||||
!message.member.permissions.has(
|
||||
Permissions.FLAGS.MANAGE_EMOJIS_AND_STICKERS,
|
||||
Permissions.FLAGS.ADMINISTRATOR
|
||||
)
|
||||
)
|
||||
message.channel.send("You don't have permission to use that command.");
|
||||
else {
|
||||
if (!args.length) return message.channel('Please specify an emoji!!');
|
||||
|
||||
for (const emojis of args) {
|
||||
const getEmoji = Discord.Util.parseEmoji(emojis);
|
||||
|
||||
if (getEmoji.id) {
|
||||
const emojiExt = getEmoji.animated ? '.gif' : '.png';
|
||||
const emojiURL = `https://cdn.discordapp.com/emojis/${
|
||||
getEmoji.id + emojiExt
|
||||
}`;
|
||||
|
||||
message.guild.emojis
|
||||
.create(emojiURL, getEmoji.name)
|
||||
.then((emoji) =>
|
||||
message.channel.send(
|
||||
`Successfully added: ${emoji} - ${emoji.name} to the server!!`
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
};
|
|
@ -1,26 +0,0 @@
|
|||
const { Permissions } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
name: 'lock',
|
||||
aliases: [''],
|
||||
/**
|
||||
* @param {Client} client
|
||||
* @param {Message} message
|
||||
* @param {String[]} args
|
||||
*/
|
||||
run: async (client, message) => {
|
||||
const permission = message.member.permissions.has(
|
||||
Permissions.FLAGS.MANAGE_CHANNELS
|
||||
);
|
||||
if (!permission)
|
||||
return message.reply({
|
||||
contents: "You don't have permission to use this command",
|
||||
});
|
||||
|
||||
message.channel.permissionOverwrites.edit(message.guild.roles.everyone.id, {
|
||||
SEND_MESSAGES: false,
|
||||
});
|
||||
|
||||
message.channel.send('Channel has been locked.');
|
||||
},
|
||||
};
|
|
@ -1,23 +0,0 @@
|
|||
module.exports = {
|
||||
name: 'nukepaid',
|
||||
aliases: [''],
|
||||
/**
|
||||
* @param {Client} client
|
||||
* @param {Message} message
|
||||
* @param {String[]} args
|
||||
*/
|
||||
run: async (client, message) => {
|
||||
const role = message.guild.roles.cache.get('427878753008353292');
|
||||
message.guild.roles.create({
|
||||
data: {
|
||||
name: role.name,
|
||||
color: role.color,
|
||||
hoist: role.hoist,
|
||||
position: role.position,
|
||||
permissions: role.permissions,
|
||||
mentionable: role.mentionable,
|
||||
},
|
||||
});
|
||||
role.delete('I had to.');
|
||||
},
|
||||
};
|
|
@ -1,24 +0,0 @@
|
|||
const { Permissions } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
name: 'unlock',
|
||||
aliases: [''],
|
||||
/**
|
||||
* @param {Client} client
|
||||
* @param {Message} message
|
||||
* @param {String[]} args
|
||||
*/
|
||||
run: async (client, message) => {
|
||||
const permission = message.member.permissions.has(
|
||||
Permissions.FLAGS.MANAGE_CHANNELS
|
||||
);
|
||||
if (!permission)
|
||||
return message.reply({
|
||||
contents: "You don't have permission to use this command",
|
||||
});
|
||||
message.channel.permissionOverwrites.edit(message.guild.roles.everyone.id, {
|
||||
SEND_MESSAGES: true,
|
||||
});
|
||||
message.channel.send('Channel has been unlocked.');
|
||||
},
|
||||
};
|
|
@ -35,7 +35,7 @@ module.exports = {
|
|||
)
|
||||
.addField(
|
||||
'Benefits?',
|
||||
'Come to every event\r\n Vote in AGMs and EGMs\r\n Access a special area, just for paid members\r\n Access our archive of previous events and guest talks\r\n\r\nAnd support the society you are apart of!'
|
||||
'Come to every event\r\n Vote in AGMs and EGMs\r\n Access a special area, just for paid members\r\n Access our archive of previous events and guest talks\r\nAnd support the society you are apart of!'
|
||||
)
|
||||
.addField(
|
||||
'Disclaimer!',
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
const { MessageEmbed } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
name: '8ball',
|
||||
aliases: ['8b'],
|
||||
/**
|
||||
*
|
||||
* @param {Client} client
|
||||
* @param {Message} message
|
||||
* @param {String[]} args
|
||||
*/
|
||||
run: async (client, message, args) => {
|
||||
const Responses = ['Yes', 'No', 'Maybe', 'It is likely', 'It is unlikely'];
|
||||
|
||||
const messageArgs = args.join(' ');
|
||||
if (!messageArgs[1]) return message.reply('Please specify a topic.');
|
||||
|
||||
const embed = new MessageEmbed()
|
||||
.setColor('GREEN')
|
||||
.setFooter({ text: `Called By: ${message.author.tag}` })
|
||||
.setTimestamp()
|
||||
.setTitle('8Ball')
|
||||
.addField(
|
||||
`${messageArgs}`,
|
||||
`${Responses[Math.floor(Math.random() * Responses.length)]}`
|
||||
);
|
||||
|
||||
message.channel.send({ embeds: [embed] });
|
||||
},
|
||||
};
|
|
@ -1,34 +0,0 @@
|
|||
module.exports = {
|
||||
name: 'gorb',
|
||||
aliases: [''],
|
||||
/**
|
||||
*
|
||||
* @param {Client} client
|
||||
* @param {Message} message
|
||||
* @param {String[]} args
|
||||
*/
|
||||
run: async (client, message, args) => {
|
||||
if (!args[0]) {
|
||||
message.channel.send({ files: ['./images/gorb.jpg'] });
|
||||
}
|
||||
if (args[0] === 'cs') {
|
||||
message.channel.send({ files: ['./images/gorbcs.jpg'] });
|
||||
}
|
||||
|
||||
if (args[0] === 'party') {
|
||||
message.channel.send({ files: ['./images/gorbcelebration.PNG'] });
|
||||
}
|
||||
|
||||
if (args[0] === 'christmas') {
|
||||
message.channel.send({ files: ['./images/gorbchristmas.PNG'] });
|
||||
}
|
||||
|
||||
if (args[0] === 'storm') {
|
||||
message.channel.send({ files: ['./images/gorbstorm.PNG'] });
|
||||
}
|
||||
|
||||
if (args[0] == 'large') {
|
||||
message.channel.send({ files: ['./images/gorblarge.png'] });
|
||||
}
|
||||
},
|
||||
};
|
|
@ -1,15 +0,0 @@
|
|||
module.exports = {
|
||||
name: 'lampadaferens',
|
||||
aliases: [''],
|
||||
/**
|
||||
*
|
||||
* @param {Client} client
|
||||
* @param {Message} message
|
||||
* @param {String[]} args
|
||||
*/
|
||||
run: async (client, message) => {
|
||||
message.channel.send(
|
||||
'https://th.bing.com/th/id/R.b938157fa7b152a1109aede2091f6b72?rik=%2f3u0RlNpTY1JDw&pid=ImgRaw&r=0'
|
||||
);
|
||||
},
|
||||
};
|
|
@ -1,23 +0,0 @@
|
|||
const { MessageEmbed } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
name: 'buy',
|
||||
aliases: ['paid'],
|
||||
/**
|
||||
*
|
||||
* @param {Client} client
|
||||
* @param {Message} message
|
||||
* @param {String[]} args
|
||||
*/
|
||||
run: async (client, message) => {
|
||||
const embed = new MessageEmbed()
|
||||
.setTitle('Thanks for considering to become a paid member!')
|
||||
.setColor('GREEN')
|
||||
.setFooter({ text: `Called By: ${message.author.tag}` })
|
||||
.addField(
|
||||
'You can purchase from below!',
|
||||
'https://hulluniunion.com/shop?aid=304'
|
||||
);
|
||||
message.channel.send({ embeds: [embed] });
|
||||
},
|
||||
};
|
|
@ -1,26 +0,0 @@
|
|||
const { MessageEmbed } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
name: 'freeside',
|
||||
aliases: ['fs'],
|
||||
/**
|
||||
*
|
||||
* @param {Client} client
|
||||
* @param {Message} message
|
||||
* @param {String[]} args
|
||||
*/
|
||||
run: async (client, message) => {
|
||||
const embed = new MessageEmbed()
|
||||
.setTitle('Freeside')
|
||||
.setColor('ORANGE')
|
||||
.setFooter({ text: `Called By: ${message.author.tag}` })
|
||||
.setDescription(
|
||||
'Freeside is the student run and maintained linux cluster within the University Of Hull Computer Science Department providing Linux administration experience, mentoring and technical advice alongside other peer-led support. It is completely free to all students to join, irrespective of degree pathway.'
|
||||
)
|
||||
.addField(
|
||||
'You can join them from below!',
|
||||
'https://discord.freeside.co.uk'
|
||||
);
|
||||
message.channel.send({ embeds: [embed] });
|
||||
},
|
||||
};
|
|
@ -1,73 +0,0 @@
|
|||
const discord = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
name: 'help',
|
||||
aliases: [''],
|
||||
/**
|
||||
*
|
||||
* @param {Client} client
|
||||
* @param {Message} message
|
||||
* @param {String[]} args
|
||||
*/
|
||||
run: async (client, message, args) => {
|
||||
if (!args[0]) {
|
||||
const embed = new discord.MessageEmbed()
|
||||
.setTitle('HullCSS Help')
|
||||
.setDescription(
|
||||
'You can use `!help <category>` to get additional commands within a specific category'
|
||||
)
|
||||
.setColor('GREEN')
|
||||
|
||||
.addField('❓`!help`', 'This Command', true)
|
||||
.addField('🛠️`!help admin`', 'Displays Admin Commands!', true)
|
||||
.addField('ℹ️ `!help general`', 'Displays General Commands!', true)
|
||||
.addField('🎉`!help fun`', 'Displays Fun Commands!', true)
|
||||
.addField('🐹 `!help gorb`', 'Displays Gorb Commands', true);
|
||||
message.channel.send({ embeds: [embed] });
|
||||
}
|
||||
|
||||
if (args[0] === 'admin') {
|
||||
const embed = new discord.MessageEmbed()
|
||||
.setTitle('Admin Commands')
|
||||
.setColor('GREEN');
|
||||
|
||||
message.channel.send({ embeds: [embed] });
|
||||
}
|
||||
|
||||
if (args[0] === 'general') {
|
||||
const embed = new discord.MessageEmbed()
|
||||
.setTitle('General Commands')
|
||||
.setColor('GREEN')
|
||||
|
||||
.addField('!buy', 'Sends a link to purchase membership')
|
||||
.addField('!links', 'Get all the links')
|
||||
.addField('!freeside', 'A link to the Freeside discord server')
|
||||
.addField('!robsoc', 'A link to the Robotics Society discord server');
|
||||
|
||||
message.channel.send({ embeds: [embed] });
|
||||
}
|
||||
|
||||
if (args[0] === 'fun') {
|
||||
const embed = new discord.MessageEmbed()
|
||||
.setTitle('Fun Commands')
|
||||
.setColor('GREEN')
|
||||
|
||||
.addField('!8ball', 'Answer your deepest questions.')
|
||||
.addField('!gorb', 'guinea pig orb')
|
||||
.addField('!torch', 'Light the way');
|
||||
message.channel.send({ embeds: [embed] });
|
||||
}
|
||||
|
||||
if (args[0] === 'gorb') {
|
||||
const embed = new discord.MessageEmbed()
|
||||
.setTitle('Gorb Commands')
|
||||
.setColor('GREEN')
|
||||
.addField('!gorb cs', 'CS Gorb')
|
||||
.addField('!gorb party', 'Party Gorb')
|
||||
.addField('!gorb christmas', 'Christmas Gorb')
|
||||
.addField('!gorb storm', 'Storm Gorb');
|
||||
|
||||
message.channel.send({ embeds: [embed] });
|
||||
}
|
||||
},
|
||||
};
|
|
@ -1,20 +0,0 @@
|
|||
const { MessageEmbed } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
name: 'links',
|
||||
aliases: [''],
|
||||
/**
|
||||
*
|
||||
* @param {Client} client
|
||||
* @param {Message} message
|
||||
* @param {String[]} args
|
||||
*/
|
||||
run: async (client, message) => {
|
||||
const embed = new MessageEmbed()
|
||||
.setTitle('Links!')
|
||||
.setColor('GREEN')
|
||||
.setFooter({ text: `Called By: ${message.author.tag}` })
|
||||
.addField('Find us here:', 'https://hullcss.org');
|
||||
message.channel.send({ embeds: [embed] });
|
||||
},
|
||||
};
|
|
@ -1,32 +0,0 @@
|
|||
const { MessageEmbed } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
name: 'ping',
|
||||
aliases: ['p'],
|
||||
/**
|
||||
*
|
||||
* @param {Client} client
|
||||
* @param {Message} message
|
||||
* @param {String[]} args
|
||||
*/
|
||||
run: async (client, message) => {
|
||||
const days = Math.floor(client.uptime / 86400000);
|
||||
const hours = Math.floor(client.uptime / 3600000) % 24;
|
||||
const minutes = Math.floor(client.uptime / 60000) % 60;
|
||||
const seconds = Math.floor(client.uptime / 1000) % 60;
|
||||
|
||||
const embed = new MessageEmbed()
|
||||
.setColor('GREEN')
|
||||
.setFooter({ text: `Called By: ${message.author.tag}` })
|
||||
.setTimestamp()
|
||||
.setTitle('Pong!')
|
||||
.setDescription(`${client.ws.ping} ping to host`)
|
||||
.addField(
|
||||
'Uptime',
|
||||
` ${days}days ${hours}hrs ${minutes}min ${seconds}sec`,
|
||||
true
|
||||
);
|
||||
|
||||
message.channel.send({ embeds: [embed] });
|
||||
},
|
||||
};
|
|
@ -1,26 +0,0 @@
|
|||
const { MessageEmbed } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
name: 'robotics',
|
||||
aliases: ['robsoc'],
|
||||
/**
|
||||
*
|
||||
* @param {Client} client
|
||||
* @param {Message} message
|
||||
* @param {String[]} args
|
||||
*/
|
||||
run: async (client, message) => {
|
||||
const embed = new MessageEmbed()
|
||||
.setTitle('Robotics Society')
|
||||
.setColor('BLUE')
|
||||
.setFooter({ text: `Called By: ${message.author.tag}` })
|
||||
.setDescription(
|
||||
'Robotics Society aee a society where you can gain skills in building an actual robot, or get help with your assignments or exams, but they also run social night where they go out to do stuff.'
|
||||
)
|
||||
.addField(
|
||||
'You can join them from below!',
|
||||
'https://discord.gg/cMP5CavnK4'
|
||||
);
|
||||
message.channel.send({ embeds: [embed] });
|
||||
},
|
||||
};
|
|
@ -1,26 +0,0 @@
|
|||
const client = require('../index');
|
||||
|
||||
client.on('guildMemberUpdate', async (oldMember, newMember) => {
|
||||
console.log('Event fired');
|
||||
|
||||
const rolesAdded = newMember.roles.cache.filter(
|
||||
(x) => !oldMember.roles.cache.get(x.id)
|
||||
);
|
||||
const rolesRemoved = oldMember.roles.cache.filter(
|
||||
(x) => !newMember.roles.cache.get(x.id)
|
||||
);
|
||||
|
||||
if (rolesAdded.size != 0 || rolesRemoved.size != 0) {
|
||||
const roleAddedString = [];
|
||||
for (const role of [...rolesAdded.values()]) {
|
||||
roleAddedString.push(role.toString());
|
||||
}
|
||||
|
||||
const roleRemovedString = [];
|
||||
for (const role of [...rolesRemoved.values()]) {
|
||||
roleRemovedString.push(role.toString());
|
||||
}
|
||||
|
||||
console.log(roleAddedString);
|
||||
}
|
||||
});
|
|
@ -25,7 +25,7 @@ client.on('interactionCreate', async (interaction) => {
|
|||
}
|
||||
|
||||
// Context Menu Handling
|
||||
if (interaction.isContextMenu()) {
|
||||
if (interaction.isUserContextMenuCommand()) {
|
||||
await interaction.deferReply({ ephemeral: false });
|
||||
const command = client.slashCommands.get(interaction.commandName);
|
||||
if (command) command.run(client, interaction);
|
||||
|
@ -98,7 +98,7 @@ client.on('interactionCreate', async (interaction) => {
|
|||
}
|
||||
|
||||
// Select Menu Handling
|
||||
if (interaction.isSelectMenu()) {
|
||||
if (interaction.isStringSelectMenu()) {
|
||||
if (interaction.customId == 'yearSelect') {
|
||||
if (interaction.values.includes('0')) {
|
||||
interaction.member.roles.add('974754114296741948'); // Add Foundation
|
||||
|
|
|
@ -1,16 +1,9 @@
|
|||
const client = require('../index');
|
||||
const { ActivityType } = require('discord.js')
|
||||
|
||||
client.on('ready', () => {
|
||||
console.log('HullCSS is online');
|
||||
|
||||
const Activities = ['Hullcss.org', 'Slash Commands'];
|
||||
|
||||
setInterval(() => {
|
||||
client.user.setActivity(
|
||||
Activities[Math.floor(Math.random() * Activities.length)],
|
||||
{ type: 'WATCHING' }
|
||||
);
|
||||
}, 180000);
|
||||
client.user.setActivity('HullCSS.org', { type: ActivityType.Custom })
|
||||
|
||||
setInterval(() => {
|
||||
const { memberCount } = client.guilds.cache.get('427865794467069962');
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
const { Permissions } = require('discord.js');
|
||||
const { SlashCommandBuilder } = require('@discordjs/builders');
|
||||
const { PermissionFlagsBits } = require('discord-api-types/v10');
|
||||
const { SlashCommandBuilder, PermissionFlagsBits } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
...new SlashCommandBuilder()
|
||||
|
@ -18,18 +16,7 @@ module.exports = {
|
|||
*/
|
||||
|
||||
run: async (client, interaction) => {
|
||||
const permission = interaction.member.permissions.has(
|
||||
Permissions.FLAGS.MANAGE_CHANNELS
|
||||
);
|
||||
if (!permission)
|
||||
return interaction.reply({
|
||||
contents: "You don't have permission to use this command",
|
||||
ephemeral: true,
|
||||
});
|
||||
interaction.channel.permissionOverwrites.edit(
|
||||
interaction.guild.roles.everyone.id,
|
||||
{ SEND_MESSAGES: false }
|
||||
);
|
||||
interaction.channel.permissionOverwrites.edit(interaction.guild.everyone, { SendMessages: false });
|
||||
interaction.reply('Channel has been locked.');
|
||||
},
|
||||
};
|
||||
|
|
|
@ -0,0 +1,55 @@
|
|||
const { Permissions } = require('discord.js');
|
||||
const { SlashCommandBuilder } = require('@discordjs/builders');
|
||||
const { PermissionFlagsBits } = require('discord-api-types/v10');
|
||||
|
||||
module.exports = {
|
||||
...new SlashCommandBuilder()
|
||||
.setName('nukepaid')
|
||||
.setDescription('Replaces paid member')
|
||||
.setDefaultMemberPermissions(
|
||||
PermissionFlagsBits.KickMembers || PermissionFlagsBits.BanMembers
|
||||
),
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {Client} client
|
||||
* @param {CommandInteraction} interaction
|
||||
* @param {String[]} args
|
||||
*/
|
||||
|
||||
run: async (client, interaction) => {
|
||||
await interaction.deferReply({
|
||||
ephemeral: true,
|
||||
});
|
||||
|
||||
|
||||
try {
|
||||
const role = interaction.guild.roles.cache.find(r => r.name === 'Paid Member')
|
||||
|
||||
interaction.guild.roles.create({
|
||||
name: role.name,
|
||||
color: role.color,
|
||||
hoist: role.hoist,
|
||||
position: role.position,
|
||||
permissions: role.permissions,
|
||||
mentionable: role.mentionable,
|
||||
})
|
||||
|
||||
role.delete(role.id, 'The Nuke Paid Command Was Run. ');
|
||||
|
||||
const channel = client.channels.cache.get('1143157359917682711');
|
||||
channel.setName(`Paid Members: 0`);
|
||||
|
||||
const newRole = interaction.guild.roles.cache.find(r => r.name === 'Paid Member')
|
||||
interaction.editReply(`Role has been replaced. The paid members counter has been reset to 0.\n\n The new role ID is: ${newRole.id}. Please pass this to Kieran.`, true);
|
||||
|
||||
|
||||
|
||||
} catch (error) {
|
||||
interaction.editReply({
|
||||
content: error,
|
||||
ephemeral: true,
|
||||
});
|
||||
}
|
||||
},
|
||||
};
|
|
@ -1,33 +1,22 @@
|
|||
const { Permissions } = require('discord.js');
|
||||
const { SlashCommandBuilder } = require('@discordjs/builders');
|
||||
const { PermissionFlagsBits } = require('discord-api-types/v10');
|
||||
const { SlashCommandBuilder, PermissionFlagsBits, ThreadAutoArchiveDuration } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
...new SlashCommandBuilder()
|
||||
.setName('unlock')
|
||||
.setDescription('Unlock a channel')
|
||||
.setDescription('Unlocks a channel')
|
||||
.setDefaultMemberPermissions(
|
||||
PermissionFlagsBits.KickMembers || PermissionFlagsBits.BanMembers
|
||||
),
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {Client} client
|
||||
* @param {CommandInteraction} interaction
|
||||
* @param {String[]} args
|
||||
*/
|
||||
|
||||
run: async (client, interaction) => {
|
||||
const permission = interaction.member.permissions.has(
|
||||
Permissions.FLAGS.MANAGE_CHANNELS
|
||||
);
|
||||
if (!permission)
|
||||
return interaction.reply({
|
||||
contents: "You don't have permission to use this command",
|
||||
ephemeral: true,
|
||||
});
|
||||
interaction.channel.permissionOverwrites.edit(
|
||||
interaction.guild.roles.everyone.id,
|
||||
{ SEND_MESSAGES: true }
|
||||
);
|
||||
interaction.channel.permissionOverwrites.edit(interaction.guild.everyone, { SendMessages: true });
|
||||
interaction.reply('Channel has been unlocked.');
|
||||
},
|
||||
};
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
const { ApplicationCommandType } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
name: 'lampadaferens',
|
||||
description: 'Hull University',
|
||||
type: 'CHAT_INPUT',
|
||||
type: ApplicationCommandType.ChatInput,
|
||||
/**
|
||||
*
|
||||
* @param {Client} client
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
const { MessageEmbed } = require('discord.js');
|
||||
const { EmbedBuilder, ApplicationCommandType } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
name: 'buy',
|
||||
description: 'returns membership purchase link',
|
||||
type: 'CHAT_INPUT',
|
||||
type: ApplicationCommandType.ChatInput,
|
||||
/**
|
||||
*
|
||||
* @param {Client} client
|
||||
|
@ -11,13 +11,12 @@ module.exports = {
|
|||
* @param {String[]} args
|
||||
*/
|
||||
run: async (client, interaction) => {
|
||||
const embed = new MessageEmbed()
|
||||
const embed = new EmbedBuilder()
|
||||
.setTitle('Thanks for considering to become a paid member!')
|
||||
.setColor('GREEN')
|
||||
.setColor(0x3FB618)
|
||||
.setFooter({ text: `Called By: ${interaction.user.tag}` })
|
||||
.addField(
|
||||
'You can purchase from below!',
|
||||
'https://hulluniunion.com/shop?aid=304'
|
||||
.addFields(
|
||||
{name: 'You can purchase from below!', value: 'https://hulluniunion.com/shop?aid=304'}
|
||||
);
|
||||
interaction.reply({ embeds: [embed] });
|
||||
},
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
const { MessageEmbed } = require('discord.js');
|
||||
const { EmbedBuilder, ApplicationCommandType } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
name: 'freeside',
|
||||
description: 'returns freeside discord link',
|
||||
type: 'CHAT_INPUT',
|
||||
type: ApplicationCommandType.ChatInput,
|
||||
/**
|
||||
*
|
||||
* @param {Client} client
|
||||
|
@ -11,16 +11,15 @@ module.exports = {
|
|||
* @param {String[]} args
|
||||
*/
|
||||
run: async (client, interaction) => {
|
||||
const embed = new MessageEmbed()
|
||||
const embed = new EmbedBuilder()
|
||||
.setTitle('Freeside')
|
||||
.setColor('ORANGE')
|
||||
.setColor(0xe06d44)
|
||||
.setFooter({ text: `Called By: ${interaction.user.tag}` })
|
||||
.setDescription(
|
||||
'Freeside is the student run and maintained linux cluster within the University Of Hull Computer Science Department providing Linux administration experience, mentoring and technical advice alongside other peer-led support. It is completely free to all students to join, irrespective of degree pathway.'
|
||||
)
|
||||
.addField(
|
||||
'You can join them from below!',
|
||||
'https://discord.freeside.co.uk'
|
||||
.addFields(
|
||||
{ name: 'You can join them from below!', value: 'https://discord.freeside.co.uk' }
|
||||
);
|
||||
interaction.reply({ embeds: [embed] });
|
||||
},
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
const { MessageEmbed } = require('discord.js');
|
||||
const { EmbedBuilder, ApplicationCommandType } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
name: 'links',
|
||||
description: 'returns links of HullCSS',
|
||||
type: 'CHAT_INPUT',
|
||||
type: ApplicationCommandType.ChatInput,
|
||||
/**
|
||||
*
|
||||
* @param {Client} client
|
||||
|
@ -11,11 +11,11 @@ module.exports = {
|
|||
* @param {String[]} args
|
||||
*/
|
||||
run: async (client, interaction) => {
|
||||
const embed = new MessageEmbed()
|
||||
const embed = new EmbedBuilder()
|
||||
.setTitle('Links!')
|
||||
.setColor('GREEN')
|
||||
.setColor(0x3FB618)
|
||||
.setFooter({ text: `Called By: ${interaction.user.tag}` })
|
||||
.addField('Find us here:', 'https://hullcss.org');
|
||||
.addFields({name: 'Find us here:', value: 'https://hullcss.org'});
|
||||
interaction.reply({ embeds: [embed] });
|
||||
},
|
||||
};
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
const { MessageEmbed } = require('discord.js');
|
||||
const { EmbedBuilder, ApplicationCommandType } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
name: 'ping',
|
||||
description: 'returns ping of the HullCSS bot',
|
||||
type: 'CHAT_INPUT',
|
||||
description: 'returns ping of the bot',
|
||||
type: ApplicationCommandType.ChatInput,
|
||||
/**
|
||||
*
|
||||
* @param {Client} client
|
||||
|
@ -16,16 +16,14 @@ module.exports = {
|
|||
const minutes = Math.floor(client.uptime / 60000) % 60;
|
||||
const seconds = Math.floor(client.uptime / 1000) % 60;
|
||||
|
||||
const embed = new MessageEmbed()
|
||||
.setColor('GREEN')
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(0x3FB618)
|
||||
.setFooter({ text: `Called By: ${interaction.user.tag}` })
|
||||
.setTimestamp()
|
||||
.setTitle('Pong!')
|
||||
.setDescription(`${client.ws.ping} ping to host`)
|
||||
.addField(
|
||||
'Uptime',
|
||||
` ${days}days ${hours}hrs ${minutes}min ${seconds}sec`,
|
||||
true
|
||||
.addFields(
|
||||
{ name: 'Uptime', value: `${days}days ${hours}hrs ${minutes}min ${seconds}sec`, inline: true }
|
||||
);
|
||||
interaction.reply({ embeds: [embed] });
|
||||
},
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
const { MessageEmbed } = require('discord.js');
|
||||
const { EmbedBuilder, ApplicationCommandType } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
name: 'robsoc',
|
||||
description: 'returns robotics society discord link',
|
||||
type: 'CHAT_INPUT',
|
||||
type: ApplicationCommandType.ChatInput,
|
||||
/**
|
||||
*
|
||||
* @param {Client} client
|
||||
|
@ -11,17 +11,17 @@ module.exports = {
|
|||
* @param {String[]} args
|
||||
*/
|
||||
run: async (client, interaction) => {
|
||||
const embed = new MessageEmbed()
|
||||
const embed = new EmbedBuilder()
|
||||
.setTitle('Robotics Society')
|
||||
.setColor('BLUE')
|
||||
.setColor(0x44468b)
|
||||
.setFooter({ text: `Called By: ${interaction.user.tag}` })
|
||||
.setDescription(
|
||||
'Robotics Society are a society where you can gain skills in building an actual robot, or get help with your assignments or exams, but they also run social nights where they go out to do stuff.'
|
||||
)
|
||||
.addField(
|
||||
'You can join them from below!',
|
||||
'https://discord.gg/cMP5CavnK4'
|
||||
);
|
||||
.addFields({
|
||||
name: 'You can join them from below!',
|
||||
value: 'https://discord.gg/cMP5CavnK4'
|
||||
});
|
||||
interaction.reply({ embeds: [embed] });
|
||||
},
|
||||
};
|
||||
|
|
244
yarn.lock
244
yarn.lock
|
@ -352,46 +352,65 @@
|
|||
resolved "https://registry.yarnpkg.com/@cspell/strong-weak-map/-/strong-weak-map-6.31.3.tgz#dd7470ce86c2372ec2cd889439c0f9808122b9c7"
|
||||
integrity sha512-znwc9IlgGUPioHGshP/zyM8HsuYg1OY5S7HSiVXARh5H8RqcyBsnyn8abc0PPhqPrfDy9Fh5xHsAEPZ55dl1vQ==
|
||||
|
||||
"@discordjs/builders@^0.16.0":
|
||||
version "0.16.0"
|
||||
resolved "https://registry.yarnpkg.com/@discordjs/builders/-/builders-0.16.0.tgz#3201f57fa57c4dd77aebb480cf47da77b7ba2e8c"
|
||||
integrity sha512-9/NCiZrLivgRub2/kBc0Vm5pMBE5AUdYbdXsLu/yg9ANgvnaJ0bZKTY8yYnLbsEc/LYUP79lEIdC73qEYhWq7A==
|
||||
"@discordjs/builders@^1.6.5":
|
||||
version "1.6.5"
|
||||
resolved "https://registry.yarnpkg.com/@discordjs/builders/-/builders-1.6.5.tgz#3e23912eaab1d542b61ca0fa7202e5aaef2b7200"
|
||||
integrity sha512-SdweyCs/+mHj+PNhGLLle7RrRFX9ZAhzynHahMCLqp5Zeq7np7XC6/mgzHc79QoVlQ1zZtOkTTiJpOZu5V8Ufg==
|
||||
dependencies:
|
||||
"@sapphire/shapeshift" "^3.5.1"
|
||||
discord-api-types "^0.36.2"
|
||||
fast-deep-equal "^3.1.3"
|
||||
ts-mixer "^6.0.1"
|
||||
tslib "^2.4.0"
|
||||
|
||||
"@discordjs/builders@^1.6.4":
|
||||
version "1.6.4"
|
||||
resolved "https://registry.yarnpkg.com/@discordjs/builders/-/builders-1.6.4.tgz#d99f4e76684ef9b1c3b9e1c4d0bc17fafb19b960"
|
||||
integrity sha512-ARFKvmAkLhfkQQiNxqi0YIWqwUExvBRtvdtMFVJXvJoibsGkFrB/DWTf9byU7BTVUfsmW8w7NM55tYXR5S/iSg==
|
||||
dependencies:
|
||||
"@discordjs/formatters" "^0.3.1"
|
||||
"@discordjs/util" "^1.0.0"
|
||||
"@discordjs/formatters" "^0.3.2"
|
||||
"@discordjs/util" "^1.0.1"
|
||||
"@sapphire/shapeshift" "^3.9.2"
|
||||
discord-api-types "^0.37.50"
|
||||
discord-api-types "0.37.50"
|
||||
fast-deep-equal "^3.1.3"
|
||||
ts-mixer "^6.0.3"
|
||||
tslib "^2.6.1"
|
||||
|
||||
"@discordjs/collection@^0.7.0":
|
||||
version "0.7.0"
|
||||
resolved "https://registry.yarnpkg.com/@discordjs/collection/-/collection-0.7.0.tgz#1a6c00198b744ba2b73a64442145da637ac073b8"
|
||||
integrity sha512-R5i8Wb8kIcBAFEPLLf7LVBQKBDYUL+ekb23sOgpkpyGT+V4P7V83wTxcsqmX+PbqHt4cEHn053uMWfRqh/Z/nA==
|
||||
"@discordjs/collection@^1.5.3":
|
||||
version "1.5.3"
|
||||
resolved "https://registry.yarnpkg.com/@discordjs/collection/-/collection-1.5.3.tgz#5a1250159ebfff9efa4f963cfa7e97f1b291be18"
|
||||
integrity sha512-SVb428OMd3WO1paV3rm6tSjM4wC+Kecaa1EUGX7vc6/fddvw/6lg90z4QtCqm21zvVe92vMMDt9+DkIvjXImQQ==
|
||||
|
||||
"@discordjs/formatters@^0.3.1":
|
||||
version "0.3.1"
|
||||
resolved "https://registry.yarnpkg.com/@discordjs/formatters/-/formatters-0.3.1.tgz#81393cf25e6e3223361061629752ea727475e842"
|
||||
integrity sha512-M7X4IGiSeh4znwcRGcs+49B5tBkNDn4k5bmhxJDAUhRxRHTiFAOTVUNQ6yAKySu5jZTnCbSvTYHW3w0rAzV1MA==
|
||||
"@discordjs/formatters@^0.3.2":
|
||||
version "0.3.2"
|
||||
resolved "https://registry.yarnpkg.com/@discordjs/formatters/-/formatters-0.3.2.tgz#3ae054f7b3097cc0dc7645fade37a3f20fa1fb4b"
|
||||
integrity sha512-lE++JZK8LSSDRM5nLjhuvWhGuKiXqu+JZ/DsOR89DVVia3z9fdCJVcHF2W/1Zxgq0re7kCzmAJlCMMX3tetKpA==
|
||||
dependencies:
|
||||
discord-api-types "^0.37.41"
|
||||
discord-api-types "0.37.50"
|
||||
|
||||
"@discordjs/util@^1.0.0":
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@discordjs/util/-/util-1.0.0.tgz#8b4d3756ee725f6fc1a4999834d6ca7c4a353837"
|
||||
integrity sha512-U2Iiab0mo8cFe+o4ZY4GROoAetGjFYA1PhhxiXEW82LuPUjOU/seHZDtVjDpOf6n3rz4IRm84wNtgHdpqRY5CA==
|
||||
"@discordjs/rest@^2.0.1":
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/@discordjs/rest/-/rest-2.0.1.tgz#100c208a964e54b8d7cd418bbaed279c816b8ec5"
|
||||
integrity sha512-/eWAdDRvwX/rIE2tuQUmKaxmWeHmGealttIzGzlYfI4+a7y9b6ZoMp8BG/jaohs8D8iEnCNYaZiOFLVFLQb8Zg==
|
||||
dependencies:
|
||||
"@discordjs/collection" "^1.5.3"
|
||||
"@discordjs/util" "^1.0.1"
|
||||
"@sapphire/async-queue" "^1.5.0"
|
||||
"@sapphire/snowflake" "^3.5.1"
|
||||
"@vladfrangu/async_event_emitter" "^2.2.2"
|
||||
discord-api-types "0.37.50"
|
||||
magic-bytes.js "^1.0.15"
|
||||
tslib "^2.6.1"
|
||||
undici "5.22.1"
|
||||
|
||||
"@discordjs/util@^1.0.1":
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/@discordjs/util/-/util-1.0.1.tgz#7d6f97b65425d3a8b46ea1180150dee6991a88cf"
|
||||
integrity sha512-d0N2yCxB8r4bn00/hvFZwM7goDcUhtViC5un4hPj73Ba4yrChLSJD8fy7Ps5jpTLg1fE9n4K0xBLc1y9WGwSsA==
|
||||
|
||||
"@discordjs/ws@^1.0.1":
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/@discordjs/ws/-/ws-1.0.1.tgz#fab8aa4c1667040a95b5268a2875add27353d323"
|
||||
integrity sha512-avvAolBqN3yrSvdBPcJ/0j2g42ABzrv3PEL76e3YTp2WYMGH7cuspkjfSyNWaqYl1J+669dlLp+YFMxSVQyS5g==
|
||||
dependencies:
|
||||
"@discordjs/collection" "^1.5.3"
|
||||
"@discordjs/rest" "^2.0.1"
|
||||
"@discordjs/util" "^1.0.1"
|
||||
"@sapphire/async-queue" "^1.5.0"
|
||||
"@types/ws" "^8.5.5"
|
||||
"@vladfrangu/async_event_emitter" "^2.2.2"
|
||||
discord-api-types "0.37.50"
|
||||
tslib "^2.6.1"
|
||||
ws "^8.13.0"
|
||||
|
||||
"@eslint-community/eslint-utils@^4.2.0":
|
||||
version "4.4.0"
|
||||
|
@ -537,7 +556,7 @@
|
|||
resolved "https://registry.yarnpkg.com/@sapphire/async-queue/-/async-queue-1.5.0.tgz#2f255a3f186635c4fb5a2381e375d3dfbc5312d8"
|
||||
integrity sha512-JkLdIsP8fPAdh9ZZjrbHWR/+mZj0wvKS5ICibcLrRI1j84UmLMshx5n9QmL8b95d4onJ2xxiyugTgSAX7AalmA==
|
||||
|
||||
"@sapphire/shapeshift@^3.5.1", "@sapphire/shapeshift@^3.9.2":
|
||||
"@sapphire/shapeshift@^3.9.2":
|
||||
version "3.9.2"
|
||||
resolved "https://registry.yarnpkg.com/@sapphire/shapeshift/-/shapeshift-3.9.2.tgz#a9c12cd51e1bc467619bb56df804450dd14871ac"
|
||||
integrity sha512-YRbCXWy969oGIdqR/wha62eX8GNHsvyYi0Rfd4rNW6tSVVa8p0ELiMEuOH/k8rgtvRoM+EMV7Csqz77YdwiDpA==
|
||||
|
@ -545,6 +564,11 @@
|
|||
fast-deep-equal "^3.1.3"
|
||||
lodash "^4.17.21"
|
||||
|
||||
"@sapphire/snowflake@^3.5.1":
|
||||
version "3.5.1"
|
||||
resolved "https://registry.yarnpkg.com/@sapphire/snowflake/-/snowflake-3.5.1.tgz#254521c188b49e8b2d4cc048b475fb2b38737fec"
|
||||
integrity sha512-BxcYGzgEsdlG0dKAyOm0ehLGm2CafIrfQTZGWgkfKYbj+pNNsorZ7EotuZukc2MT70E0UbppVbtpBrqpzVzjNA==
|
||||
|
||||
"@sindresorhus/is@^5.2.0":
|
||||
version "5.6.0"
|
||||
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-5.6.0.tgz#41dd6093d34652cddb5d5bdeee04eafc33826668"
|
||||
|
@ -636,18 +660,10 @@
|
|||
dependencies:
|
||||
"@types/unist" "^2"
|
||||
|
||||
"@types/node-fetch@^2.6.3":
|
||||
version "2.6.4"
|
||||
resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.4.tgz#1bc3a26de814f6bf466b25aeb1473fa1afe6a660"
|
||||
integrity sha512-1ZX9fcN4Rvkvgv4E6PAY5WXUFWFcRWxZa3EW83UjycOB9ljJCedb2CupIP4RZMEwF/M3eTcCihbBRgwtGbg5Rg==
|
||||
dependencies:
|
||||
"@types/node" "*"
|
||||
form-data "^3.0.0"
|
||||
|
||||
"@types/node@*":
|
||||
version "20.5.0"
|
||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.5.0.tgz#7fc8636d5f1aaa3b21e6245e97d56b7f56702313"
|
||||
integrity sha512-Mgq7eCtoTjT89FqNoTzzXg2XvCi5VMhRV6+I2aYanc6kQCBImeNaAYRs/DyoVqk1YEUJK5gN9VO7HRIdz4Wo3Q==
|
||||
version "20.5.1"
|
||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.5.1.tgz#178d58ee7e4834152b0e8b4d30cbfab578b9bb30"
|
||||
integrity sha512-4tT2UrL5LBqDwoed9wZ6N3umC4Yhz3W3FloMmiiG4JwmUJWpie0c7lcnUNd4gtMKuDEO4wRVS8B6Xa0uMRsMKg==
|
||||
|
||||
"@types/node@^18.0.0":
|
||||
version "18.17.5"
|
||||
|
@ -669,13 +685,18 @@
|
|||
resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.7.tgz#5b06ad6894b236a1d2bd6b2f07850ca5c59cf4d6"
|
||||
integrity sha512-cputDpIbFgLUaGQn6Vqg3/YsJwxUwHLO13v3i5ouxT4lat0khip9AEWxtERujXV9wxIB1EyF97BSJFt6vpdI8g==
|
||||
|
||||
"@types/ws@^8.5.4":
|
||||
"@types/ws@^8.5.5":
|
||||
version "8.5.5"
|
||||
resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.5.tgz#af587964aa06682702ee6dcbc7be41a80e4b28eb"
|
||||
integrity sha512-lwhs8hktwxSjf9UaZ9tG5M03PGogvFaH8gUgLNbN9HKIg0dvv6q+gkSuJ8HN4/VbyxkuLzCjlN7GquQ0gUJfIg==
|
||||
dependencies:
|
||||
"@types/node" "*"
|
||||
|
||||
"@vladfrangu/async_event_emitter@^2.2.2":
|
||||
version "2.2.2"
|
||||
resolved "https://registry.yarnpkg.com/@vladfrangu/async_event_emitter/-/async_event_emitter-2.2.2.tgz#84c5a3f8d648842cec5cc649b88df599af32ed88"
|
||||
integrity sha512-HIzRG7sy88UZjBJamssEczH5q7t5+axva19UbZLO6u0ySbYPrwzWiXBcC0WuHyhKKoeCyneH+FvYzKQq/zTtkQ==
|
||||
|
||||
abbrev@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-2.0.0.tgz#cf59829b8b4f03f89dda2771cb7f3653828c89bf"
|
||||
|
@ -851,11 +872,6 @@ arrify@^1.0.1:
|
|||
resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d"
|
||||
integrity sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==
|
||||
|
||||
asynckit@^0.4.0:
|
||||
version "0.4.0"
|
||||
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
|
||||
integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==
|
||||
|
||||
available-typed-arrays@^1.0.5:
|
||||
version "1.0.5"
|
||||
resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7"
|
||||
|
@ -925,6 +941,13 @@ buffer-from@^1.0.0:
|
|||
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5"
|
||||
integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==
|
||||
|
||||
busboy@^1.6.0:
|
||||
version "1.6.0"
|
||||
resolved "https://registry.yarnpkg.com/busboy/-/busboy-1.6.0.tgz#966ea36a9502e43cdb9146962523b92f531f6893"
|
||||
integrity sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==
|
||||
dependencies:
|
||||
streamsearch "^1.1.0"
|
||||
|
||||
cacheable-lookup@^7.0.0:
|
||||
version "7.0.0"
|
||||
resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-7.0.0.tgz#3476a8215d046e5a3202a9209dd13fec1f933a27"
|
||||
|
@ -1060,13 +1083,6 @@ color-name@~1.1.4:
|
|||
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
|
||||
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
|
||||
|
||||
combined-stream@^1.0.8:
|
||||
version "1.0.8"
|
||||
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
|
||||
integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==
|
||||
dependencies:
|
||||
delayed-stream "~1.0.0"
|
||||
|
||||
comma-separated-tokens@^2.0.0:
|
||||
version "2.0.3"
|
||||
resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz#4e89c9458acb61bc8fef19f4529973b2392839ee"
|
||||
|
@ -1346,11 +1362,6 @@ define-properties@^1.1.3, define-properties@^1.1.4, define-properties@^1.2.0:
|
|||
has-property-descriptors "^1.0.0"
|
||||
object-keys "^1.1.1"
|
||||
|
||||
delayed-stream@~1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"
|
||||
integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==
|
||||
|
||||
dequal@^2.0.0:
|
||||
version "2.0.3"
|
||||
resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be"
|
||||
|
@ -1361,34 +1372,29 @@ diff@^5.0.0:
|
|||
resolved "https://registry.yarnpkg.com/diff/-/diff-5.1.0.tgz#bc52d298c5ea8df9194800224445ed43ffc87e40"
|
||||
integrity sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==
|
||||
|
||||
discord-api-types@^0.33.5:
|
||||
version "0.33.5"
|
||||
resolved "https://registry.yarnpkg.com/discord-api-types/-/discord-api-types-0.33.5.tgz#6548b70520f7b944c60984dca4ab58654d664a12"
|
||||
integrity sha512-dvO5M52v7m7Dy96+XUnzXNsQ/0npsYpU6dL205kAtEDueswoz3aU3bh1UMoK4cQmcGtB1YRyLKqp+DXi05lzFg==
|
||||
discord-api-types@0.37.50:
|
||||
version "0.37.50"
|
||||
resolved "https://registry.yarnpkg.com/discord-api-types/-/discord-api-types-0.37.50.tgz#6059eb8c0b784ad8194655a8b8b7f540fcfac428"
|
||||
integrity sha512-X4CDiMnDbA3s3RaUXWXmgAIbY1uxab3fqe3qwzg5XutR3wjqi7M3IkgQbsIBzpqBN2YWr/Qdv7JrFRqSgb4TFg==
|
||||
|
||||
discord-api-types@^0.36.2:
|
||||
version "0.36.3"
|
||||
resolved "https://registry.yarnpkg.com/discord-api-types/-/discord-api-types-0.36.3.tgz#a931b7e57473a5c971d6937fa5f392eb30047579"
|
||||
integrity sha512-bz/NDyG0KBo/tY14vSkrwQ/n3HKPf87a0WFW/1M9+tXYK+vp5Z5EksawfCWo2zkAc6o7CClc0eff1Pjrqznlwg==
|
||||
|
||||
discord-api-types@^0.37.41, discord-api-types@^0.37.50, discord-api-types@^0.37.52:
|
||||
version "0.37.52"
|
||||
resolved "https://registry.yarnpkg.com/discord-api-types/-/discord-api-types-0.37.52.tgz#0d47a4409f1e17252dc895f2615dea3d161f7b5f"
|
||||
integrity sha512-TP99aMgY6rHuDIy056GDm1j2nGOcaLbFpjVbvAmv6N6vhkjHNqHXCHVqKtGisaQ8D15slbxTHNl/SSkPdx2syg==
|
||||
|
||||
discord.js@^13.16.0:
|
||||
version "13.16.0"
|
||||
resolved "https://registry.yarnpkg.com/discord.js/-/discord.js-13.16.0.tgz#3a60d0672ff9427cfa08b6f5548d9af269d1d77c"
|
||||
integrity sha512-bOoCs1Ilojd/UshZVxmEcpxVmHcYOv2fPVZOVq3aFV8xrKLJfaF9mxlvGZ1D1z9aIqf2NkptDr+QndeNuQBTxQ==
|
||||
discord.js@14.13.0:
|
||||
version "14.13.0"
|
||||
resolved "https://registry.yarnpkg.com/discord.js/-/discord.js-14.13.0.tgz#e7a00bdba70adb9e266a06884ca1acaf9a0b5c20"
|
||||
integrity sha512-Kufdvg7fpyTEwANGy9x7i4od4yu5c6gVddGi5CKm4Y5a6sF0VBODObI3o0Bh7TGCj0LfNT8Qp8z04wnLFzgnbA==
|
||||
dependencies:
|
||||
"@discordjs/builders" "^0.16.0"
|
||||
"@discordjs/collection" "^0.7.0"
|
||||
"@sapphire/async-queue" "^1.5.0"
|
||||
"@types/node-fetch" "^2.6.3"
|
||||
"@types/ws" "^8.5.4"
|
||||
discord-api-types "^0.33.5"
|
||||
form-data "^4.0.0"
|
||||
node-fetch "^2.6.7"
|
||||
"@discordjs/builders" "^1.6.5"
|
||||
"@discordjs/collection" "^1.5.3"
|
||||
"@discordjs/formatters" "^0.3.2"
|
||||
"@discordjs/rest" "^2.0.1"
|
||||
"@discordjs/util" "^1.0.1"
|
||||
"@discordjs/ws" "^1.0.1"
|
||||
"@sapphire/snowflake" "^3.5.1"
|
||||
"@types/ws" "^8.5.5"
|
||||
discord-api-types "0.37.50"
|
||||
fast-deep-equal "^3.1.3"
|
||||
lodash.snakecase "^4.1.1"
|
||||
tslib "^2.6.1"
|
||||
undici "5.22.1"
|
||||
ws "^8.13.0"
|
||||
|
||||
doctrine@^2.1.0:
|
||||
|
@ -1838,24 +1844,6 @@ form-data-encoder@^2.1.2:
|
|||
resolved "https://registry.yarnpkg.com/form-data-encoder/-/form-data-encoder-2.1.4.tgz#261ea35d2a70d48d30ec7a9603130fa5515e9cd5"
|
||||
integrity sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==
|
||||
|
||||
form-data@^3.0.0:
|
||||
version "3.0.1"
|
||||
resolved "https://registry.yarnpkg.com/form-data/-/form-data-3.0.1.tgz#ebd53791b78356a99af9a300d4282c4d5eb9755f"
|
||||
integrity sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==
|
||||
dependencies:
|
||||
asynckit "^0.4.0"
|
||||
combined-stream "^1.0.8"
|
||||
mime-types "^2.1.12"
|
||||
|
||||
form-data@^4.0.0:
|
||||
version "4.0.0"
|
||||
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452"
|
||||
integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==
|
||||
dependencies:
|
||||
asynckit "^0.4.0"
|
||||
combined-stream "^1.0.8"
|
||||
mime-types "^2.1.12"
|
||||
|
||||
format@^0.2.0:
|
||||
version "0.2.2"
|
||||
resolved "https://registry.yarnpkg.com/format/-/format-0.2.2.tgz#d6170107e9efdc4ed30c9dc39016df942b5cb58b"
|
||||
|
@ -2684,6 +2672,11 @@ lodash.merge@^4.6.2:
|
|||
resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a"
|
||||
integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==
|
||||
|
||||
lodash.snakecase@^4.1.1:
|
||||
version "4.1.1"
|
||||
resolved "https://registry.yarnpkg.com/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz#39d714a35357147837aefd64b5dcbb16becd8f8d"
|
||||
integrity sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw==
|
||||
|
||||
lodash@^4.17.21:
|
||||
version "4.17.21"
|
||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
|
||||
|
@ -2716,6 +2709,11 @@ lru-cache@^7.5.1:
|
|||
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.0.1.tgz#0a3be479df549cca0e5d693ac402ff19537a6b7a"
|
||||
integrity sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==
|
||||
|
||||
magic-bytes.js@^1.0.15:
|
||||
version "1.0.15"
|
||||
resolved "https://registry.yarnpkg.com/magic-bytes.js/-/magic-bytes.js-1.0.15.tgz#3c9d2b7d45bb8432482646b5f74bbf6725274616"
|
||||
integrity sha512-bpRmwbRHqongRhA+mXzbLWjVy7ylqmfMBYaQkSs6pac0z6hBTvsgrH0r4FBYd/UYVJBmS6Rp/O+oCCQVLzKV1g==
|
||||
|
||||
make-dir@^3.0.0:
|
||||
version "3.1.0"
|
||||
resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f"
|
||||
|
@ -3347,18 +3345,6 @@ micromatch@^4.0.4, micromatch@^4.0.5:
|
|||
braces "^3.0.2"
|
||||
picomatch "^2.3.1"
|
||||
|
||||
mime-db@1.52.0:
|
||||
version "1.52.0"
|
||||
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70"
|
||||
integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==
|
||||
|
||||
mime-types@^2.1.12:
|
||||
version "2.1.35"
|
||||
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a"
|
||||
integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==
|
||||
dependencies:
|
||||
mime-db "1.52.0"
|
||||
|
||||
mimic-response@^3.1.0:
|
||||
version "3.1.0"
|
||||
resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9"
|
||||
|
@ -3481,7 +3467,7 @@ nlcst-to-string@^3.0.0:
|
|||
dependencies:
|
||||
"@types/nlcst" "^1.0.0"
|
||||
|
||||
node-fetch@^2.6.7, node-fetch@^2.6.9:
|
||||
node-fetch@^2.6.9:
|
||||
version "2.6.12"
|
||||
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.12.tgz#02eb8e22074018e3d5a83016649d04df0e348fba"
|
||||
integrity sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==
|
||||
|
@ -4280,6 +4266,11 @@ stream-combiner@~0.0.4:
|
|||
dependencies:
|
||||
duplexer "~0.1.1"
|
||||
|
||||
streamsearch@^1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-1.1.0.tgz#404dd1e2247ca94af554e841a8ef0eaa238da764"
|
||||
integrity sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==
|
||||
|
||||
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0:
|
||||
version "4.2.3"
|
||||
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
|
||||
|
@ -4461,7 +4452,7 @@ trough@^2.0.0:
|
|||
resolved "https://registry.yarnpkg.com/trough/-/trough-2.1.0.tgz#0f7b511a4fde65a46f18477ab38849b22c554876"
|
||||
integrity sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==
|
||||
|
||||
ts-mixer@^6.0.1, ts-mixer@^6.0.3:
|
||||
ts-mixer@^6.0.3:
|
||||
version "6.0.3"
|
||||
resolved "https://registry.yarnpkg.com/ts-mixer/-/ts-mixer-6.0.3.tgz#69bd50f406ff39daa369885b16c77a6194c7cae6"
|
||||
integrity sha512-k43M7uCG1AkTyxgnmI5MPwKoUvS/bRvLvUb7+Pgpdlmok8AoqmUaZxUUw8zKM5B1lqZrt41GjYgnvAi0fppqgQ==
|
||||
|
@ -4476,10 +4467,10 @@ tsconfig-paths@^3.14.2:
|
|||
minimist "^1.2.6"
|
||||
strip-bom "^3.0.0"
|
||||
|
||||
tslib@^2.4.0, tslib@^2.6.1:
|
||||
version "2.6.1"
|
||||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.1.tgz#fd8c9a0ff42590b25703c0acb3de3d3f4ede0410"
|
||||
integrity sha512-t0hLfiEKfMUoqhG+U1oid7Pva4bbDPHYfJNiB7BiIjRkj1pyC++4N3huJfqY6aRH6VTB0rvtzQwjM4K6qpfOig==
|
||||
tslib@^2.6.1:
|
||||
version "2.6.2"
|
||||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae"
|
||||
integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==
|
||||
|
||||
type-check@^0.4.0, type-check@~0.4.0:
|
||||
version "0.4.0"
|
||||
|
@ -4569,6 +4560,13 @@ unbox-primitive@^1.0.2:
|
|||
has-symbols "^1.0.3"
|
||||
which-boxed-primitive "^1.0.2"
|
||||
|
||||
undici@5.22.1:
|
||||
version "5.22.1"
|
||||
resolved "https://registry.yarnpkg.com/undici/-/undici-5.22.1.tgz#877d512effef2ac8be65e695f3586922e1a57d7b"
|
||||
integrity sha512-Ji2IJhFXZY0x/0tVBXeQwgPlLWw13GVzpsWPQ3rV50IFMMof2I55PZZxtm4P6iNq+L5znYN9nSTAq0ZyE6lSJw==
|
||||
dependencies:
|
||||
busboy "^1.6.0"
|
||||
|
||||
unherit@^3.0.0:
|
||||
version "3.0.1"
|
||||
resolved "https://registry.yarnpkg.com/unherit/-/unherit-3.0.1.tgz#65b98bb7cb58cee755d7ec699a49e9e8ff172e23"
|
||||
|
|
Loading…
Reference in New Issue