diff --git a/Commands/Activities/awkword.js b/Commands/Activities/awkword.js index 86a381c8..a267be55 100644 --- a/Commands/Activities/awkword.js +++ b/Commands/Activities/awkword.js @@ -13,7 +13,7 @@ module.exports = { let embed = new EmbedBuilder() .setTitle("Awkword.io") .setDescription(`[Click Here](${invite.code}) to play Awkword.io!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``) - .setColor("GREEN") + .setColor("Green") .setFooter(`Requested By: ${message.author.tag}`) return message.channel.send({ embeds: [embed] }); diff --git a/Commands/Activities/betrayal.js b/Commands/Activities/betrayal.js index 4865c08c..caf98438 100644 --- a/Commands/Activities/betrayal.js +++ b/Commands/Activities/betrayal.js @@ -13,7 +13,7 @@ module.exports = { let embed = new EmbedBuilder() .setTitle("Betrayal.io") .setDescription(`[Click Here](${invite.code}) to play Betrayal.io!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``) - .setColor("GREEN") + .setColor("Green") .setFooter(`Requested By: ${message.author.tag}`) return message.channel.send({ embeds: [embed] }); diff --git a/Commands/Activities/chess.js b/Commands/Activities/chess.js index d85b248a..21e180e1 100644 --- a/Commands/Activities/chess.js +++ b/Commands/Activities/chess.js @@ -13,7 +13,7 @@ module.exports = { let embed = new EmbedBuilder() .setTitle("Chess.io") .setDescription(`[Click Here](${invite.code}) to play Chess!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``) - .setColor("GREEN") + .setColor("Green") .setFooter(`Requested By: ${message.author.tag}`) return message.channel.send({ embeds: [embed] }); diff --git a/Commands/Activities/doodlecrew.js b/Commands/Activities/doodlecrew.js index 6919b422..03051abc 100644 --- a/Commands/Activities/doodlecrew.js +++ b/Commands/Activities/doodlecrew.js @@ -13,7 +13,7 @@ module.exports = { let embed = new EmbedBuilder() .setTitle("Doodle Crew.io") .setDescription(`[Click Here](${invite.code}) to play Doodle Crew.io!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``) - .setColor("GREEN") + .setColor("Green") .setFooter(`Requested By: ${message.author.tag}`) return message.channel.send({ embeds: [embed] }); diff --git a/Commands/Activities/fishington.js b/Commands/Activities/fishington.js index 2b60ab25..2e70ff3f 100644 --- a/Commands/Activities/fishington.js +++ b/Commands/Activities/fishington.js @@ -13,7 +13,7 @@ module.exports = { let embed = new EmbedBuilder() .setTitle("Fishington.io") .setDescription(`[Click Here](${invite.code}) to play Poker!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``) - .setColor("GREEN") + .setColor("Green") .setFooter(`Requested By: ${message.author.tag}`) return message.channel.send({ embeds: [embed] }); diff --git a/Commands/Activities/lettertile.js b/Commands/Activities/lettertile.js index 38ba342a..c6c799f4 100644 --- a/Commands/Activities/lettertile.js +++ b/Commands/Activities/lettertile.js @@ -13,7 +13,7 @@ module.exports = { let embed = new EmbedBuilder() .setTitle("LetterTile.io") .setDescription(`[Click Here](${invite.code}) to play LetterTile.io!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``) - .setColor("GREEN") + .setColor("Green") .setFooter(`Requested By: ${message.author.tag}`) return message.channel.send({ embeds: [embed] }); diff --git a/Commands/Activities/poker.js b/Commands/Activities/poker.js index 4308e4bd..60c77dc9 100644 --- a/Commands/Activities/poker.js +++ b/Commands/Activities/poker.js @@ -13,7 +13,7 @@ module.exports = { let embed = new EmbedBuilder() .setTitle("Poker.io") .setDescription(`[Click Here](${invite.code}) to play Poker.io!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``) - .setColor("GREEN") + .setColor("Green") .setFooter(`Requested By: ${message.author.tag}`) return message.channel.send({ embeds: [embed] }); diff --git a/Commands/Activities/spellcast.js b/Commands/Activities/spellcast.js index f675a546..c8648589 100644 --- a/Commands/Activities/spellcast.js +++ b/Commands/Activities/spellcast.js @@ -13,7 +13,7 @@ module.exports = { let embed = new EmbedBuilder() .setTitle("SpellCast.io") .setDescription(`[Click Here](${invite.code}) to play SpellCast.io!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``) - .setColor("GREEN") + .setColor("Green") .setFooter(`Requested By: ${message.author.tag}`) return message.channel.send({ embeds: [embed] }); diff --git a/Commands/Activities/youtube.js b/Commands/Activities/youtube.js index a590a1ea..924dd8cc 100644 --- a/Commands/Activities/youtube.js +++ b/Commands/Activities/youtube.js @@ -13,7 +13,7 @@ module.exports = { let embed = new EmbedBuilder() .setTitle("Youtube Together") .setDescription(`[Click Here](${invite.code}) to access Youtube Together!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``) - .setColor("RED") + .setColor("Red") .setFooter(`Requested By: ${message.author.tag}`) return message.channel.send({ embeds: [embed] }); diff --git a/Commands/Config/antilink.js b/Commands/Config/antilink.js index 0589abae..abb758d8 100644 --- a/Commands/Config/antilink.js +++ b/Commands/Config/antilink.js @@ -3,7 +3,7 @@ const prefixModel = require("../../database/guildData/antilink"); module.exports = { name: "antilink", description: "Setup antilink per server!", - userPerms: ["MANAGE_GUILD"], + userPerms: ["ManageGuild"], run: async (client, message, args) => { if (!args[0]) { return message.channel.send( diff --git a/Commands/Config/antiwords.js b/Commands/Config/antiwords.js index dd052b7b..b9c10aa8 100644 --- a/Commands/Config/antiwords.js +++ b/Commands/Config/antiwords.js @@ -3,7 +3,7 @@ const antiwordsSchema = require("../../database/guildData/antiwords"); module.exports = { name: "antiwords", - userPerms: ["ADMINISTRATOR"], + userPerms: ["Administrator"], description: "Setup antilink per server!", run: async(client, message, args) => { if (!args[0]) { diff --git a/Commands/Config/autorole.js b/Commands/Config/autorole.js index 5a39f063..636e5900 100644 --- a/Commands/Config/autorole.js +++ b/Commands/Config/autorole.js @@ -4,13 +4,11 @@ const roleData = require("../../database/guildData/autorole"); module.exports = { name: "autorole", description: "Change autorole per server!", - permissions: "MANAGE_ROLES", - botPermissions: "MANAGE_ROLES", args: "Yes", usage: "!autorole ", aliases: ["ar", "joinrole"], - userPerms: ["MANAGE_ROLES"], - botPerms: ["MANAGE_ROLES"], + userPerms: ["ManageRoles"], + botPerms: ["ManageRoles"], run: async (client, message, args) => { diff --git a/Commands/Config/dashboard.js b/Commands/Config/dashboard.js index 47a71348..84a888a6 100644 --- a/Commands/Config/dashboard.js +++ b/Commands/Config/dashboard.js @@ -3,8 +3,8 @@ const { EmbedBuilder, ActionRowBuilder, SelectMenuBuilder } = require('discord.j module.exports = { name: "dashboard", description: "View the dashboard for the required category.", - botPerms: ["MANAGE_GUILD"], - userPerms: ["ADMINISITRATOR"], + botPerms: ["ManageGuild"], + userPerms: ["Administrator"], run: async(client, message, args)=>{ if (!args[0]){ return message.channel.send(`Please specify an option! Available Options:\`\`\`js\nadmin\nwelcomer\nlogging\n\`\`\``); diff --git a/Commands/Config/joinchannel.js b/Commands/Config/joinchannel.js index a47b6fa2..61bedc8f 100644 --- a/Commands/Config/joinchannel.js +++ b/Commands/Config/joinchannel.js @@ -4,8 +4,8 @@ module.exports = { name: "joinchannel", description: "Change the welcome channel per server!", aliases: ["jchannel", "welcome"], - userPerms: ["MANAGE_CHANNELS"], - botPerms: ["MANAGE_CHANNELS"], + userPerms: ["ManageChannels"], + botPerms: ["ManageChannels"], run: async (client, message, args) => { if (!args[0]) { return message.channel.send(`\`Usage: =joinchannel <#channel|off>\``); diff --git a/Commands/Config/joinmessage.js b/Commands/Config/joinmessage.js index 77bedc48..b96f1dd6 100644 --- a/Commands/Config/joinmessage.js +++ b/Commands/Config/joinmessage.js @@ -4,7 +4,7 @@ module.exports = { name: "joinmessage", description: "Change the welcome message per server!", aliases: ["joinmsg", "welcomemsg", "jmsg"], - userPerms: ["MANAGE_CHANNELS"], + userPerms: ["ManageChannels"], run: async (client, message, args) => { const text = args.join(" "); if (!args[0]) { diff --git a/Commands/Config/leavechannel.js b/Commands/Config/leavechannel.js index 99496c78..28bf3e9b 100644 --- a/Commands/Config/leavechannel.js +++ b/Commands/Config/leavechannel.js @@ -3,8 +3,8 @@ const prefixModel = require("../../database/guildData/leavechannel"); module.exports = { name: "leavechannel", description: "Change the goodbye channel per server!", - userPerms: ["MANAGE_CHANNELS"], - botPerms: ["MANAGE_CHANNELS"], + userPerms: ["ManageChannels"], + botPerms: ["ManageChannels"], run: async (client, message, args) => { if (!args[0]) { return message.channel.send("`Usage: =leavechannel <#channel|off>`"); diff --git a/Commands/Config/leavemessage.js b/Commands/Config/leavemessage.js index 128f556e..fd8e6e62 100644 --- a/Commands/Config/leavemessage.js +++ b/Commands/Config/leavemessage.js @@ -3,7 +3,7 @@ const prefixModel = require("../../database/guildData/leavemessage"); module.exports = { name: "leavemessage", description: "Change the leave message per server!", - userPerms: ["MANAGE_CHANNELS"], + userPerms: ["ManageChannels"], run: async (client, message, args) => { const text = args.join(" "); if (!args[0]) { diff --git a/Commands/Config/prefix.js b/Commands/Config/prefix.js index 80187083..cd9511d8 100644 --- a/Commands/Config/prefix.js +++ b/Commands/Config/prefix.js @@ -3,7 +3,7 @@ const prefixModel = require("../../database/guildData/prefix"); module.exports = { name: "prefix", description: "Change the prefix per server!", - userPerms: ["MANAGE_GUILD"], + userPerms: ["ManageGuild"], run: async (client, message, args) => { const data = await prefixModel.findOne({ diff --git a/Commands/Fun/fact.js b/Commands/Fun/fact.js index 0b11bb4d..ece3155b 100644 --- a/Commands/Fun/fact.js +++ b/Commands/Fun/fact.js @@ -1,114 +1,114 @@ -const Discord = module.require("discord.js"); +const Discord = module.require(`discord.js`); module.exports = { - name: "fact", - description: "Sends a random fact", + name: `fact`, + description: `Sends a random fact`, run: async (client, message, args) => { var fact = [ - "The world’s oldest wooden wheel has been around for more than 5,000 years.", - "Though less common than earthquakes, the moon actually has moonquakes, too. That's right. Moonquakes. Pretty much everyone is interested in space, so this is always a good fact to pull out."," - "You actually lose a large percentage of your taste buds while on an airplane. This might explain a lot about those less-than-stellar in-flight meals, or why you find yourself craving the saltiest foods while in the sky." - "Bees can sting other bees — usually if they feel threatened or are protecting their territory. In other words, you're not the only one who's scared of getting stung", - "Most people know dolphins have incredible sonar abilities. But did you know they were studied as war tools during the Cold War? They really are as smart as people say they are. There are dozens of dolphin-specific fun facts out there, actually.", - "Like humans, koalas actually have unique individual fingerprints. If you place a koala and human finger print side by side, they're actually pretty hard to differentiate.", - "Brendan Fraser almost died while filming The Mummy (he passed out while filming a scene). Pretty scary, right?", - "Will Ferrell consumed so much sugar while filming Elf that he actually became physically ill. If you've seen the famous spaghetti scene, then you can probably understand why.", - "The Hollywood sign in Los Angeles once said "Hollywoodland," but was changed in 1949.", - "The most expensive film ever made was Pirates of the Caribbean, which cost more than 375 million dollars to create. For reference, the average budget for a big studio movie is around $65 million.", - "Buzz Lightyear's original name is Lunar Larry. Doesn't have quite the same ring to it, right?", - "Iceland grows 5 centimeters per year because of its moving tectonic plates. Another Iceland fun fact: More than 60% of the country's population lives in its capital city.", - "Russia has a whopping 11 time zones within the country, which gives you an idea of just how large it is.", - "The place that has more caves than any other place on earth? Kentucky. Surprising, right? Maybe worth adding to your next vacation list.", - "The Sahara Desert can reach up to 136 degrees. Its average temperature is actually about 100 degrees Fahrenheit, so it's pretty much always hot.", - "Australia is wider than the moon — 600km wider, to be exact.", - "Vatican City is actually the smallest country in the world at only .2 miles wide.", - "There are more people in California than Canada, despite the fact that Canada is more than 2,000 percent larger in size than California.", - "The closest state in the United States to Africa is Maine, which juts out further east into the Atlantic than most people realize.", - "Russia has more surface area than Pluto. Seem impossible? Just think of those 11 time zones.", - "The heart of a shrimp is located in its head. Weird, yet kind of cool. Also weird: Shrimp have an open circulatory system, so their organs just float in blood.", - "Slugs have not one, not two, not three... but four noses. They don't work like human noses do, exactly. Instead, they sense chemicals, sounds, lights, and more.", - "It takes a sloth two to four weeks to digest food. They actually have the slowest metabolic system of any mammal.", - "Just like human babies suck their thumbs, baby elephants sometimes suck on their trunks. They can also stand within 20 minutes of birth (though they can't see for a while, and instead sense their mothers through sound and smell).", - "Crows can recognize human faces — and remember them for their entire lives. They've also been known to leave gifts for humans.", - "There is only one country on earth without mosquitoes: Iceland. Its low temperatures make it impossible for the pest to breed.", - "The name of a group of lemurs is (wait for it) a "conspiracy." Really. This is because they often work together in their social groups to outsmart prey.", - "Believe it or not, wombats' poop is cube-shaped. This apparently has to do with their digestive process and various bodily contractions. The more you know.", - "A little gross, but also kind of funny: Lobsters pee out of their faces. Even more interesting, they do this as a way to attract mates.", - "Ready to have your mind blown? A blind chameleon can still adjust to the colors of its environment. The way it changes colors is because of its special cells, not eyesight.", - "Freddie Mercury has a pretty memorable smile. But did you know it's because he had four extra teeth in his upper jaw? Yup. That's why Rami Malek had to wear prosthetic teeth while working on Bohemian Rhapsody.", - "Clocking in at 1,560 words, "Rap God" by Eminem is the song with the most words. Imagine trying to memorize all of that.", - "The world's longest concert lasted 453 hours, though there is also a 639-year-long concert that is currently happening, according to the Washington Post.", - "It takes 70 different pieces of wood to make up a violin, explaining why some of them are so expensive (one even sold for $16 million). Talk about a potentially very expensive hobby.", - "All clownfish are born male. That explains Marlin and Nemo. They have the ability to change their sex later on.", - "A group of porcupines is called a prickle. How fitting. The animal is also known as a "quill pig" in Latin, which is kind of cute.", - "Abraham Lincoln, who was famously tall at 6'4, was also a successful competitive wrestler.", - "Finland has more saunas than cars. Sounds like a pretty great place. In fact, it's consistently ranked as one of the happiest countries in the world, which makes sense.", - "Gatorade was invented at the University of Florida, named after the mascot of the school, the Gators. The university receives 20 percent of the profits from the beverage.", - "Volleyball and basketball were both invented in Massachusetts.", - "The heaviest onion ever grown was 18 pounds and was grown in England. That's a toddler-sized onion.", - "Contrary to what you might think, Canada actually eats more macaroni and cheese than any other place. Belgium east the most fries. Germany eats the most bread.", - "The famous Sesame Street character Cookie Monster’s real name is Sid. And Captain Crunch? His full name is Captain Horatio Magellan Crunch. Naturally.", - "If you play tennis at Wimbledon, swearing is not allowed. Therefore, judges have to learn swearwords in different languages in order to enforce the rules. Not the least fun job in the world, we'd say.", - "Mushrooms can glow in the dark. In fact, there are more than 70 varieties of mushrooms that do this. There are also 70-80 varieties of mushrooms that are poisonous to eat.", - "Since 1962, the official sport of Maryland has been jousting.", - "According to the Guinness World Records, the world's heaviest watermelon weighed 350 pounds. Imagine trying to slice up that bad boy for a summer picnic.", - "Ketchup was once sold as medicine to treat diarrhea and indigestion. The treatment did not, in fact, work.", - "In Switzerland, it's illegal to own just one guinea pig because they crave social interaction so much. In their natural habitat, they live in groups and are very communicative.", - "Seven percent of American adults think chocolate milk comes from brown cows (spoiler: It does not).", - "Bananas are curved because of how they grow — toward the sun. Also, technically speaking, they're actually defined as a type of berry.", - "The oldest living animal is reportedly a Seychelles giant tortoise named Jonathan. He is 190.", - "Only 5% of the ocean has been explored. The intense pressure at the deepest depths of the ocean makes it virtually impossible to navigate.", - "Saint Lucia is the only country in the world named after a woman.", - "The British royal family isn't allowed to play Monopoly because it gets too competitive. The Queen also has only one nail polish color.", - "There's an island in Japan that is only inhabited by bunnies. And, yes, you can visit there if you want.", - "The Supreme Court has its own private basketball court called "the highest court in the land." Pretty clever, if you ask us. It also features a full gym.", - "More people are killed by vending machines than sharks. Also, more than 90% of shark attacks are on males.", - "There's a town in Norway called Hell. Ironically, it never gets very warm there at all. In fact, the temperature regularly dips below zero degrees.", - "If you put together all the time of characters sitting in silence in Twilight, it would amount to 26 minutes. Vampires really are that dramatic.", - "Dolly Parton once entered a Dolly Parton lookalike contest ... and lost. Even better, she lost to a drag queen. True to Dolly style, she tells the story often.", - "Jennifer Lawrence has a tattoo that says "H2O" on her hand to remind her to drink water. Whatever works, right?", - "Ryan Gosling was almost in the Backstreet Boys. Like many other '90s boy and girl band members, Gosling was a member of the Mickey Mouse Club.", - "Jennifer Aniston was almost a Saturday Night Live cast member — yes, before Friends. She turned down the role because she had heard the environment at SNL was not good toward women.", - "When Lady Gaga went to NYU, a group of students started a Facebook group about how she would never be famous. Guess the joke is really, really on them now, huh?", - "Jamie Lee Curtis is Jake Gyllenhaal's godmother. His parents are both directors and screenwriters, so he's always been closely connected to the industry.", - "Pop star Lorde has an Instagram account where she rates onion rings from around the world. Because why not?", - "Lana del Rey's real name is Lizzy Grant. She says she chose the name because she wanted something "that sounded sort of exotic and reminded me of like the seaside on the Floridian coast.”", - "Strawberries are not actually berries. They're actually "a multiple fruit which consists of many tiny individual fruits embedded in a fleshy receptacle" according to the Carnegie Museum, which is kind of a disturbing way to describe a strawberry but accurate nonetheless.", - "Avocados technically are berries, though.", - "You can actually hear rhubarb grow — it pops! This is because of how fast it grows — up to an inch per day. It also can squeak and make other noises.", - "You can eat the labels on fruit. They're totally edible much of the time... they just might not taste that good. Still probably a good idea to peel them off first.", - "Until 2011, anything lower than 11% ABV was not legally considered alcohol.", - "Green, yellow, and red bell peppers might look like different versions of the same vegetable, but they're not!", - "White chocolate isn't actually chocolate at all. It's mostly cocoa butter, sugar, and lecithin.", - "Honey will never go bad, so that's one less thing you have to throw out when you clean out your pantry. You also don't have to refrigerate it.", - "Carrots were originally purple, not orange. You can still find delicious purple carrots around, though, even though they're not the most popular version.", - "If you put grapes in the microwave, they will explode. There are also more than 8,000 different varieties of grapes, believe it or not.", - "Nutmeg can be hallucinogenic if consumed in large quantities. You would have to eat at least two teaspoons or more to feel any effects, though.", - "Raspberries are actually a member of the rose family. So are apples, pears, and plums.", - "Broccoli contains more protein than a lot of meats, including steak. Just another reason to add the green vegetable to your menu sometime soon.", - "Pistachios are technically fruits. Think of them as the opposite of a peach. Instead of throwing out the pit and eating the flesh, we do the opposite with pistachios.", - "SPAM actually stands for spiced ham. It's been around since 1937.", - "Most countries don't refrigerate their eggs. In the US, they are considered a perishable item and therefore have to be refrigerated, but they have a surprisingly long shelf life.", - "Whether you realize it or not, you blink around 20 times per minute. You can blink up to 5 times per second if you try, which makes the eyes the fastest muscle in the body.", - "Earwax is technically a form of sweat. Bet that's one fun fact you kind of wish you didn't know now.", - "Over the course of an average lifetime, most people will spend an entire year sitting on the toilet.", - "You're taller in the morning than at night. This is because over the course of the day our cartilage compresses and makes us a bit shorter.", - "The average adult human has 2000-4000 taste buds and despite what you may have been taught, they are not visible to the human eye. Those bumps on your tongue are what the taste buds are on, but those aren't actually the taste buds themselves.", - "Humans are the only animals on earth with chins. The scariest part is that no one knows why this is.", - "On average, hair grows about 6 inches per year. As we age, some of these hair follicles stop producing hair, which is why hair loss and balding is common in older people.", - "Blushing is caused by a rush of adrenaline. It's also genetic, so if you're prone to it, it's likely one of your parents is, too.", - "Every two weeks, another language or dialect goes extinct. There is a language in Nigeria that is currently only spoken by four living individuals.", - "The Australian Aboriginal language of Paakantyi is only currently spoken by anywhere from 2 to 24 people.", - "There are more than 200 languages that have been invented just for television or movies.", - "Dogs' sense of smell is 40 times more powerful than humans' — they have 300 million olfactory receptors.", - "Dogs also have something called neophilia, which means they are attracted to new and interesting odors. This might explain a lot about why your daily walks with your dog take longer some days than others.", - "Dogs can also breathe and smell simultaneously, unlike humans (have you ever tried to breathe while inhaling through your nose?).", - "Dogs have a dominant paw like humans have a dominant left or right hand. Can you tell if your dog is left-pawed or right-pawed?", - "Dogs' noses are like human fingerprints; each one is unique.", - "Dolphins literally sleep with one eye open because only one of their brain hemispheres sleeps at a time. The left eye closes when the right half of the brain sleeps, and vice versa.", - "Originally, vacuum cleaners were horse-drawn. The horse-drawn buggy would announce to all your neighbors that you were having a special treatment done. Great advertising!", - "Alfred Hitchcock was scared of... eggs. Let's all be thankful he didn't create a horror film about eggs.", - "Umbrellas were once only used by women. They've also been around in some form since 500 BC", + `The world’s oldest wooden wheel has been around for more than 5,000 years.`, + `Though less common than earthquakes, the moon actually has moonquakes, too. That's right. Moonquakes. Pretty much everyone is interested in space, so this is always a good fact to pull out.`, + `You actually lose a large percentage of your taste buds while on an airplane. This might explain a lot about those less-than-stellar in-flight meals, or why you find yourself craving the saltiest foods while in the sky.`, + `Bees can sting other bees — usually if they feel threatened or are protecting their territory. In other words, you're not the only one who's scared of getting stung`, + `Most people know dolphins have incredible sonar abilities. But did you know they were studied as war tools during the Cold War? They really are as smart as people say they are. There are dozens of dolphin-specific fun facts out there, actually.`, + `Like humans, koalas actually have unique individual fingerprints. If you place a koala and human finger print side by side, they're actually pretty hard to differentiate.`, + `Brendan Fraser almost died while filming The Mummy (he passed out while filming a scene). Pretty scary, right?`, + `Will Ferrell consumed so much sugar while filming Elf that he actually became physically ill. If you've seen the famous spaghetti scene, then you can probably understand why.`, + 'The Hollywood sign in Los Angeles once said "Hollywoodland," but was changed in 1949.', + `The most expensive film ever made was Pirates of the Caribbean, which cost more than 375 million dollars to create. For reference, the average budget for a big studio movie is around $65 million.`, + `Buzz Lightyear's original name is Lunar Larry. Doesn't have quite the same ring to it, right?`, + `Iceland grows 5 centimeters per year because of its moving tectonic plates. Another Iceland fun fact: More than 60% of the country's population lives in its capital city.`, + `Russia has a whopping 11 time zones within the country, which gives you an idea of just how large it is.`, + `The place that has more caves than any other place on earth? Kentucky. Surprising, right? Maybe worth adding to your next vacation list.`, + `The Sahara Desert can reach up to 136 degrees. Its average temperature is actually about 100 degrees Fahrenheit, so it's pretty much always hot.`, + `Australia is wider than the moon — 600km wider, to be exact.`, + `Vatican City is actually the smallest country in the world at only .2 miles wide.`, + `There are more people in California than Canada, despite the fact that Canada is more than 2,000 percent larger in size than California.`, + `The closest state in the United States to Africa is Maine, which juts out further east into the Atlantic than most people realize.`, + `Russia has more surface area than Pluto. Seem impossible? Just think of those 11 time zones.`, + `The heart of a shrimp is located in its head. Weird, yet kind of cool. Also weird: Shrimp have an open circulatory system, so their organs just float in blood.`, + `Slugs have not one, not two, not three... but four noses. They don't work like human noses do, exactly. Instead, they sense chemicals, sounds, lights, and more.`, + `It takes a sloth two to four weeks to digest food. They actually have the slowest metabolic system of any mammal.`, + `Just like human babies suck their thumbs, baby elephants sometimes suck on their trunks. They can also stand within 20 minutes of birth (though they can't see for a while, and instead sense their mothers through sound and smell).`, + `Crows can recognize human faces — and remember them for their entire lives. They've also been known to leave gifts for humans.`, + `There is only one country on earth without mosquitoes: Iceland. Its low temperatures make it impossible for the pest to breed.`, + `The name of a group of lemurs is (wait for it) a "conspiracy." Really. This is because they often work together in their social groups to outsmart prey.`, + `Believe it or not, wombats' poop is cube-shaped. This apparently has to do with their digestive process and various bodily contractions. The more you know.`, + `A little gross, but also kind of funny: Lobsters pee out of their faces. Even more interesting, they do this as a way to attract mates.`, + `Ready to have your mind blown? A blind chameleon can still adjust to the colors of its environment. The way it changes colors is because of its special cells, not eyesight.`, + `Freddie Mercury has a pretty memorable smile. But did you know it's because he had four extra teeth in his upper jaw? Yup. That's why Rami Malek had to wear prosthetic teeth while working on Bohemian Rhapsody.`, + `Clocking in at 1,560 words, "Rap God" by Eminem is the song with the most words. Imagine trying to memorize all of that.`, + `The world's longest concert lasted 453 hours, though there is also a 639-year-long concert that is currently happening, according to the Washington Post.`, + `It takes 70 different pieces of wood to make up a violin, explaining why some of them are so expensive (one even sold for $16 million). Talk about a potentially very expensive hobby.`, + `All clownfish are born male. That explains Marlin and Nemo. They have the ability to change their sex later on.`, + `A group of porcupines is called a prickle. How fitting. The animal is also known as a "quill pig" in Latin, which is kind of cute.`, + `Abraham Lincoln, who was famously tall at 6'4, was also a successful competitive wrestler.`, + `Finland has more saunas than cars. Sounds like a pretty great place. In fact, it's consistently ranked as one of the happiest countries in the world, which makes sense.`, + `Gatorade was invented at the University of Florida, named after the mascot of the school, the Gators. The university receives 20 percent of the profits from the beverage.`, + `Volleyball and basketball were both invented in Massachusetts.`, + `The heaviest onion ever grown was 18 pounds and was grown in England. That's a toddler-sized onion.`, + `Contrary to what you might think, Canada actually eats more macaroni and cheese than any other place. Belgium east the most fries. Germany eats the most bread.`, + `The famous Sesame Street character Cookie Monster’s real name is Sid. And Captain Crunch? His full name is Captain Horatio Magellan Crunch. Naturally.`, + `If you play tennis at Wimbledon, swearing is not allowed. Therefore, judges have to learn swearwords in different languages in order to enforce the rules. Not the least fun job in the world, we'd say.`, + `Mushrooms can glow in the dark. In fact, there are more than 70 varieties of mushrooms that do this. There are also 70-80 varieties of mushrooms that are poisonous to eat.`, + `Since 1962, the official sport of Maryland has been jousting.`, + `According to the Guinness World Records, the world's heaviest watermelon weighed 350 pounds. Imagine trying to slice up that bad boy for a summer picnic.`, + `Ketchup was once sold as medicine to treat diarrhea and indigestion. The treatment did not, in fact, work.`, + `In Switzerland, it's illegal to own just one guinea pig because they crave social interaction so much. In their natural habitat, they live in groups and are very communicative.`, + `Seven percent of American adults think chocolate milk comes from brown cows (spoiler: It does not).`, + `Bananas are curved because of how they grow — toward the sun. Also, technically speaking, they're actually defined as a type of berry.`, + `The oldest living animal is reportedly a Seychelles giant tortoise named Jonathan. He is 190.`, + `Only 5% of the ocean has been explored. The intense pressure at the deepest depths of the ocean makes it virtually impossible to navigate.`, + `Saint Lucia is the only country in the world named after a woman.`, + `The British royal family isn't allowed to play Monopoly because it gets too competitive. The Queen also has only one nail polish color.`, + `There's an island in Japan that is only inhabited by bunnies. And, yes, you can visit there if you want.`, + `The Supreme Court has its own private basketball court called "the highest court in the land." Pretty clever, if you ask us. It also features a full gym.`, + `More people are killed by vending machines than sharks. Also, more than 90% of shark attacks are on males.`, + `There's a town in Norway called Hell. Ironically, it never gets very warm there at all. In fact, the temperature regularly dips below zero degrees.`, + `If you put together all the time of characters sitting in silence in Twilight, it would amount to 26 minutes. Vampires really are that dramatic.`, + `Dolly Parton once entered a Dolly Parton lookalike contest ... and lost. Even better, she lost to a drag queen. True to Dolly style, she tells the story often.`, + `Jennifer Lawrence has a tattoo that says "H2O" on her hand to remind her to drink water. Whatever works, right?`, + `Ryan Gosling was almost in the Backstreet Boys. Like many other '90s boy and girl band members, Gosling was a member of the Mickey Mouse Club.`, + `Jennifer Aniston was almost a Saturday Night Live cast member — yes, before Friends. She turned down the role because she had heard the environment at SNL was not good toward women.`, + `When Lady Gaga went to NYU, a group of students started a Facebook group about how she would never be famous. Guess the joke is really, really on them now, huh?`, + `Jamie Lee Curtis is Jake Gyllenhaal's godmother. His parents are both directors and screenwriters, so he's always been closely connected to the industry.`, + `Pop star Lorde has an Instagram account where she rates onion rings from around the world. Because why not?`, + `Lana del Rey's real name is Lizzy Grant. She says she chose the name because she wanted something "that sounded sort of exotic and reminded me of like the seaside on the Floridian coast."`, + `Strawberries are not actually berries. They're actually "a multiple fruit which consists of many tiny individual fruits embedded in a fleshy receptacle" according to the Carnegie Museum, which is kind of a disturbing way to describe a strawberry but accurate nonetheless.`, + `Avocados technically are berries, though.`, + `You can actually hear rhubarb grow — it pops! This is because of how fast it grows — up to an inch per day. It also can squeak and make other noises.`, + `You can eat the labels on fruit. They're totally edible much of the time... they just might not taste that good. Still probably a good idea to peel them off first.`, + `Until 2011, anything lower than 11% ABV was not legally considered alcohol.`, + `Green, yellow, and red bell peppers might look like different versions of the same vegetable, but they're not!`, + `White chocolate isn't actually chocolate at all. It's mostly cocoa butter, sugar, and lecithin.`, + `Honey will never go bad, so that's one less thing you have to throw out when you clean out your pantry. You also don't have to refrigerate it.`, + `Carrots were originally purple, not orange. You can still find delicious purple carrots around, though, even though they're not the most popular version.`, + `If you put grapes in the microwave, they will explode. There are also more than 8,000 different varieties of grapes, believe it or not.`, + `Nutmeg can be hallucinogenic if consumed in large quantities. You would have to eat at least two teaspoons or more to feel any effects, though.`, + `Raspberries are actually a member of the rose family. So are apples, pears, and plums.`, + `Broccoli contains more protein than a lot of meats, including steak. Just another reason to add the green vegetable to your menu sometime soon.`, + `Pistachios are technically fruits. Think of them as the opposite of a peach. Instead of throwing out the pit and eating the flesh, we do the opposite with pistachios.`, + `SPAM actually stands for spiced ham. It's been around since 1937.`, + `Most countries don't refrigerate their eggs. In the US, they are considered a perishable item and therefore have to be refrigerated, but they have a surprisingly long shelf life.`, + `Whether you realize it or not, you blink around 20 times per minute. You can blink up to 5 times per second if you try, which makes the eyes the fastest muscle in the body.`, + `Earwax is technically a form of sweat. Bet that's one fun fact you kind of wish you didn't know now.`, + `Over the course of an average lifetime, most people will spend an entire year sitting on the toilet.`, + `You're taller in the morning than at night. This is because over the course of the day our cartilage compresses and makes us a bit shorter.`, + `The average adult human has 2000-4000 taste buds and despite what you may have been taught, they are not visible to the human eye. Those bumps on your tongue are what the taste buds are on, but those aren't actually the taste buds themselves.`, + `Humans are the only animals on earth with chins. The scariest part is that no one knows why this is.`, + `On average, hair grows about 6 inches per year. As we age, some of these hair follicles stop producing hair, which is why hair loss and balding is common in older people.`, + `Blushing is caused by a rush of adrenaline. It's also genetic, so if you're prone to it, it's likely one of your parents is, too.`, + `Every two weeks, another language or dialect goes extinct. There is a language in Nigeria that is currently only spoken by four living individuals.`, + `The Australian Aboriginal language of Paakantyi is only currently spoken by anywhere from 2 to 24 people.`, + `There are more than 200 languages that have been invented just for television or movies.`, + `Dogs' sense of smell is 40 times more powerful than humans' — they have 300 million olfactory receptors.`, + `Dogs also have something called neophilia, which means they are attracted to new and interesting odors. This might explain a lot about why your daily walks with your dog take longer some days than others.`, + `Dogs can also breathe and smell simultaneously, unlike humans (have you ever tried to breathe while inhaling through your nose?).`, + `Dogs have a dominant paw like humans have a dominant left or right hand. Can you tell if your dog is left-pawed or right-pawed?`, + `Dogs' noses are like human fingerprints; each one is unique.`, + `Dolphins literally sleep with one eye open because only one of their brain hemispheres sleeps at a time. The left eye closes when the right half of the brain sleeps, and vice versa.`, + `Originally, vacuum cleaners were horse-drawn. The horse-drawn buggy would announce to all your neighbors that you were having a special treatment done. Great advertising!`, + `Alfred Hitchcock was scared of... eggs. Let's all be thankful he didn't create a horror film about eggs.`, + `Umbrellas were once only used by women. They've also been around in some form since 500 BC`, ]; await message.channel.send(jokes[Math.floor(Math.random() * jokes.length)]); }, diff --git a/Commands/Fun/gif.js b/Commands/Fun/gif.js index ed9962d3..430bb849 100644 --- a/Commands/Fun/gif.js +++ b/Commands/Fun/gif.js @@ -4,7 +4,7 @@ const giphy = require("giphy-api")("W8g6R14C0hpH6ZMon9HV9FTqKs4o4rCk"); module.exports = { name: "gif", description: "Get gifs based on your search", - botPerms: ["EMBED_LINKS", "MANAGE_MESSAGES"], + botPerms: ["EmbedLinks", "ManageMessages"], run: async (client, message, args) => { if (args.length === 0) { message.channel.send("No Search terms!"); @@ -27,7 +27,7 @@ module.exports = { `Powered by GIPHY`, `https://raw.githubusercontent.com/Giphy/GiphyAPI/f68a8f1663f29dd9e8e4ea728421eb2977e42d83/api_giphy_logo_sparkle_clear.gif` ) - .setColor("RANDOM"); + .setColor("Random"); message.channel.send({ embeds: [embed] }); }); diff --git a/Commands/Fun/howgay.js b/Commands/Fun/howgay.js index 6e4e4004..610295cb 100644 --- a/Commands/Fun/howgay.js +++ b/Commands/Fun/howgay.js @@ -13,7 +13,7 @@ module.exports = { const howgayembed = new Discord.EmbedBuilder() .setTitle(`Gay Machine Calculator`) .setDescription(`${target.user.username} is ` + rng + "% Gay🌈") - .setColor("GREEN"); + .setColor("Green"); message.channel.send({ embeds: [howgayembed] }); }, diff --git a/Commands/Fun/hug.js b/Commands/Fun/hug.js index 3d571c0c..31a097b1 100644 --- a/Commands/Fun/hug.js +++ b/Commands/Fun/hug.js @@ -3,7 +3,7 @@ const Discord = module.require("discord.js"); module.exports = { name: "hug", description: "just hug someone", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { var member = message.mentions.members.first(); var images = [ diff --git a/Commands/Fun/meme.js b/Commands/Fun/meme.js index d922c8c4..c19bc94f 100644 --- a/Commands/Fun/meme.js +++ b/Commands/Fun/meme.js @@ -3,7 +3,7 @@ const Discord = module.require("discord.js"); module.exports = { name: "meme", description: "Sends a random meme", - botPerms: ["ATTTACH_FILES"], + botPerms: ["AttachFiles"], run: async (client, message, args) => { var num = Math.floor(Math.random() * (500 - 1) + 1); message.channel.send({ diff --git a/Commands/Fun/nitro.js b/Commands/Fun/nitro.js index cb3a500a..ccca7a59 100644 --- a/Commands/Fun/nitro.js +++ b/Commands/Fun/nitro.js @@ -3,7 +3,7 @@ const Discord = module.require("discord.js"); module.exports = { name: "nitro", description: "Fake a nitro gift", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { var links = [ `https://discord.gift/Hejs82hejdi9`, @@ -20,7 +20,7 @@ module.exports = { .setTitle("Here is your Nitro") .setDescription(links[Math.floor(Math.random() * links.length)]) .setImage(images[Math.floor(Math.random() * images.length)]) - .setColor("RANDOM"); + .setColor("Random"); message.channel.send({ embeds: [embed] }); }, }; diff --git a/Commands/Fun/pokeimg.js b/Commands/Fun/pokeimg.js index cc7281a4..35b1483a 100644 --- a/Commands/Fun/pokeimg.js +++ b/Commands/Fun/pokeimg.js @@ -3,7 +3,7 @@ const Discord = module.require("discord.js"); module.exports = { name: "pokeimg", description: "Get Image of the Mentioned Pokemon", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { const state = "enabled"; if (state === "disabled") { diff --git a/Commands/Fun/pp.js b/Commands/Fun/pp.js index 198dd26a..8f882d6d 100644 --- a/Commands/Fun/pp.js +++ b/Commands/Fun/pp.js @@ -3,7 +3,7 @@ const Discord = module.require("discord.js"); module.exports = { name: "pp", description: "Another fun Command", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { let target = message.mentions.members ? message.mentions.members.first() diff --git a/Commands/Fun/respect.js b/Commands/Fun/respect.js index 6ffc2fc8..cc943175 100644 --- a/Commands/Fun/respect.js +++ b/Commands/Fun/respect.js @@ -3,7 +3,7 @@ const Discord = module.require("discord.js"); module.exports = { name: "respect", description: "Returns Random Respect GIF", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { const user = message.mentions.members.first(); if (!user) { diff --git a/Commands/Fun/slap.js b/Commands/Fun/slap.js index 4f0f0788..d4aca6c7 100644 --- a/Commands/Fun/slap.js +++ b/Commands/Fun/slap.js @@ -14,7 +14,7 @@ module.exports = { ", " + member.displayName + " is now in the hospital! :hospital:") - .setColor("RANDOM"); + .setColor("Random"); await message.reply({ embeds: [embed] }); }, }; diff --git a/Commands/Fun/trivia.js b/Commands/Fun/trivia.js index ae780bb1..b1f7d233 100644 --- a/Commands/Fun/trivia.js +++ b/Commands/Fun/trivia.js @@ -23,7 +23,7 @@ module.exports = { name: "trivia", description: "Test your knowledge!", category: "fun", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { let q = questions[Math.floor(Math.random() * questions.length)]; let i = 0; @@ -35,7 +35,7 @@ module.exports = { return `${i} - ${opt}\n`; }) ) - .setColor(`GREEN`) + .setColor(`Green`) .setFooter( `Reply to this message with the correct question number! You have 15 seconds.` ); diff --git a/Commands/Games/chaoswords.js b/Commands/Games/chaoswords.js deleted file mode 100644 index f3a7320e..00000000 --- a/Commands/Games/chaoswords.js +++ /dev/null @@ -1,34 +0,0 @@ -const { ChaosWords } = require("weky") - -module.exports = { - name: "chaoswords", - description: "A simple chaoswords game.", - category: "games", - aliases: ["cw"], - run: async(client, message, args) => { - await ChaosWords({ - message: message, - embed: { - title: 'ChaosWords | Weky Development', - description: 'You have **{{time}}** to find the hidden words in the below sentence.', - color: '#5865F2', - field1: 'Sentence:', - field2: 'Words Found/Remaining Words:', - field3: 'Words found:', - field4: 'Words:', - footer: 'Reaper Games', - timestamp: true - }, - winMessage: 'GG, You won! You made it in **{{time}}**.', - loseMessage: 'Better luck next time!', - wrongWordMessage: 'Wrong Guess! You have **{{remaining_tries}}** tries left.', - correctWordMessage: 'GG, **{{word}}** was correct! You have to find **{{remaining}}** more word(s).', - time: 60000, - words: ['hello', 'these', 'are', 'words'], - charGenerated: 17, - maxTries: 10, - buttonText: 'Cancel', - othersMessage: 'Only <@{{author}}> can use the buttons!' - }); - } -} \ No newline at end of file diff --git a/Commands/Games/connect4.js b/Commands/Games/connect4.js deleted file mode 100644 index ee5e2ad0..00000000 --- a/Commands/Games/connect4.js +++ /dev/null @@ -1,28 +0,0 @@ -const Discord = module.require("discord.js"); -const { Connect4 } = require('discord-gamecord') - -module.exports = { - name: "connect4", - description: "connect4 in discord!", - run: async (client, message, args) => { - new Connect4({ - message: message, - opponent: message.mentions.users.first(), - embed: { - title: 'Connect 4', - color: '#5865F2', - }, - emojis: { - player1: '🔵', - player2: '🟡' - }, - turnMessage: '{emoji} | Its now **{player}** turn!', - winMessage: '{emoji} | **{winner}** won the game!', - gameEndMessage: 'The game went unfinished :(', - drawMessage: 'It was a draw!', - askMessage: 'Hey {opponent}, {challenger} challenged you for a game of Connect 4!', - cancelMessage: 'Looks like they refused to have a game of Connect4. \:(', - timeEndMessage: 'Since the opponent didnt answer, i dropped the game!', - }).startGame(); - }, -}; diff --git a/Commands/Games/fasttype.js b/Commands/Games/fasttype.js deleted file mode 100644 index 8cfd6f05..00000000 --- a/Commands/Games/fasttype.js +++ /dev/null @@ -1,11 +0,0 @@ -const Discord = module.require("discord.js"); -const djsGames = require('djs-games') - -module.exports = { - name: "fasttype", - description: "Type as fast as you can.", - run: async (client, message, args) => { - const FastTyper = new djsGames.FastTyper() - FastTyper.startGame(message) - }, -}; diff --git a/Commands/Games/fight.js b/Commands/Games/fight.js deleted file mode 100644 index 3c1680d4..00000000 --- a/Commands/Games/fight.js +++ /dev/null @@ -1,39 +0,0 @@ -const { Fight } = require("weky") - -module.exports = { - name: "fight", - description: "Fight someone", - category: "Games", - run: async(client, message, args) => { - if (!message.mentions.members.first()) { - return message.reply("You need to mention someone!") - } - await Fight({ - message: message, - opponent: message.mentions.users.first(), - embed: { - title: 'Fight | Weky Development', - color: '#5865F2', - footer: 'Reaper Games', - timestamp: true - }, - buttons: { - hit: 'Hit', - heal: 'Heal', - cancel: 'Stop', - accept: 'Accept', - deny: 'Deny' - }, - acceptMessage: '<@{{challenger}}> has challenged <@{{opponent}}> for a fight!', - winMessage: 'GG, <@{{winner}}> won the fight!', - endMessage: '<@{{opponent}}> didn\'t answer in time. So, I dropped the game!', - cancelMessage: '<@{{opponent}}> refused to have a fight with you!', - fightMessage: '{{player}} you go first!', - opponentsTurnMessage: 'Please wait for your opponents move!', - highHealthMessage: 'You cannot heal if your HP is above 80!', - lowHealthMessage: 'You cannot cancel the fight if your HP is below 50!', - returnWinner: false, - othersMessage: 'Only {{author}} can use the buttons!' - }); - } -} \ No newline at end of file diff --git a/Commands/Games/guessthenumber.js b/Commands/Games/guessthenumber.js deleted file mode 100644 index e6c5a8bc..00000000 --- a/Commands/Games/guessthenumber.js +++ /dev/null @@ -1,11 +0,0 @@ -const Discord = module.require("discord.js"); -const djsGames = require('djs-games') - -module.exports = { - name: "guessthenumber", - description: "Guess The Number.", - run: async (client, message, args) => { - const guessTheNumber = new djsGames.GuessTheNumber() - guessTheNumber.startGame(message) - }, -}; diff --git a/Commands/Games/guessthepokemon.js b/Commands/Games/guessthepokemon.js deleted file mode 100644 index 20e3ee9e..00000000 --- a/Commands/Games/guessthepokemon.js +++ /dev/null @@ -1,27 +0,0 @@ -const { GuessThePokemon } = require("weky"); - -module.exports = { - name: "guesspokemon", - description: "Guess the pokemon", - run: async(client, message, args)=>{ - await GuessThePokemon({ - message: message, - embed: { - title: 'Guess The Pokémon | Weky Development', - description: - '**Type:**\n{{type}}\n\n**Abilities:**\n{{abilities}}\n\nYou only have **{{time}}** to guess the pokémon.', - color: '#5865F2', - footer: 'Reaper Games', - timestamp: true - }, - thinkMessage: 'I am thinking', - othersMessage: 'Only <@{{author}}> can use the buttons!', - winMessage: - 'GG, It was a **{{answer}}**. You got it correct in **{{time}}**.', - loseMessage: 'Better luck next time! It was a **{{answer}}**.', - time: 60000, - incorrectMessage: "No {{author}}! The pokémon isn't `{{answer}}`", - buttonText: 'Cancel' - }); - } -} \ No newline at end of file diff --git a/Commands/Games/lieswatter.js b/Commands/Games/lieswatter.js deleted file mode 100644 index d17acce8..00000000 --- a/Commands/Games/lieswatter.js +++ /dev/null @@ -1,23 +0,0 @@ -const { LieSwatter } = require("weky"); - -module.exports = { - name: "lieswatter", - description: "Is it a lie?", - run: async(client, message, args)=>{ - await LieSwatter({ - message: message, - embed: { - title: 'Lie Swatter | Weky Development', - color: '#5865F2', - footer: 'Reaper Games', - timestamp: true - }, - thinkMessage: 'I am thinking', - winMessage: - 'GG, It was a **{{answer}}**. You got it correct in **{{time}}**.', - loseMessage: 'Better luck next time! It was a **{{answer}}**.', - othersMessage: 'Only <@{{author}}> can use the buttons!', - buttons: { true: 'Truth', lie: 'Lie' } - }); - } -} \ No newline at end of file diff --git a/Commands/Games/neverhaveiever.js b/Commands/Games/neverhaveiever.js deleted file mode 100644 index 2eefbe42..00000000 --- a/Commands/Games/neverhaveiever.js +++ /dev/null @@ -1,20 +0,0 @@ -const { NeverHaveIEver } = require("weky"); - -module.exports = { - name: "neverhaveiever", - description: "Never have I ever", - run: async(client, message, args) => { - await NeverHaveIEver({ - message: message, - embed: { - title: 'Never Have I Ever | Weky Development', - color: '#5865F2', - footer: 'Reaper Games', - timestamp: true - }, - thinkMessage: 'I am thinking', - othersMessage: 'Only <@{{author}}> can use the buttons!', - buttons: { optionA: 'Yes', optionB: 'No' } - }); - } -} \ No newline at end of file diff --git a/Commands/Games/quickclick.js b/Commands/Games/quickclick.js deleted file mode 100644 index 1937aae4..00000000 --- a/Commands/Games/quickclick.js +++ /dev/null @@ -1,26 +0,0 @@ -const { QuickClick } = require("weky"); - -module.exports = { - name: "quickclick", - description: "Quickly click a button", - run: async(client, message, args) => { - await QuickClick({ - message: message, - embed: { - title: 'Quick Click | Weky Development', - color: '#5865F2', - footer: 'Reaper Games', - timestamp: true - }, - time: 60000, - waitMessage: 'The buttons may appear anytime now!', - startMessage: - 'First person to press the correct button will win. You have **{{time}}**!', - winMessage: 'GG, <@{{winner}}> pressed the button in **{{time}} seconds**.', - loseMessage: 'No one pressed the button in time. So, I dropped the game!', - emoji: '👆', - ongoingMessage: - "A game is already runnning in <#{{channel}}>. You can't start a new one!" - }); - } -} \ No newline at end of file diff --git a/Commands/Games/rps.js b/Commands/Games/rps.js deleted file mode 100644 index 1201ce08..00000000 --- a/Commands/Games/rps.js +++ /dev/null @@ -1,10 +0,0 @@ -const Discord = module.require("discord.js"); -const simplydjs = require("simply-djs"); - -module.exports = { - name: "rps", - description: "Rock paper scissors in discord!", - run: async (client, message, args) => { - simplydjs.rps(message) - }, -}; diff --git a/Commands/Games/shuffleguess.js b/Commands/Games/shuffleguess.js deleted file mode 100644 index a1bae8c7..00000000 --- a/Commands/Games/shuffleguess.js +++ /dev/null @@ -1,27 +0,0 @@ -const { ShuffleGuess } = require("weky"); - -module.exports = { - name: "shuffleguess", - description: "Shuffle a word and guess it.", - run: async(client, message, args)=>{ - await ShuffleGuess({ - message: message, - embed: { - title: 'Shuffle Guess | Weky Development', - color: '#5865F2', - footer: 'Reaper Games', - timestamp: true - }, - word: ['voice'], - button: { cancel: 'Cancel', reshuffle: 'Reshuffle' }, - startMessage: - 'I shuffled a word it is **`{{word}}`**. You have **{{time}}** to find the correct word!', - winMessage: - 'GG, It was **{{word}}**! You gave the correct answer in **{{time}}.**', - loseMessage: 'Better luck next time! The correct answer was **{{answer}}**.', - incorrectMessage: "No {{author}}! The word isn't `{{answer}}`", - othersMessage: 'Only <@{{author}}> can use the buttons!', - time: 60000 - }); - } -} \ No newline at end of file diff --git a/Commands/Games/snake.js b/Commands/Games/snake.js deleted file mode 100644 index 974da020..00000000 --- a/Commands/Games/snake.js +++ /dev/null @@ -1,27 +0,0 @@ -const Discord = module.require("discord.js"); -const { Snake } = require("discord-gamecord") - -module.exports = { - name: "snake", - description: "snake in discord!", - run: async (client, message, args) => { - new Snake({ - message: message, - embed: { - title: 'Snake Game', - color: '#5865F2', - OverTitle: "Game Over", - }, - snake: { head: '🟢', body: '🟩', tail: '🟢' }, - emojis: { - board: '⬛', - food: '🍎', - up: '⬆️', - right: '➡️', - down: '⬇️', - left: '⬅️', - }, - othersMessage: 'You are not allowed to use buttons for this message!', - }).startGame(); - }, -}; diff --git a/Commands/Games/trivia.js b/Commands/Games/trivia.js deleted file mode 100644 index 5b163bc3..00000000 --- a/Commands/Games/trivia.js +++ /dev/null @@ -1,31 +0,0 @@ -const { Trivia } = require("weky"); - -module.exports = { - name: "trivia", - description: "Play a game of trivia!", - run: async(client, message, args)=> { - await Trivia({ - message: message, - embed: { - title: 'Trivia | Weky Development', - description: 'You only have **{{time}}** to guess the answer!', - color: '#5865F2', - footer: 'Reaper Games', - timestamp: true - }, - difficulty: 'hard', - thinkMessage: 'I am thinking', - winMessage: - 'GG, It was **{{answer}}**. You gave the correct answer in **{{time}}**.', - loseMessage: 'Better luck next time! The correct answer was **{{answer}}**.', - emojis: { - one: '1️⃣', - two: '2️⃣', - three: '3️⃣', - four: '4️⃣', - }, - othersMessage: 'Only <@{{author}}> can use the buttons!', - returnWinner: false - }); - } -} \ No newline at end of file diff --git a/Commands/Games/ttt.js b/Commands/Games/ttt.js deleted file mode 100644 index e7b5c329..00000000 --- a/Commands/Games/ttt.js +++ /dev/null @@ -1,10 +0,0 @@ -const Discord = module.require("discord.js"); -const simplydjs = require("simply-djs") - -module.exports = { - name: "ttt", - description: "Tic Tac Toe in discord!", - run: async (client, message, args) => { - simplydjs.tictactoe(message) - }, -}; diff --git a/Commands/Image/afraid.js b/Commands/Image/afraid.js index 6f1aa873..1e6c8a1e 100644 --- a/Commands/Image/afraid.js +++ b/Commands/Image/afraid.js @@ -2,7 +2,7 @@ const Discord = require("discord.js"); module.exports = { name: "afraid", - permissions: ["SEND_MESSAGES"], + permissions: ["SendMessages"], cooldown: 3, description: "Image Manipulation Command", run: async (client, message, args) => { diff --git a/Commands/Image/alert.js b/Commands/Image/alert.js index 497f68cd..416fc939 100644 --- a/Commands/Image/alert.js +++ b/Commands/Image/alert.js @@ -2,7 +2,7 @@ const Discord = require('discord.js'); module.exports = { name: 'alert', - permissions: ["SEND_MESSAGES"], + permissions: ["SendMessages"], cooldown: 3, enabled: false, description: 'Get a custom clyde message!', diff --git a/Commands/Image/amazeme.js b/Commands/Image/amazeme.js index 74b64a58..bf46676f 100644 --- a/Commands/Image/amazeme.js +++ b/Commands/Image/amazeme.js @@ -7,7 +7,7 @@ module.exports = { category: "Fun", usage: "amazeme", description: "Returns random amazing fact/image.", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { // AGAIN, MAKE SURE TO INSTALL 'GOT' PACKAGE! diff --git a/Commands/Image/biden.js b/Commands/Image/biden.js index aad77d1e..a2f4ecf9 100644 --- a/Commands/Image/biden.js +++ b/Commands/Image/biden.js @@ -2,7 +2,7 @@ const Discord = require('discord.js'); module.exports = { name: 'biden', - permissions: ["SEND_MESSAGES"], + permissions: ["SendMessages"], cooldown: 3, description: 'Get a custom clyde message!', async execute(client, message, cmd, args, Discord) { diff --git a/Commands/Image/changemymind.js b/Commands/Image/changemymind.js index f5283488..50c220a3 100644 --- a/Commands/Image/changemymind.js +++ b/Commands/Image/changemymind.js @@ -5,7 +5,7 @@ const Discord = module.require("discord.js"); module.exports = { name: "changemymind", description: "Image Manipulation Command", - botPerms: ["ATTTACH_FILES"], + botPerms: ["AttachFiles"], run: async (client, message, args) => { const text = args.join("+"); if (!text) { diff --git a/Commands/Image/clyde.js b/Commands/Image/clyde.js index 195329ff..e1d4f81a 100644 --- a/Commands/Image/clyde.js +++ b/Commands/Image/clyde.js @@ -3,7 +3,7 @@ const { EmbedBuilder } = require('discord.js'); module.exports = { name: 'clyde', description: 'Get a custom clyde message!', - botPerms: ["ATTACH_FILES"], + botPerms: ["AttachFiles"], run: async(client, message, args) => { if (!args[0]) { return message.channel.send(`Usage: ${client.prefix}clyde `) diff --git a/Commands/Image/creatememe.js b/Commands/Image/creatememe.js index e20e57f9..9127a23f 100644 --- a/Commands/Image/creatememe.js +++ b/Commands/Image/creatememe.js @@ -3,7 +3,7 @@ const Discord = module.require("discord.js"); module.exports = { name: "creatememe", description: "Create Custom Memes", - botPerms: ["ATTTACH_FILES", "MANAGE_MESSAGES"], + botPerms: ["AttachFiles", "ManageMessages"], run: async (client, message, args) => { message.delete(); const memetemplate = args[0]; diff --git a/Commands/Image/cryingfloor.js b/Commands/Image/cryingfloor.js index 21edd84a..df6fae26 100644 --- a/Commands/Image/cryingfloor.js +++ b/Commands/Image/cryingfloor.js @@ -2,7 +2,7 @@ const Discord = require("discord.js"); module.exports = { name: "cryingfloor", - permissions: ["SEND_MESSAGES"], + permissions: ["SendMessages"], cooldown: 3, description: "Image Manipulation Command", run: async (client, message, args) => { diff --git a/Commands/Image/disastergirl.js b/Commands/Image/disastergirl.js index 8a0c69b2..5416ab15 100644 --- a/Commands/Image/disastergirl.js +++ b/Commands/Image/disastergirl.js @@ -2,7 +2,7 @@ const Discord = require("discord.js"); module.exports = { name: "disastergirl", - permissions: ["SEND_MESSAGES"], + permissions: ["SendMessages"], cooldown: 3, description: "Image Manipulation Command", run: async (client, message, args) => { diff --git a/Commands/Image/dockofshame.js b/Commands/Image/dockofshame.js index c8b8096a..be42575e 100644 --- a/Commands/Image/dockofshame.js +++ b/Commands/Image/dockofshame.js @@ -2,7 +2,7 @@ const Discord = require("discord.js"); module.exports = { name: "dockofshame", - permissions: ["SEND_MESSAGES"], + permissions: ["SendMessages"], aliases: ['dcofsh', 'dos'], cooldown: 3, description: "Image Manipulation Command", diff --git a/Commands/Image/doge.js b/Commands/Image/doge.js index 755078fd..9bc6d7ed 100644 --- a/Commands/Image/doge.js +++ b/Commands/Image/doge.js @@ -2,7 +2,7 @@ const Discord = require("discord.js"); module.exports = { name: "doge", - permissions: ["SEND_MESSAGES"], + permissions: ["SendMessages"], cooldown: 3, description: "Image Manipulation Command", run: async (client, message, args) => { diff --git a/Commands/Image/drake.js b/Commands/Image/drake.js index 0d5f8291..38b72f14 100644 --- a/Commands/Image/drake.js +++ b/Commands/Image/drake.js @@ -2,7 +2,7 @@ const Discord = require("discord.js"); module.exports = { name: "drake", - permissions: ["SEND_MESSAGES"], + permissions: ["SendMessages"], cooldown: 3, description: "Image Manipulation Command", run: async(client, message, args) => { diff --git a/Commands/Image/facepalm.js b/Commands/Image/facepalm.js index 12fdfa84..b2a121f4 100644 --- a/Commands/Image/facepalm.js +++ b/Commands/Image/facepalm.js @@ -2,7 +2,7 @@ const Discord = require("discord.js"); module.exports = { name: "facepalm", - permissions: ["SEND_MESSAGES"], + permissions: ["SendMessages"], cooldown: 3, description: "Image Manipulation Command", run: async (client, message, args) => { diff --git a/Commands/Image/feelsgood.js b/Commands/Image/feelsgood.js index df788f00..70105180 100644 --- a/Commands/Image/feelsgood.js +++ b/Commands/Image/feelsgood.js @@ -2,7 +2,7 @@ const Discord = require("discord.js"); module.exports = { name: "feelsgood", - permissions: ["SEND_MESSAGES"], + permissions: ["SendMessages"], cooldown: 3, description: "Image Manipulation Command", run: async (client, message, args) => { diff --git a/Commands/Image/illegal.js b/Commands/Image/illegal.js index b1301e40..da6f949d 100644 --- a/Commands/Image/illegal.js +++ b/Commands/Image/illegal.js @@ -5,7 +5,7 @@ const cooldown = new Set(); module.exports = { name: "illegal", description: "Provide a text to Trump for making it illegal", - botPerms: ["EMBED_LINKS", "MANAGE_MESSAGES"], + botPerms: ["EmbedLinks", "ManageMessages"], run: async (client, message, args) => { if (cooldown.has(message.author.id)) { let cooldownemb = new Discord.EmbedBuilder() diff --git a/Commands/Image/keanu.js b/Commands/Image/keanu.js index 99df0a8c..d45acc1e 100644 --- a/Commands/Image/keanu.js +++ b/Commands/Image/keanu.js @@ -2,7 +2,7 @@ const Discord = require("discord.js"); module.exports = { name: "keanu", - permissions: ["SEND_MESSAGES"], + permissions: ["SendMessages"], cooldown: 3, description: "Image Manipulation Command", run: async (client, message, args) => { diff --git a/Commands/Image/memetemplates.js b/Commands/Image/memetemplates.js index ff16da5a..552b9815 100644 --- a/Commands/Image/memetemplates.js +++ b/Commands/Image/memetemplates.js @@ -3,7 +3,7 @@ const Discord = module.require("discord.js"); module.exports = { name: "memetemplates", description: "Get all the available meme templates", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { const embed = new Discord.EmbedBuilder() .setTitle("Available Meme Templates") diff --git a/Commands/Image/trigger.js b/Commands/Image/trigger.js index 25890374..b16f0a08 100644 --- a/Commands/Image/trigger.js +++ b/Commands/Image/trigger.js @@ -3,7 +3,7 @@ const Discord = module.require("discord.js"); module.exports = { name: "trigger", description: "Put the Triggered Overlay pic over avatars!", - botPerms: ["ATTTACH_FILES"], + botPerms: ["AttachFiles"], run: async (client, message, args) => { const user = message.mentions.members.first(); if (!user) { diff --git a/Commands/Image/trumptweet.js b/Commands/Image/trumptweet.js index 66e134c8..a10577ec 100644 --- a/Commands/Image/trumptweet.js +++ b/Commands/Image/trumptweet.js @@ -7,7 +7,7 @@ module.exports = { usage: "trumptweet ", description: "Display's a custom tweet from Donald Trump with the message provided.", - botPerms: ["ATTTACH_FILES"], + botPerms: ["AttachFiles"], run: async (client, message, args) => { const tweet = args.join(" "); if (!tweet) { diff --git a/Commands/Image/wasted.js b/Commands/Image/wasted.js index 3ccb8c88..c9af69db 100644 --- a/Commands/Image/wasted.js +++ b/Commands/Image/wasted.js @@ -3,7 +3,7 @@ const Discord = module.require("discord.js"); module.exports = { name: "wasted", description: "Put the GTA Wasted pic over avatars!", - botPerms: ["ATTTACH_FILES"], + botPerms: ["AttachFiles"], run: async (client, message, args) => { const user = message.mentions.members.first(); if (!user) { diff --git a/Commands/Image/wideavatar.js b/Commands/Image/wideavatar.js index 1839eec6..fa2a9057 100644 --- a/Commands/Image/wideavatar.js +++ b/Commands/Image/wideavatar.js @@ -3,7 +3,7 @@ const Discord = module.require("discord.js"); module.exports = { name: "wideavatar", description: "Get a widened avatar of a user", - botPerms: ["ATTTACH_FILES"], + botPerms: ["AttachFiles"], run: async (client, message, args) => { const mention = message.mentions.members.first() || message.member; const avatar = mention.user.displayAvatarURL({ diff --git a/Commands/Info/botinfo.js b/Commands/Info/botinfo.js index 0bc17d52..874d0810 100644 --- a/Commands/Info/botinfo.js +++ b/Commands/Info/botinfo.js @@ -13,7 +13,7 @@ require("moment-duration-format"); module.exports = { name: "botinfo", description: "Shows the bot info", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { const duration = moment .duration(client.uptime) @@ -21,7 +21,7 @@ module.exports = { let embed = new Discord.EmbedBuilder() .setAuthor("REAPER-,2.0's Info", client.user.avatarURL()) - .setColor("RANDOM") + .setColor("Random") .setDescription( `**Bot Name: **Reaper \n**Owner: **[YOUR_NAME_HERE] \n**Total Categories: **8 \n**Total Commands: **${client.commands.size} \n**Users:** ${ client.users.cache.size @@ -29,14 +29,14 @@ module.exports = { client.channels.cache.size }` ) - .addField( - "About Reaper-2.0", - "Reaper-2.0 is an open-source multi-purpose discord bot with features like moderation, music, logging, welcomer and so much more!\nYou can find the link to the [GitHub Repo Here](https://github.com/Simpleboy353/REAPER-2.0)" - ) - .addField( - "Some Useful Links", - "**Get your own bot!** **[Here](https://github.com/Simpleboy353/REAPER-2.0)** \n**Need Help? Join our ** **[Support/Development Server](https://infinitybot.tk/support)** **for assistance**" - ) + .addFields([ + { name: "About Reaper-2.0", + value: "Reaper-2.0 is an open-source multi-purpose discord bot with features like moderation, music, logging, welcomer and so much more!\nYou can find the link to the [GitHub Repo Here](https://github.com/Simpleboy353/REAPER-2.0)" + }, + { name: "Some Useful Links", + value: "**Get your own bot!** **[Here](https://github.com/Simpleboy353/REAPER-2.0)** \n**Need Help? Join our ** **[Support/Development Server](https://infinitybot.tk/support)** **for assistance**" + } + ]) .setFooter("Regards, Reaper-2.0 Development Team"); message.channel.send({ embeds: [embed] }); }, diff --git a/Commands/Info/help.js b/Commands/Info/help.js index 41a91364..73035df4 100644 --- a/Commands/Info/help.js +++ b/Commands/Info/help.js @@ -3,8 +3,11 @@ const { EmbedBuilder, ActionRowBuilder, SelectMenuBuilder} = require("discord.js module.exports = { name: "help", description: "Get the Command List", + enabled: true, + ownerOnly: false, + nsfwOnly: false, aliases: ["commands", "cmd", "h"], - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { if (args[0]) { let command = args[0]; @@ -34,7 +37,7 @@ module.exports = { { name: "Required Bot Permissions", value: `${botPerms}`}, { name: "Required User Permissions", value: `${userPerms}`} ]) - .setColor("GREEN") + .setColor("Green") return message.channel.send({ embeds: [helpEmbed] }) } @@ -115,7 +118,7 @@ module.exports = { let editEmbed = new EmbedBuilder() .setTitle('Help Menu') .setDescription('Choose an option from the menu below!') - .setColor("GREEN") + .setColor("Green") message.channel.send({ embeds: [editEmbed], components: [helpMenu]}).then(msg=>{ setTimeout(async function () { diff --git a/Commands/Info/invite.js b/Commands/Info/invite.js index fe4b37ae..a46da4ce 100644 --- a/Commands/Info/invite.js +++ b/Commands/Info/invite.js @@ -3,11 +3,11 @@ const Discord = require("discord.js"); module.exports = { name: "invite", description: "Get the bot's", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { let embed = new Discord.EmbedBuilder() .setTitle("Invite Me") - .setColor("RANDOM") + .setColor("Random") .setDescription( "**Get Infinity's Invite Link [Here](https://discord.com/oauth2/authorize?client_id=733670294086221865&permissions=1584921983&scope=bot)**\n**Need assistance? Join our [Support Server](https://discord.gg/mqWprFc) now!**" ) diff --git a/Commands/Info/ping.js b/Commands/Info/ping.js index 8d3f8e4f..fbf59bc1 100644 --- a/Commands/Info/ping.js +++ b/Commands/Info/ping.js @@ -24,7 +24,7 @@ module.exports = { .setAuthor("Ping!", message.author.avatarURL()) .addField("API Latency", Math.round(client.ws.ping) + "ms", true) .addField("Message Latency", end - start + "ms", true) - .setColor("RANDOM"); + .setColor("Random"); m.edit({ embeds: [embed] }).catch(e => message.channel.send(e)) }) diff --git a/Commands/Info/policy.js b/Commands/Info/policy.js index 08dbaaf6..4e60a8f9 100644 --- a/Commands/Info/policy.js +++ b/Commands/Info/policy.js @@ -3,46 +3,48 @@ const Discord = module.require("discord.js") module.exports = { name: "policy", description: "Shows the privacy policy for our bot", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { const icon = client.user.avatarURL; const embed = new Discord.EmbedBuilder() .setTitle("INFINITY BOT PRIVACY POLICY") .setThumbnail(icon) .setDescription("By using the bot you agree to our privacy policy") - .addField( - "**WHAT DATA DO WE STORE?**", - ` + .addFields([ + { + name: "**WHAT DATA DO WE STORE?**", + value: ` We do not collect any personal information relating your account like Passwords or any other Credentials. The data we collect includes the User IDs, Server IDs, Channel IDs and Some Role IDs. The bot never requests for any personal data of the users and any act that breaks the Tos of Discord is discouraged by us!` - ) - .addField( - "**WHY WE NEED THIS DATA?**", - ` + }, + { + name: "**WHY WE NEED THIS DATA?**", + value: ` The data is required for the proper functioning of the bot features like Warning System, Logging and Autoroles. Without this data, our bot will not be able to perform these activities and thus making the features inaccessible for users` - ) - .addField( - "**HOW DO WE USE THIS DATA?**", - ` + }, + { + name: "**HOW DO WE USE THIS DATA?**", + value: ` The data is used for the proper functioning for theWarning System, Logging activities and Autorole features of our Bot. User IDs are used to identify the users, Channel IDs are used to send the messages to the desginated channels and Server IDs to identify the Servers and the Role IDs are used for the Autorole feature` - ) - .addField( - `**HOW LONG DO WE STORE YOUR DATA?**`, - ` + }, + { + name: `**HOW LONG DO WE STORE YOUR DATA?**`, + value: ` The data is stored as long as the bot is in your Server and as soon as the bot is kicked or removed from the Server, the data is deleted and is no longer to accessable to anyone` - ) - .addField( - "**WHO DO WE SHARE THE DATA WITH**?", - ` + }, + { + name: "**WHO DO WE SHARE THE DATA WITH**?", + value: ` We never share your data with anyone except for [MongoDB Inc](https://mongodb.com) whom is a DataBase Company and all the data for our Bot is stored on the MongoDB Servers and According to MongoDB Inc. the data is only accessable by us.` - ) - .addField( - "**GOT CONCERNS OR QUERIES?**", - ` + }, + { + name: "**GOT CONCERNS OR QUERIES?**", + value: ` If you have any concerns or queries relating our privacy policy or our bot or if you want your data to be removed, You can contact [๖ۣۜℜⱥjͥƤuͣtͫ#0001](https://discord.com/users/661501985517862972) directy on our [Support Server](https://discord.gg/mqWprFc)!` - ) + } + ]) .setThumbnail(client.user.avatarURL()) .setFooter(`Requested by: ${message.author.username}`) - .setColor("GREEN"); + .setColor("Green"); return message.channel.send({embeds: [embed]}); }, diff --git a/Commands/Info/report.js b/Commands/Info/report.js index 2b98ca35..5a91af62 100644 --- a/Commands/Info/report.js +++ b/Commands/Info/report.js @@ -3,7 +3,7 @@ const Discord = module.require("discord.js"); module.exports = { name: "report", description: "Report a bug", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { const reportchannel = client.channels.cache.get("747699213814464522"); const report = args.join(" "); @@ -19,7 +19,7 @@ module.exports = { .setTitle("New Bug Report") .setDescription(`${report} \n\nBy: ${message.author.tag}`) .setFooter(`User ID: ${message.author.id}`) - .setColor("RANDOM"); + .setColor("Random"); reportchannel.send({embeds: [embed]}); }, diff --git a/Commands/Info/stats.js b/Commands/Info/stats.js index f5266470..9f4a8dd4 100644 --- a/Commands/Info/stats.js +++ b/Commands/Info/stats.js @@ -10,7 +10,7 @@ const readdir = promisify(require("fs").readdir); module.exports = { name: "stats", descriptiom: "Get Inifnity's Stats", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args, level) => { // eslint-disable-line no-unused-vars try { @@ -29,46 +29,44 @@ module.exports = { .setDescription("Infinity Bot's Stats:") .setTimestamp() .setThumbnail(bicon) - .setColor("RANDOM") + .setColor("Random") .setFooter( `Requested by ${message.author.username}#${message.author.discriminator}`, message.author.displayAvatarURL ) - .addField( - ":floppy_disk: Memory usage", - `${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)} / ${( + .addFields([ + { + name: ":floppy_disk: Memory usage", + value: `${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)} / ${( os.totalmem() / 1024 / 1024 - ).toFixed(2)} MB`, - true - ) - .addField(":minidisc: CPU usage", `\`${percent.toFixed(2)}%\``, true) - .addField( - "CPU", - `\`\`\`md\n${os.cpus().map((i) => `${i.model}`)[0]}\`\`\``, - true - ) - .addField(":computer: System", `\`${os.arch()}\``, true) - .addField(":desktop: Platform", `\`\`${os.platform()}\`\``, true) - .addField("👥 Users", `${client.users.cache.size}`, true) - .addField("Servers", `${client.guilds.cache.size}`, true) - .addField("Channels", `${client.channels.cache.size}`, true) - .addField("Commands Count", "``143``", true) - .addField("Library", `\`Discord.js\``, true) - .addField("Library Version", `v${version}`, true) - .addField(":book: Node Version", `${process.version}`, true) - .addField( - ":stopwatch: Uptime & Ping", - `${duration} / ${Math.round(client.ws.ping)}ms`, - true - ) + ).toFixed(2)} MB` + }, + { name: ":minidisc: CPU usage", value: `\`${percent.toFixed(2)}%\`` }, + { + name: "CPU", + value: `\`\`\`md\n${os.cpus().map((i) => `${i.model}`)[0]}\`\`\``, + }, + { name: ":computer: System", value: `\`${os.arch()}\`` }, + { name: ":desktop: Platform", value: `\`\`${os.platform()}\`\`` }, + { name: "👥 Users", value: `${client.users.cache.size}` }, + { name: "Servers", value:`${client.guilds.cache.size}` }, + { name: "Channels", value: `${client.channels.cache.size}` }, + { name: "Commands Count", value: `${client.commands.size}` }, + { name: "Library", value: `\`Discord.js\`` }, + { name: "Library Version", value: `v${version}` }, + { name: ":book: Node Version", value: `${process.version}` }, + { + name: ":stopwatch: Uptime & Ping", + value: `${duration} / ${Math.round(client.ws.ping)}ms` + }, //.addField(":stopwatch: Server uptime", `${prettyMs(oss.sysUptime())}`, true) - .addField( - ":calendar_spiral: Created On", - client.user.createdAt, - true - ); + { + name: ":calendar_spiral: Created On", + value: client.user.createdAt, + } + ]); message.channel.send({ embeds: [RynEmb] }); }); } catch (err) { diff --git a/Commands/Info/suggest.js b/Commands/Info/suggest.js index 57d158dc..d7c76ab0 100644 --- a/Commands/Info/suggest.js +++ b/Commands/Info/suggest.js @@ -3,7 +3,7 @@ const Discord = module.require("discord.js"); module.exports = { name: "suggest", description: "Suggest Features for Infinity", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { const avatar = message.author.avatarURL; const suggestchannel = client.channels.cache.get("747756561790664764"); @@ -18,7 +18,7 @@ module.exports = { .setAuthor(`New Suggestion!`, avatar) .setDescription(`${suggestion} \n\nBy: ${message.author.tag}`) .setFooter(`ID: ${message.author.id}`) - .setColor("RANDOM"); + .setColor("Random"); suggestchannel.send({ embeds: [embed] }); }, diff --git a/Commands/Info/userid.js b/Commands/Info/userid.js index 82182281..bb7a3393 100644 --- a/Commands/Info/userid.js +++ b/Commands/Info/userid.js @@ -2,14 +2,14 @@ const Discord = module.require("discord.js"); module.exports = { name: "userid", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { var mention = message.guild.member(message.mentions.users.first()); if (!mention) return message.channel.send("Mention a user to get their ID"); const lolicon = mention.user.avatarURL; const lolid = new Discord.EmbedBuilder() .setThumbnail(mention.user.avatarURL) - .setColor("RANDOM") + .setColor("Random") .setTitle("Here is " + `${mention.user.username}\'s ID`) .setDescription(`${mention.id}`) .setThumbnail(lolicon); diff --git a/Commands/Mod/ban.js b/Commands/Mod/ban.js index fb858ba5..16e4191b 100644 --- a/Commands/Mod/ban.js +++ b/Commands/Mod/ban.js @@ -5,8 +5,8 @@ module.exports = { category: "moderation", description: "Ban anyone with one shot whithout knowing anyone xD", usage: "ban <@user> ", - userPerms: ["BAN_MEMBERS"], - botPerms: ["EMBED_LINKS", "BAN_MEMBERS"], + userPerms: ["BanMembers"], + botPerms: ["EmbedLinks", "BanMembers"], run: async (client, message, args) => { let reason = args.slice(1).join(" "); if (!reason) reason = "Unspecified"; diff --git a/Commands/Mod/dm.js b/Commands/Mod/dm.js index 44689893..98e7e5e8 100644 --- a/Commands/Mod/dm.js +++ b/Commands/Mod/dm.js @@ -4,7 +4,7 @@ const { EmbedBuilder } = require("discord.js"); module.exports = { name: "dm", description: "Sends DM message to any user.", - userPerms: ["MANAGE_GUILD"], + userPerms: ["ManageMembers"], usage: "dm <@mention> ", aliases: ["dme" , "msgme"], //botPerms: ["ADMINISTRATOR"],// diff --git a/Commands/Mod/kick.js b/Commands/Mod/kick.js index be251475..18c96d50 100644 --- a/Commands/Mod/kick.js +++ b/Commands/Mod/kick.js @@ -6,8 +6,8 @@ module.exports = { category: "moderation", description: "Kick anyone with one shot xD", usage: "kick <@user> ", - userPerms: ["KICK_MEMBERS"], - botPerms: ["EMBED_LINKS", "KICK_MEMBERS"], + userPerms: ["KickMembers"], + botPerms: ["EmbedLinks", "KickMembers"], run: async (client, message, args) => { @@ -32,7 +32,7 @@ module.exports = { const embed = new EmbedBuilder() .setTitle("KICK MEMBER") - .setColor("RANDOM") + .setColor("Random") .setThumbnail(target.user.displayAvatarURL) .setDescription( `Action : Kick \nReason: ${reason} \nUser: ${target} \nModerator: ${message.member}` diff --git a/Commands/Mod/mute.js b/Commands/Mod/mute.js index fe437903..ef072833 100644 --- a/Commands/Mod/mute.js +++ b/Commands/Mod/mute.js @@ -42,7 +42,7 @@ module.exports = { message.channel.send( new EmbedBuilder() .setDescription('Muted role has sucessfully been created') - .setColor("GREEN") + .setColor("Green") ) } catch (error) { console.log(error) diff --git a/Commands/Mod/softban.js b/Commands/Mod/softban.js index 448930b5..4b31b890 100644 --- a/Commands/Mod/softban.js +++ b/Commands/Mod/softban.js @@ -3,8 +3,8 @@ const Discord = module.require("discord.js"); module.exports = { name: "softban", description: "Soft Ban a User", - userPerms: ["BAN_MEMBERS"], - botPerms: ["EMBED_LINKS", "BAN_MEMBERS", "MANAGE_MESSAGES"], + userPerms: ["BanMembers"], + botPerms: ["EmbedLinks", "BanMembers", "ManageMessages"], run: async (client, message, args) => { message.delete(); @@ -39,11 +39,13 @@ module.exports = { let embed = new Discord.EmbedBuilder() .setThumbnail(banMember.user.displayAvatarURL()) - .setColor("RANDOM") - .addField("Moderation:", "SOFT BAN") - .addField("Banned:", banMember.user.username) - .addField("Moderator:", message.author.username) - .addField("Reason:", reason) + .setColor("Random") + .addFields([ + { name: "Moderation:", value: "SOFT BAN" }, + { name: "Banned:", value: banMember.user.username }, + { name: "Moderator:", value: message.author.username }, + { name: "Reason:", value: reason } + ]) .setTimestamp(); message.channel.send({ embeds: [embed] }); diff --git a/Commands/Mod/tempmute.js b/Commands/Mod/tempmute.js index 4ab2e9b7..63711135 100644 --- a/Commands/Mod/tempmute.js +++ b/Commands/Mod/tempmute.js @@ -6,8 +6,8 @@ module.exports = { name: "tempmute", category: "info", description: "Returns latency and API ping", - userPerms: ["MANAGE_ROLES"], - botPerms: ["EMBED_LINKS", "MANAGE_ROLES"], + userPerms: ["ManageRoles"], + botPerms: ["EmbedLinks", "ManageRoles"], run: async (client, message, args) => { const user = message.mentions.members.first(); @@ -43,16 +43,20 @@ module.exports = { const mtembde = new EmbedBuilder() .setTitle("Action: Tempmute") .setColor("RANDOM") - .addField("User:", user) - .addField("Reason", reason) - .addField("Moderator:", message.member.displayName) - .addField("Time", time, true); + .addFields([ + { name: "User:", value: userm }, + { name: "Reason", value: reason }, + { name: "Moderator:", value: message.member.displayName }, + { name: "Time", value: time } + ]); const mtuembde = new EmbedBuilder() .setTitle("YOU HAVE BEEN MUTED!!") .setColor("RANDOM") - .addField("Reason", reason) - .addField("Moderator:", message.member.displayName) - .addField("Time", time, true); + .addFields([ + { name: "Reason", value: reason }, + { name: "Moderator:", value: message.member.displayName }, + { name: "Time", value: time }, + ]); user.send({ embeds: [mtuembde] }); message.channel.send({ embeds: [mtembde] }); user.roles.add(role); diff --git a/Commands/NSFW/4k.js b/Commands/NSFW/4k.js index 299b4652..c382da61 100644 --- a/Commands/NSFW/4k.js +++ b/Commands/NSFW/4k.js @@ -6,7 +6,7 @@ module.exports = { category: "NSFW", description: "Sends 4k girl pics", usage: "[command]", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { try { //command @@ -27,7 +27,7 @@ module.exports = { .setDescription(`**${title}**`) .setImage(amazeme) .setFooter(`Nice `) - .setColor("RANDOM"); + .setColor("Random"); message.channel.send({ embeds: [wow] }); }) .catch(console.error); diff --git a/Commands/NSFW/anal.js b/Commands/NSFW/anal.js index 45fc0e12..d96c2660 100644 --- a/Commands/NSFW/anal.js +++ b/Commands/NSFW/anal.js @@ -6,7 +6,7 @@ module.exports = { category: "NSFW", description: "Sends anal porn pics", usage: "[command]", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { try { //command @@ -18,7 +18,7 @@ module.exports = { setTimeout(() => msg.delete(), 3000); }); } - got("https://www.reddit.com/r/anal/random.json") + got("https://www.reddit.com/r/anal/Random.json") .then((response) => { let content = JSON.parse(response.body); var title = content[0].data.children[0].data.title; @@ -27,7 +27,7 @@ module.exports = { .setDescription(`**` + title + `**`) .setImage(amazeme) .setFooter(`Analator go brr brr...`) - .setColor("RANDOM"); + .setColor("Random"); message.channel.send({ embeds: [wow] }); }) .catch(console.error); diff --git a/Commands/NSFW/asian.js b/Commands/NSFW/asian.js index 72315647..d782017b 100644 --- a/Commands/NSFW/asian.js +++ b/Commands/NSFW/asian.js @@ -6,7 +6,7 @@ module.exports = { category: "NSFW", description: "asian porn", usage: "[command]", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { try { //command @@ -27,7 +27,7 @@ module.exports = { .setDescription(`**` + title + `**`) .setImage(amazeme) .setFooter(`Asian porn`) - .setColor("RANDOM"); + .setColor("Random"); message.channel.send({ embeds: [wow] }); }) .catch(console.error); diff --git a/Commands/NSFW/ass.js b/Commands/NSFW/ass.js index 1a228e55..b0584228 100644 --- a/Commands/NSFW/ass.js +++ b/Commands/NSFW/ass.js @@ -6,7 +6,7 @@ module.exports = { category: "NSFW", description: "Sends 4k girl pics", usage: "[command]", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { try { //command @@ -20,14 +20,15 @@ module.exports = { } got("https://www.reddit.com/r/Asshole/random.json") .then((response) => { - let content = JSON.parse(response.body); + let conte + nt = JSON.parse(response.body); var title = content[0].data.children[0].data.title; var amazeme = content[0].data.children[0].data.url; let wow = new discord.EmbedBuilder() .setDescription(`**${title}**`) .setImage(amazeme) .setFooter(`Nice `) - .setColor("RANDOM"); + .setColor("Random"); message.channel.send({ embeds: [wow] }); }) .catch(console.error); diff --git a/Commands/NSFW/blowjob.js b/Commands/NSFW/blowjob.js index c9e048a7..ec793e48 100644 --- a/Commands/NSFW/blowjob.js +++ b/Commands/NSFW/blowjob.js @@ -6,7 +6,7 @@ module.exports = { category: "NSFW", description: "Sends blowjob pics", usage: "[command]", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { try { //command @@ -27,7 +27,7 @@ module.exports = { .setDescription(`**` + title + `**`) .setImage(amazeme) .setFooter(`Blown Away!`) - .setColor("RANDOM"); + .setColor("Random"); message.channel.send({ embeds: [wow] }); }) .catch(console.error); diff --git a/Commands/NSFW/boobs.js b/Commands/NSFW/boobs.js index 32374aa2..eb2a6e80 100644 --- a/Commands/NSFW/boobs.js +++ b/Commands/NSFW/boobs.js @@ -4,7 +4,7 @@ const fetch = require('node-fetch'); module.exports = { name: "boobs", description: "Some Boob Pics for you!", - botPerms: ["ATTACH_FILES"], + botPerms: ["AttachFiles"], run: async (client, message, args) => { try { var errMessage = "This is not an NSFW Channel"; diff --git a/Commands/NSFW/cumsluts.js b/Commands/NSFW/cumsluts.js index 072617f0..2f6a0644 100644 --- a/Commands/NSFW/cumsluts.js +++ b/Commands/NSFW/cumsluts.js @@ -6,7 +6,7 @@ module.exports = { category: "NSFW", description: "Sends random cumsluts", usage: "[command]", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { try { //command @@ -27,7 +27,7 @@ module.exports = { .setDescription(`**` + title + `**`) .setImage(amazeme) .setFooter(`Slippery Slut`) - .setColor("RANDOM"); + .setColor("Random"); message.channel.send({ embeds: [wow] }); }) .catch(console.error); diff --git a/Commands/NSFW/danbooru.js b/Commands/NSFW/danbooru.js index bfc31dbf..4e3f2dcd 100644 --- a/Commands/NSFW/danbooru.js +++ b/Commands/NSFW/danbooru.js @@ -9,7 +9,7 @@ module.exports = { name: "danbooru", category: "NSFW", description: "Searches danbooru image board", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (bot, message, args, level) => { //command diff --git a/Commands/NSFW/erokemo.js b/Commands/NSFW/erokemo.js index 72484936..c9b20d91 100644 --- a/Commands/NSFW/erokemo.js +++ b/Commands/NSFW/erokemo.js @@ -19,7 +19,7 @@ module.exports = { const image = await nsfw.erokemo(); const embed = new Discord.EmbedBuilder() .setTitle(`Erokemo`) - .setColor("GREEN") + .setColor("Green") .setImage(image); message.channel.send({ embeds: [embed] }); }, diff --git a/Commands/NSFW/gonewild.js b/Commands/NSFW/gonewild.js index ce0e7279..1aae1f2e 100644 --- a/Commands/NSFW/gonewild.js +++ b/Commands/NSFW/gonewild.js @@ -19,7 +19,7 @@ module.exports = { const image = await nsfw.gonewild(); const embed = new Discord.EmbedBuilder() .setTitle(`Gonewild`) - .setColor("GREEN") + .setColor("Green") .setImage(image); message.channel.send({ embeds: [embed] }); }, diff --git a/Commands/NSFW/hentai.js b/Commands/NSFW/hentai.js index f02ae0a7..e754ddab 100644 --- a/Commands/NSFW/hentai.js +++ b/Commands/NSFW/hentai.js @@ -6,7 +6,7 @@ module.exports = { category: "NSFW", description: "Sends random hentai", usage: "[command]", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { //command try { @@ -27,7 +27,7 @@ module.exports = { .setDescription(`**` + title + `**`) .setImage(amazeme) .setFooter(`Credits to r/hentai`) - .setColor("RANDOM"); + .setColor("Random"); message.channel.send({ embeds: [wow] }); }) .catch(console.error); diff --git a/Commands/NSFW/hentaiass.js b/Commands/NSFW/hentaiass.js index 00d388e3..19ffcd90 100644 --- a/Commands/NSFW/hentaiass.js +++ b/Commands/NSFW/hentaiass.js @@ -19,7 +19,7 @@ module.exports = { const image = await nsfw.hentaiass(); const embed = new Discord.EmbedBuilder() .setTitle(`Hentai Ass`) - .setColor("GREEN") + .setColor("Green") .setImage(image); message.channel.send({ embeds: [embed] }); }, diff --git a/Commands/NSFW/hentaithigh.js b/Commands/NSFW/hentaithigh.js index bb45fd6e..e99986fe 100644 --- a/Commands/NSFW/hentaithigh.js +++ b/Commands/NSFW/hentaithigh.js @@ -19,7 +19,7 @@ module.exports = { const image = await nsfw.hentaithigh(); const embed = new Discord.EmbedBuilder() .setTitle(`Hentai thigh`) - .setColor("GREEN") + .setColor("Green") .setImage(image); message.channel.send({ embeds: [embed] }); }, diff --git a/Commands/NSFW/kitsune.js b/Commands/NSFW/kitsune.js index 17576cbd..2502f0d5 100644 --- a/Commands/NSFW/kitsune.js +++ b/Commands/NSFW/kitsune.js @@ -19,7 +19,7 @@ module.exports = { const image = await nsfw.kitsune(); const embed = new Discord.EmbedBuilder() .setTitle(`Kitsune`) - .setColor("GREEN") + .setColor("Green") .setImage(image); message.channel.send({ embeds: [embed] }); }, diff --git a/Commands/NSFW/lewd.js b/Commands/NSFW/lewd.js index fffb808c..08ff400a 100644 --- a/Commands/NSFW/lewd.js +++ b/Commands/NSFW/lewd.js @@ -19,7 +19,7 @@ module.exports = { const image = await nsfw.lewd(); const embed = new Discord.EmbedBuilder() .setTitle(`Lewd`) - .setColor("GREEN") + .setColor("Green") .setImage(image); message.channel.send({ embeds: [embed] }); }, diff --git a/Commands/NSFW/milf.js b/Commands/NSFW/milf.js index 9cabc82e..3fd9f0cf 100644 --- a/Commands/NSFW/milf.js +++ b/Commands/NSFW/milf.js @@ -6,7 +6,7 @@ module.exports = { category: "NSFW", description: "Sends milf pics", usage: "[command]", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { try { //command @@ -27,7 +27,7 @@ module.exports = { .setDescription(`**` + title + `**`) .setImage(amazeme) .setFooter(`Gimme Milf... oops I mean Milk`) - .setColor("RANDOM"); + .setColor("Random"); message.channel.send({ embeds: [wow] }); }) .catch(console.error); diff --git a/Commands/NSFW/porngif.js b/Commands/NSFW/porngif.js index cfb68fb5..279959df 100644 --- a/Commands/NSFW/porngif.js +++ b/Commands/NSFW/porngif.js @@ -19,7 +19,7 @@ module.exports = { const image = await nsfw.pgif(); const embed = new Discord.EmbedBuilder() .setTitle(`Porn Gif`) - .setColor("GREEN") + .setColor("Green") .setImage(image); message.channel.send({ embeds: [embed] }); }, diff --git a/Commands/NSFW/pussy.js b/Commands/NSFW/pussy.js index 2161c25f..4b4113eb 100644 --- a/Commands/NSFW/pussy.js +++ b/Commands/NSFW/pussy.js @@ -6,7 +6,7 @@ module.exports = { category: "NSFW", description: "Sends pussy pics", usage: "[command]", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { try { //command @@ -27,7 +27,7 @@ module.exports = { .setDescription(`**` + title + `**`) .setImage(amazeme) .setFooter(`Where is My Pussy Cat?`) - .setColor("RANDOM"); + .setColor("Random"); message.channel.send({ embeds: [wow] }); }) .catch(console.error); diff --git a/Commands/NSFW/thigh.js b/Commands/NSFW/thigh.js index 80a96425..b1d17e69 100644 --- a/Commands/NSFW/thigh.js +++ b/Commands/NSFW/thigh.js @@ -19,7 +19,7 @@ module.exports = { const image = await nsfw.thigh(); const embed = new Discord.EmbedBuilder() .setTitle(`Thigh`) - .setColor("GREEN") + .setColor("Green") .setImage(image); message.channel.send({ embeds: [embed] }); }, diff --git a/Commands/NSFW/urban.js b/Commands/NSFW/urban.js index ecff61d5..b4cd1ebb 100644 --- a/Commands/NSFW/urban.js +++ b/Commands/NSFW/urban.js @@ -4,7 +4,7 @@ const urban = require("urban"); module.exports = { name: "urban", description: "Find meanings from the urban dictionary", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { if (!message.channel.nsfw) { return message.channel.send( @@ -23,8 +23,10 @@ module.exports = { .setTitle(json.word) .setColor("3498db") .setDescription(json.definition || "No definition!") - .addField("Upvotes", json.thumbs_up, true) - .addField("Downvotes", json.thumbs_down, true) + .addFields([ + { name: "Upvotes", value: json.thumbs_up }, + { name: "Downvotes", value: json.thumbs_down }, + ]) .setFooter("Source: Urban Dictionary, Author: " + json.author); message.channel.send({ embeds: [embed] }); diff --git a/Commands/Owner/botservers.js b/Commands/Owner/botservers.js index beaf0058..330f1240 100644 --- a/Commands/Owner/botservers.js +++ b/Commands/Owner/botservers.js @@ -6,7 +6,7 @@ require("dotenv"); module.exports = { name: "botservers", description: "Check what Servers the bot is in!", - botPerms: ["USE_EXTERNAL_EMOJIS"], + botPerms: ["UseExternalEmojis"], run: async (client, message, args) => { try { if (message.author.id != OWNER_ID) diff --git a/Commands/Owner/eval.js b/Commands/Owner/eval.js index d84cf48c..c6ede479 100644 --- a/Commands/Owner/eval.js +++ b/Commands/Owner/eval.js @@ -5,7 +5,7 @@ const OWNER_ID = require("../../config.json").OWNER_ID; module.exports = { name: "eval", description: "Run a whole fuckin' code with this!", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { //Eval Command(Not to be made public btw!) if (message.author.id != OWNER_ID) { @@ -24,7 +24,7 @@ module.exports = { .setAuthor("Eval", message.author.avatarURL()) .addField("Input", `\`\`\`${code}\`\`\``) .addField("Output", `\`\`\`${evaled}\`\`\``) - .setColor("GREEN"); + .setColor("Green"); message.channel.send({ embeds: [embed] }); } catch (err) { diff --git a/Commands/Utility/animesearch.js b/Commands/Utility/animesearch.js index 093914e3..34ef24cc 100644 --- a/Commands/Utility/animesearch.js +++ b/Commands/Utility/animesearch.js @@ -17,15 +17,17 @@ run: async (client, message, args) => { .setAuthor(`My Anime List search result for ${args}`.split(',').join(' ')) .setThumbnail(data.picture) .setColor('#ffc1cc') //I personally use bubblegum pink! - .addField('English Title', data.englishTitle, true) - .addField('Japanese Title', data.japaneseTitle, true) - .addField('Type', data.type, true) - .addField('Episodes', data.episodes, true) - .addField('Rating', data.rating, true) - .addField('Aired', data.aired, true) - .addField('Score', data.score, true) - .addField('Score Stats', data.scoreStats, true) - .addField('Link', data.url); + .addFields([ + { name: 'English Title', value: data.englishTitle }, + { name: 'Japanese Title', value: data.japaneseTitle }, + { name:'Type', value: data.type }, + { name: 'Episodes', value: data.episodes }, + { name: 'Rating', value: data.rating }, + { name: 'Aired', value: data.aired }, + { name: 'Score', value: data.score }, + { name: 'Score Stats', value: data.scoreStats }, + { name: 'Link', value: data.url } + ]); message.channel.send({ embeds: [malEmbed] }); diff --git a/Commands/Utility/announce.js b/Commands/Utility/announce.js index 4f86e185..86118cbc 100644 --- a/Commands/Utility/announce.js +++ b/Commands/Utility/announce.js @@ -3,8 +3,8 @@ const Discord = require("discord.js"); module.exports = { name: "announce", description: "Make an Announcemnet in your Server", - userPerms: ["MANAGE_MESSAGES"], - botPerms: ["EMBED_LINKS", "MANAGE_MESSAGES"], + userPerms: ["ManageMessages"], + botPerms: ["EmbedLinks", "ManageMessages"], run: async (client, message, args) => { const anchannel = message.mentions.channels.first(); if (!anchannel) { @@ -21,14 +21,14 @@ module.exports = { .setDescription(args.slice(1).join(" "), { allowedMentions: { parse: ["users"] }, }) - .setColor("RANDOM") + .setColor("Random") .setFooter(`Announcement by ${message.author.username}`); anchannel.send({ embeds: [embed] }); let anembed = new Discord.EmbedBuilder() .setTitle("Done!") .setDescription(`Announcement has been sent to ${anchannel}`) - .setColor("RANDOM"); + .setColor("Random"); message.channel.send({ embeds: [anembed] }); message.delete(); diff --git a/Commands/Utility/avatar.js b/Commands/Utility/avatar.js index 49feb4ad..7ffdbbfb 100644 --- a/Commands/Utility/avatar.js +++ b/Commands/Utility/avatar.js @@ -6,11 +6,11 @@ module.exports = { category: "Utility", usage: "avatar/avatar @user", description: "Gives avatar for message author or mentioned user.", - botPerms: ["EMBED_LINKS", "MANAGE_MESSAGES"], + botPerms: ["EmbedLinks", "ManageMessages"], run: async (client, message, args) => { let user = message.mentions.users.first() || message.author; let embed = new discord.EmbedBuilder() - .setColor("RANDOM") + .setColor("Random") .setTitle(`${user.username}'s Avatar`) .setDescription( `[Avatar Link](${user.displayAvatarURL({ diff --git a/Commands/Utility/clear.js b/Commands/Utility/clear.js index 86e428ea..610faab6 100644 --- a/Commands/Utility/clear.js +++ b/Commands/Utility/clear.js @@ -1,8 +1,8 @@ module.exports = { name: "clear", description: "delete the given number of messages", - userPerms: ["MANAGE_MESSAGES"], - botPerms: ["MANAGE_MESSAGES"], + userPerms: ["ManageMessages"], + botPerms: ["ManageMessages"], run: async (client, message, args) => { const fetched = message.channel || message.mentions.members.first(); diff --git a/Commands/Utility/createrole.js b/Commands/Utility/createrole.js index bf77fdfc..b446b7ab 100644 --- a/Commands/Utility/createrole.js +++ b/Commands/Utility/createrole.js @@ -4,8 +4,8 @@ const toHex = require("colornames"); module.exports = { name: "createrole", description: "Creates A new role in the guild", - userPerms: ["MANAGE_ROLES"], - botPerms: ["EMBED_LINKS", "MANAGE_ROLES"], + userPerms: ["ManageRoles"], + botPerms: ["EmbedLinks", "ManageRoles"], run: async (client, message, args) => { const name = args.slice(1).join(" "); const regex = !/[^a-zA-Z0-9]+/g.test(name); diff --git a/Commands/Utility/delchannel.js b/Commands/Utility/delchannel.js index 8a4cf9ec..004598d6 100644 --- a/Commands/Utility/delchannel.js +++ b/Commands/Utility/delchannel.js @@ -3,8 +3,8 @@ const Discord = module.require("discord.js"); module.exports = { name: "delchannel", description: "Delete Channels From your Server", - userPerms: ["MANAGE_CHANNELS"], - botPerms: ["EMBED_LINKS", "MANAGE_CHANNELS"], + userPerms: ["ManageChannels"], + botPerms: ["EmbedLinks", "ManageChannels"], run: async (client, message, args) => { const fetchedChannel = message.mentions.channels.first(); if (!fetchedChannel) { @@ -15,7 +15,7 @@ module.exports = { const embed = new Discord.EmbedBuilder() .setTitle("Channel Updates") .setDescription("Channel has been deleted") - .setColor("RANDOM"); + .setColor("Random"); await message.channel.send({ embeds: [embed] }); }, diff --git a/Commands/Utility/delrole.js b/Commands/Utility/delrole.js index 5bcb0ce0..796ffbce 100644 --- a/Commands/Utility/delrole.js +++ b/Commands/Utility/delrole.js @@ -3,8 +3,8 @@ const Discord = module.require("discord.js"); module.exports = { name: "delrole", description: "Deletes a role", - userPerms: ["MANAGE_ROLES"], - botPerms: ["EMBED_LINKS", "MANAGE_ROLES"], + userPerms: ["ManageRoles"], + botPerms: ["EmbedLinks", "ManageRoles"], run: async (client, message, args) => { const role = message.mentions.roles.first(); @@ -15,7 +15,7 @@ module.exports = { const embed = new Discord.EmbedBuilder() .setTitle("Roles Update") .setDescription(`${role} role has been deleted`) - .setColor("RANDOM"); + .setColor("Random"); await message.channel.send({ embeds: [embed] }); }, }; diff --git a/Commands/Utility/enlargemoji.js b/Commands/Utility/enlargemoji.js index 9e7b2c9b..36c12a54 100644 --- a/Commands/Utility/enlargemoji.js +++ b/Commands/Utility/enlargemoji.js @@ -7,7 +7,7 @@ module.exports = { name: "enlargemoji", category: "fun", description: "Converting Server emoji to PNG/GIF!", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { const authoravatar = message.author.avatarURL(); const emoji = args[0]; diff --git a/Commands/Utility/esay.js b/Commands/Utility/esay.js index 4e737988..d526076e 100644 --- a/Commands/Utility/esay.js +++ b/Commands/Utility/esay.js @@ -3,7 +3,7 @@ const Discord = module.require("discord.js"); module.exports = { name: "esay", description: "Send Messages in embed form", - botPerms: ["EMBED_LINKS", "MANAGE_MESSAGES"], + botPerms: ["EmbedLinks", "ManageMessages"], run: async (client, message, args) => { let msg = args.join(" "); if (!msg) { @@ -11,7 +11,7 @@ module.exports = { } const embed = new Discord.EmbedBuilder() .setDescription(`${msg}`) - .setColor("RANDOM"); + .setColor("Random"); message.channel.send({ embeds: [embed] }); message.delete(); diff --git a/Commands/Utility/giverole.js b/Commands/Utility/giverole.js index 390e5fab..14338bb0 100644 --- a/Commands/Utility/giverole.js +++ b/Commands/Utility/giverole.js @@ -3,8 +3,8 @@ const Discord = require("discord.js"); module.exports = { name: "giverole", description: "Give roles to users", - userPerms: ["MANAGE_ROLES"], - botPerms: ["EMBED_LINKS", "MANAGE_ROLES"], + userPerms: ["ManageRoles"], + botPerms: ["EmbedLinks", "ManageRoles"], run: async (client, message, args) => { const user = message.mentions.members.first(); if (!user) diff --git a/Commands/Utility/google.js b/Commands/Utility/google.js index 58d34667..0c6a8f7e 100644 --- a/Commands/Utility/google.js +++ b/Commands/Utility/google.js @@ -3,7 +3,7 @@ const Discord = module.require("discord.js"); module.exports = { name: "google", description: "Search anything on google", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { const text1 = args.join(" "); const text2 = args.join("+"); @@ -23,7 +23,7 @@ module.exports = { `**Searched for: **\n${text1} \n\n**Result: **\n[Here's What I found](https://google.com/search?q=${text2})` ) .setThumbnail(google) - .setColor("RANDOM"); + .setColor("Random"); message.channel.send({ embeds: [embed] }); }, }; diff --git a/Commands/Utility/imdb.js b/Commands/Utility/imdb.js index 2b757ea8..7df182f6 100644 --- a/Commands/Utility/imdb.js +++ b/Commands/Utility/imdb.js @@ -4,7 +4,7 @@ const imdb = require("imdb-api"); module.exports = { name: "imdb", description: "Get the information about series and movies", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], enabled: false, run: async (client, message, args) => { const name = args.join(" "); diff --git a/Commands/Utility/lock.js b/Commands/Utility/lock.js index ffeb8452..37a35196 100644 --- a/Commands/Utility/lock.js +++ b/Commands/Utility/lock.js @@ -3,8 +3,8 @@ const Discord = module.require("discord.js"); module.exports = { name: "lock", description: "Locks a Channel", - userPerms: ["MANAGE_CHANNELS"], - botPerms: ["EMBED_LINKS", "MANAGE_CHANNELS"], + userPerms: ["ManageChannels"], + botPerms: ["EmbedLinks", "ManageChannels"], run: async (client, message, args) => { message.channel.overwritePermissions([ @@ -16,7 +16,7 @@ module.exports = { const embed = new Discord.EmbedBuilder() .setTitle("Channel Updates") .setDescription(`🔒 ${message.channel} has been Locked`) - .setColor("RANDOM"); + .setColor("Random"); await message.channel.send({ embeds: [embed] }); message.delete(); }, diff --git a/Commands/Utility/newtext.js b/Commands/Utility/newtext.js index 1bd0f25e..89b97e68 100644 --- a/Commands/Utility/newtext.js +++ b/Commands/Utility/newtext.js @@ -3,8 +3,8 @@ const Discord = module.require("discord.js"); module.exports = { name: "newtext", description: "Create text Channels in your Server", - userPerms: ["MANAGE_CHANNELS"], - botPerms: ["EMBED_LINKS", "MANAGE_CHANNELS"], + userPerms: ["ManageChannels"], + botPerms: ["EmbedLinks", "ManageChannels"], run: async (client, message, args) => { if (!args[0]) { return message.channel.send("Please mention the name for the Channel"); @@ -14,7 +14,7 @@ module.exports = { const embed = new Discord.EmbedBuilder() .setTitle("Channel Updates") .setDescription(`Channel has been created`) - .setColor("RANDOM"); + .setColor("Random"); message.channel.send({ embeds: [embed] }); }, }; diff --git a/Commands/Utility/newvoice.js b/Commands/Utility/newvoice.js index 5852a777..f8416a29 100644 --- a/Commands/Utility/newvoice.js +++ b/Commands/Utility/newvoice.js @@ -3,8 +3,8 @@ const Discord = module.require("discord.js"); module.exports = { name: "newvoice", description: "Create Voice Channels in your Server", - userPerms: ["MANAGE_CHANNELS"], - botPerms: ["EMBED_LINKS", "MANAGE_CHANNELS"], + userPerms: ["ManageChannels"], + botPerms: ["EmbedLinks", "ManageChannels"], run: async (client, message, args) => { if (!args[0]) { return message.channel.send("Please mention the name for the Channel"); @@ -14,7 +14,7 @@ module.exports = { const embed = new Discord.EmbedBuilder() .setTitle("Channel Updates") .setDescription(`Channel has been created`) - .setColor("RANDOM"); + .setColor("Random"); message.channel.send({ embeds: [embed] }); }, }; diff --git a/Commands/Utility/nickname.js b/Commands/Utility/nickname.js index e17072bd..dfaab324 100644 --- a/Commands/Utility/nickname.js +++ b/Commands/Utility/nickname.js @@ -3,8 +3,8 @@ const Discord = module.require("discord.js"); module.exports = { name: "nickname", description: "Change the Nickname of other Users", - userPerms: ["MANAGE_NICKNAMES"], - botPerms: ["MANAGE_NICKNAMES"], + userPerms: ["ManageNicknames"], + botPerms: ["ManageNicknames"], run: async (client, message, args) => { let mentionMember = message.mentions.members.first(); let newNickname = args.slice(1).join(" "); diff --git a/Commands/Utility/nuke.js b/Commands/Utility/nuke.js index 7ef206d7..e7d837a6 100644 --- a/Commands/Utility/nuke.js +++ b/Commands/Utility/nuke.js @@ -1,8 +1,8 @@ module.exports = { name: "nuke", description: "nuke", - botPerms: ["ADMINISTRATOR"], - userPerms: ["ADMINISTRATOR"], + botPerms: ["Administrator"], + userPerms: ["Administrator"], run: async(client, message, args) => { const channeltonuke =message.mentions.channels.first() || message.channel; message.channel.send(`Nuking ${channeltonuke}`); diff --git a/Commands/Utility/poll.js b/Commands/Utility/poll.js index e098763e..7ad434c8 100644 --- a/Commands/Utility/poll.js +++ b/Commands/Utility/poll.js @@ -3,7 +3,7 @@ const Discord = module.require("discord.js"); module.exports = { name: "poll", description: "Start a Poll", - userPerms: ["MANAGE_SERVER"], + userPerms: ["ManageGuild"], run: async (client, message, args) => { const pll = args.join(" "); if (!message.member.hasPermission("MANAGE_SERVER")) { @@ -16,7 +16,7 @@ module.exports = { .setTitle("Poll Time") .setDescription(`${pll}`) .setFooter(`Started by ${message.author.username}`) - .setColor("RANDOM"); + .setColor("Random"); message.channel .send({ embeds: [embed] }) .then(function (message, str) { diff --git a/Commands/Utility/removerole.js b/Commands/Utility/removerole.js index 14b534ef..668b3784 100644 --- a/Commands/Utility/removerole.js +++ b/Commands/Utility/removerole.js @@ -3,8 +3,8 @@ const Discord = require("discord.js"); module.exports = { name: "removerole", description: "Take roles from users", - userPerms: ["MANAGE_ROLES"], - botPerms: ["MANAGE_ROLES"], + userPerms: ["ManageRoles"], + botPerms: ["ManageRoles"], run: async (client, message, args) => { const user = message.mentions.members.first(); diff --git a/Commands/Utility/say.js b/Commands/Utility/say.js index 7a74644e..f53dabd1 100644 --- a/Commands/Utility/say.js +++ b/Commands/Utility/say.js @@ -1,7 +1,7 @@ module.exports = { name: "say", description: "Make the bot say your message", - botPerms: ["MANAGE_MESSAGES"], + botPerms: ["ManageMessages"], run: async (client, message, args) => { if (!args.join(" ")) { message.channel.send("Please add some text for me to repeat"); diff --git a/Commands/Utility/servericon.js b/Commands/Utility/servericon.js index 21585274..60791df8 100644 --- a/Commands/Utility/servericon.js +++ b/Commands/Utility/servericon.js @@ -3,7 +3,7 @@ const Discord = module.require("discord.js"); module.exports = { name: "servericon", description: "Displays the Server Icon", - botPerms: ["EMBED_LINKS", "MANAGE_MESSAGES"], + botPerms: ["EmbedLinks", "ManageMessages"], run: async (client, message, args) => { const server = message.guild; const embed = new Discord.EmbedBuilder() @@ -16,7 +16,7 @@ module.exports = { })})` ) .setImage(server.iconURL({ size: 2048, dynamic: true, format: "png" })) - .setColor("RANDOM"); + .setColor("Random"); message.channel.send({ embeds: [embed] }); message.delete(); }, diff --git a/Commands/Utility/serverinfo.js b/Commands/Utility/serverinfo.js index 024db5f0..375021a3 100644 --- a/Commands/Utility/serverinfo.js +++ b/Commands/Utility/serverinfo.js @@ -6,7 +6,7 @@ module.exports = { category: "utility", description: "Shows info about a server", usage: "[command]", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { //command const mention = message.member; @@ -39,47 +39,45 @@ module.exports = { india: "India", }; const serverembed = new Discord.EmbedBuilder() - .setAuthor(`${message.guild.name}`, message.guild.iconURL()) .setThumbnail(servericon) - .addField( - `General Info`, - `Owner: ${message.guild.members.cache.get(message.guild.ownerId)} \nVerification Lvl: \`${ + .addFields([ + { name: `General Info`, + value: `Owner: ${message.guild.members.cache.get(message.guild.ownerId)} \nVerification Lvl: \`${ verifLevels[message.guild.verificationLevel] - }\`` - ) - .addField( - `Overview`, - `Total Channels: \`${ + }\`` }, + { name: `Overview`, + value: `Total Channels: \`${ message.guild.channels.cache.size }\` \nText Channels: \`${ - message.guild.channels.cache.filter((c) => c.type === "GUILD_TEXT").size + message.guild.channels.cache.filter((c) => c.type === "GuildText").size }\` \nVoice Channels: \`${ - message.guild.channels.cache.filter((c) => c.type === "GUILD_VOICE").size + message.guild.channels.cache.filter((c) => c.type === "GuildVoice").size }\` \nAFK Channel: ${afk} \nAFK Timeout: \`${ message.guild.afkTimeout } sec\` \nTotal Roles: \`${ message.guild.roles.cache.size }\` \nTotal Emojis: \`${message.guild.emojis.cache.size}\`` - ) - .addField( - `Member Info`, - `Total Members: \`${message.guild.memberCount}\` \nHumans: \`${ + }, + { + name: `Member Info`, + value: `Total Members: \`${message.guild.memberCount}\` \nHumans: \`${ message.guild.members.cache.filter((member) => !member.user.bot).size }\` \nBots: \`${ message.guild.members.cache.filter((member) => member.user.bot).size }\`` - ) - .addField( - `Misc. Info`, - `You Joined on: \n\`${moment(mention.joinedAt).format( + }, + { + name: `Misc. Info`, + value: `You Joined on: \n\`${moment(mention.joinedAt).format( "dddd, MMMM Do YYYY, h:mm:ss A" )}\` \nCreated On: \n\`${moment(message.guild.createdAt).format( "dddd, MMMM Do YYYY, h:mm:ss A" )}\`` - ) + }, + ]) .setThumbnail(message.guild.iconURL()) .setFooter(`ID: ${message.guild.id}`, message.guild.iconURL()) - .setColor("RANDOM") + .setColor("Random") .setTimestamp(); message.channel.send({ embeds: [serverembed] }); diff --git a/Commands/Utility/suggestion.js b/Commands/Utility/suggestion.js index a394ad21..751a8466 100644 --- a/Commands/Utility/suggestion.js +++ b/Commands/Utility/suggestion.js @@ -3,7 +3,7 @@ const Discord = module.require("discord.js"); module.exports = { name: "suggestion", description: "Anything", - botPerms: ["EMBED_LINKS", "MANAGE_MESSAGES", "ADD_REACTIONS"], + botPerms: ["EmbedLinks", "ManageMessages", "AddReactions"], run: async (client, message, args) => { const msg = args.join(" "); message.delete(); @@ -26,7 +26,7 @@ module.exports = { .setTitle("New Suggestion") .setDescription(`${msg}`) .setFooter(`Suggested by ${message.author.tag}`) - .setColor("RANDOM"); + .setColor("Random"); suggestionchannel .send({ embeds: [embed] }) diff --git a/Commands/Utility/translate.js b/Commands/Utility/translate.js index 56290f4d..b1f0690e 100644 --- a/Commands/Utility/translate.js +++ b/Commands/Utility/translate.js @@ -12,7 +12,7 @@ module.exports = { translate(txt, { to: lang }).then(res => { const embed = new discord.EmbedBuilder() .setDescription(res.text) - .setColor("RANDOM") + .setColor("Random") message.channel.send({ embeds: [embed] }); }).catch(err => { message.channel.send("Please provide a valid ISO language code.") diff --git a/Commands/Utility/unlock.js b/Commands/Utility/unlock.js index e86f041f..d4fdc03a 100644 --- a/Commands/Utility/unlock.js +++ b/Commands/Utility/unlock.js @@ -3,8 +3,8 @@ const Discord = module.require("discord.js"); module.exports = { name: "unlock", description: "Unlocks a Channel", - userPerms: ["MANAGE_CHANNELS"], - botPerms: ["EMBED_LINKS", "MANAGE_CHANNELS", "MANAGE_MESSAGES"], + userPerms: ["ManageChannels"], + botPerms: ["EmbedLinks", "ManageChannels", "ManageMessages"], run: async (client, message, args) => { message.channel.overwritePermissions([ { @@ -15,7 +15,7 @@ module.exports = { const embed = new Discord.EmbedBuilder() .setTitle("Channel Updates") .setDescription(`🔓 ${message.channel} has been Unlocked`) - .setColor("RANDOM"); + .setColor("Random"); await message.channel.send({ embeds: [embed] }); message.delete(); }, diff --git a/Commands/Utility/userinfo.js b/Commands/Utility/userinfo.js index fc31f374..c0b5a7fe 100644 --- a/Commands/Utility/userinfo.js +++ b/Commands/Utility/userinfo.js @@ -49,16 +49,18 @@ module.exports = { "false": "No, The User is a Human" }; const userlol = new Discord.EmbedBuilder() - .setAuthor(`User Info`, mention.user.avatarURL()) + .setTitle(`User Info`) .setThumbnail(usericon) - .addField(`General Info`, `Name: \`${mention.user.username}\` \nTag: \`${mention.user.discriminator}\` \nNickname: \`${nick}\``) - .addField(`Overview`, `Badges: \`${flags[mention.user.flags.toArray().join(", ")]}\`\nIs Bot: \`${bot[mention.user.bot]}\``) - .addField(`Server Relating Info`, `Roles: <@&${mention._roles.join("> <@&")}> \nKey Permissions: \`${finalPermissions.join(', ')}\``) - .addField(`Misc Info`, `Acc Created on: \n\`${moment(mention.user.createdAt).format("dddd, MMMM Do YYYY, h:mm:ss A")}\` \nJoined This Server on: \n\`${moment(mention.joinedAt).format("dddd, MMMM Do YYYY, h:mm:ss A")}\``) + .addFields([ + { name: `General Info`, value: `Name: \`${mention.user.username}\` \nTag: \`${mention.user.discriminator}\` \nNickname: \`${nick}\``}, + { name: `Overview`, value: `Badges: \`${flags[mention.user.flags.toArray().join(", ")]}\`\nIs Bot: \`${bot[mention.user.bot]}\``}, + { name: `Server Relating Info`, value: `Roles: <@&${mention._roles.join("> <@&")}> \nKey Permissions: \`${finalPermissions.join(', ')}\``}, + { name: `Misc Info`, value: `Acc Created on: \n\`${moment(mention.user.createdAt).format("dddd, MMMM Do YYYY, h:mm:ss A")}\` \nJoined This Server on: \n\`${moment(mention.joinedAt).format("dddd, MMMM Do YYYY, h:mm:ss A")}\``}, + ]) .setThumbnail(mention.user.avatarURL()) .setFooter(`ID: ${mention.user.id}`, mention.user.avatarURL()) .setTimestamp() - .setColor("RANDOM"); + .setColor("Random"); message.channel.send({ embeds: [userlol] }) } } diff --git a/Commands/Utility/weather.js b/Commands/Utility/weather.js index 2fb216d7..248daeed 100644 --- a/Commands/Utility/weather.js +++ b/Commands/Utility/weather.js @@ -3,7 +3,7 @@ const Discord = module.require("discord.js"); module.exports = { name: "weather", description: "Shows Weather for the provided place", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { const name = args.join(" "); const place = args.join("-"); @@ -18,7 +18,7 @@ module.exports = { .setTitle(`${name}'s Weather for Next 3 days`) .setImage(link) .setFooter("Credits to Wttr.in") - .setColor("RANDOM"); + .setColor("Random"); message.channel.send({ embeds: [embed] }); }, }; diff --git a/Commands/Utility/wiki.js b/Commands/Utility/wiki.js index 1b20ed57..43bc5d31 100644 --- a/Commands/Utility/wiki.js +++ b/Commands/Utility/wiki.js @@ -3,7 +3,7 @@ const Discord = module.require("discord.js"); module.exports = { name: "wiki", description: "Get Search Results from Wikipedia", - botPerms: ["EMBED_LINKS"], + botPerms: ["EmbedLinks"], run: async (client, message, args) => { const search = args.join("_"); const msg = args.join(" "); @@ -15,7 +15,7 @@ module.exports = { .setTitle("Wikipedia Search") .addField(`You Searched for:`, `${msg}`) .addField(`Results:`, `[Here's What I found](${link})`) - .setColor("RANDOM"); + .setColor("Random"); message.channel.send({ embeds: [embed] }); }, diff --git a/SlashCommands/Config/dashboard.js b/SlashCommands/Config/dashboard.js index 5e7f1286..36b022d1 100644 --- a/SlashCommands/Config/dashboard.js +++ b/SlashCommands/Config/dashboard.js @@ -1,23 +1,24 @@ -const { EmbedBuilder, ActionRowBuilder, SelectMenuBuilder } = require('discord.js'); +const { EmbedBuilder, ActionRowBuilder, SelectMenuBuilder, ApplicationCommandOptionType } = require('discord.js'); module.exports = { name: "dashboard", description: "View the dashboard for the required category.", + userPerms: ["Administrator"], options: [ { name: "admin", description: "Shows the admin menu", - type: 'SUB_COMMAND', + type: ApplicationCommandOptionType.Subcommand, }, { name: "welcomer", description: "Shows the welcomer menu", - type: 'SUB_COMMAND', + type: ApplicationCommandOptionType.Subcommand, }, { name: "logging", description: "Shows the logging menu", - type: 'SUB_COMMAND', + type: ApplicationCommandOptionType.Subcommand, } ], run: async(client, interaction, args)=>{ diff --git a/SlashCommands/Config/rep.js b/SlashCommands/Config/rep.js index b4bc45ad..4efb91c1 100644 --- a/SlashCommands/Config/rep.js +++ b/SlashCommands/Config/rep.js @@ -1,58 +1,58 @@ const rep = require("../../database/guildData/userRep") -const { EmbedBuilder } = require("discord.js"); +const { ApplicationCommandOptionType } = require("discord.js"); module.exports = { name: "rep", description: "Change a user's rep points count", - userPerms: ["ADMINISTRATOR"], + userPerms: ["Administrator"], options: [ { name: "add", description: "Adds a rep to a user", - type: "SUB_COMMAND", + type: ApplicationCommandOptionType.Subcommand, options: [ { name: "user", description: "The user to add a rep to", - type: "USER", - required: true + required: true, + type: ApplicationCommandOptionType.User, }, { name: "amount", description: "The amount of rep to add", - type: "NUMBER", - required: true + required: true, + type: ApplicationCommandOptionType.Number, }, { name: "type", description: "The type of rep to add (General or Trade)", - type: "STRING", - required: true + required: true, + type: ApplicationCommandOptionType.String, }, ], }, { name: "remove", description: "Removes a rep from a user", - type: "SUB_COMMAND", + type: ApplicationCommandOptionType.Subcommand, options: [ { name: "user", description: "The user to remove a rep from", - type: "USER", - required: true + required: true, + type: ApplicationCommandOptionType.User, }, { name: "amount", description: "The amount of rep to remove", - type: "NUMBER", - required: true + required: true, + type: ApplicationCommandOptionType.Number, }, { name: "type", description: "The type of rep to remove (General or Trade)", - type: "STRING", - required: true + required: true, + type: ApplicationCommandOptionType.String, }, ], }, diff --git a/SlashCommands/Fun/8ball.js b/SlashCommands/Fun/8ball.js index 1ec124d0..4179452d 100644 --- a/SlashCommands/Fun/8ball.js +++ b/SlashCommands/Fun/8ball.js @@ -1,4 +1,4 @@ -const Discord = module.require("discord.js"); +const { ApplicationCommandOptionType } = require("discord.js"); module.exports = { name: "8ball", @@ -7,7 +7,8 @@ module.exports = { { name: "question", description: "The question you want to ask the magic 8ball", - type: 'STRING', + required: true, + type: ApplicationCommandOptionType.String, } ], run: async (client, interaction, args) => { diff --git a/SlashCommands/Fun/catsay.js b/SlashCommands/Fun/catsay.js index e4700a31..e0ec5bee 100644 --- a/SlashCommands/Fun/catsay.js +++ b/SlashCommands/Fun/catsay.js @@ -1,4 +1,4 @@ -const Discord = module.require("discord.js"); +const { ApplicationCommandOptionType } = require("discord.js"); module.exports = { name: "catsay", description: "Make The Cat say thing of your choice", @@ -6,8 +6,8 @@ name: "catsay", { name: "text", description: "the text", - type: "STRING", - required: true + required: true, + type: ApplicationCommandOptionType.String, } ], run: async (client, interaction, args) => { diff --git a/SlashCommands/Fun/hack.js b/SlashCommands/Fun/hack.js index ee167d77..a14cb65c 100644 --- a/SlashCommands/Fun/hack.js +++ b/SlashCommands/Fun/hack.js @@ -1,4 +1,5 @@ const ms = module.require("ms"); +const { ApplicationCommandOptionType } = require("discord.js"); module.exports = { name: "hack", description: "heck someone account [J4F]", @@ -6,7 +7,8 @@ module.exports = { { name: "user", description: "who you want to be hecked", - type: 'MENTIONABLE', + required: true, + type: ApplicationCommandOptionType.Mentionable, } ], run: async (client, interaction, args) => { diff --git a/SlashCommands/Fun/kill.js b/SlashCommands/Fun/kill.js index 29d48fa1..641bf237 100644 --- a/SlashCommands/Fun/kill.js +++ b/SlashCommands/Fun/kill.js @@ -1,4 +1,4 @@ -const Discord = module.require("discord.js"); +const { ApplicationCommandOptionType } = require("discord.js"); module.exports = { name: "kill", @@ -7,8 +7,8 @@ module.exports = { { name: "enemy", description: "the enemy", - type: "MENTIONABLE", - required: true + required: true, + type: ApplicationCommandOptionType.Mentionable, } ], run: async (client, interaction, args) => { diff --git a/SlashCommands/Info/check.js b/SlashCommands/Info/check.js index 074b4ebb..c5478797 100644 --- a/SlashCommands/Info/check.js +++ b/SlashCommands/Info/check.js @@ -1,5 +1,5 @@ const userRepData = require("../../database/guildData/userRep") -const { EmbedBuilder } = require("discord.js") +const { EmbedBuilder, ApplicationCommandOptionType } = require("discord.js") module.exports = { name: "check", @@ -8,8 +8,8 @@ module.exports = { { name: "user", description: "Shows the amount of General Rep the user has gained!", - type: "USER", - required: true + required: true, + type: ApplicationCommandOptionType.User, } ], run: async(client, interaction, args)=> { @@ -22,7 +22,7 @@ module.exports = { const embed = new EmbedBuilder() .setTitle(`${user.username}'s Reputation`) - .setColor("GREEN") + .setColor("Green") .setThumbnail(user.displayAvatarURL()) if (data) { diff --git a/SlashCommands/Info/emojiid.js b/SlashCommands/Info/emojiid.js index 024a24d7..bec0eb02 100644 --- a/SlashCommands/Info/emojiid.js +++ b/SlashCommands/Info/emojiid.js @@ -1,4 +1,4 @@ -const Discord = module.require("discord.js"); +const { ApplicationCommandOptionType } = require("discord.js"); module.exports = { name: "emoji", @@ -7,7 +7,8 @@ module.exports = { { name: "name", description: "Emoji to get ID of", - type: 'STRING', + required: true, + type: ApplicationCommandOptionType.String, } ], run: async (client, interaction, args) => { diff --git a/SlashCommands/Info/help.js b/SlashCommands/Info/help.js index ec40ca5c..21118275 100644 --- a/SlashCommands/Info/help.js +++ b/SlashCommands/Info/help.js @@ -1,4 +1,4 @@ -const { EmbedBuilder, MessageActionRow, MessageSelectMenu} = require("discord.js"); +const { EmbedBuilder, ActionRowBuilder, SelectMenuBuilder, ApplicationCommandOptionType } = require("discord.js"); module.exports = { name: "help", @@ -7,8 +7,8 @@ module.exports = { { name: "command", description: "Get help for a command!", - type: 'STRING', - required: false + required: false, + type: ApplicationCommandOptionType.String, } ], run: async (client, interaction, args) => { @@ -31,24 +31,26 @@ module.exports = { let helpEmbed = new EmbedBuilder() .setTitle(`Help for **${cmd.name}**`) - .addField("Name", `${cmd.name}`, true) - .addField("Description", `${description}`, true) - .addField("Aliases", `${aliases}`, true) - .addField("Owner Only", `${ownerOnly}`, true) - .addField("NSFW Only", `${nsfwOnly}`, true) - .addField("Cooldown", `${cooldown}`, true) - .addField("Disabled", `${isDisabled}`, true) - .addField("Required Bot Permissions", `${botPerms}`, true) - .addField("Required User Permissions", `${userPerms}`, true) - .setColor("GREEN") + .addFields([ + { name: "Name", value: `${cmd.name}` }, + { name: "Description", value: `${description}` }, + { name: "Aliases", value: `${aliases}` }, + { name: "Owner Only", value: `${ownerOnly}` }, + { name: "NSFW Only", value: `${nsfwOnly}` }, + { name: "Cooldown", value: `${cooldown}` }, + { name: "Disabled", value: `${isDisabled}` }, + { name: "Required Bot Permissions", value: `${botPerms}` }, + { name: "Required User Permissions", value: `${userPerms}` } + ]) + .setColor("Green") return interaction.reply({ embeds: [helpEmbed], ephemeral: true }); } } else { - let helpMenu = new MessageActionRow() + let helpMenu = new ActionRowBuilder() .addComponents( - new MessageSelectMenu() + new SelectMenuBuilder() .setCustomId("help_menu") .setPlaceholder('Help Menu') .setMinValues(1) @@ -120,7 +122,7 @@ module.exports = { let helpEmbed = new EmbedBuilder() .setTitle('Help Menu') .setDescription('Choose an option from the menu below!') - .setColor("GREEN") + .setColor("Green") interaction.reply({ embeds: [helpEmbed], components: [helpMenu]}) } diff --git a/SlashCommands/Info/ping.js b/SlashCommands/Info/ping.js index ac24ad4e..955b9d30 100644 --- a/SlashCommands/Info/ping.js +++ b/SlashCommands/Info/ping.js @@ -10,7 +10,7 @@ module.exports = { let embed1 = new discord.EmbedBuilder() .setDescription("Looks like the bot is slow.") - .setColor("RANDOM") + .setColor("Random") await interaction.reply({ embeds: [embed1] @@ -21,7 +21,7 @@ module.exports = { .setTitle("Ping!") .addField("API Latency", `${Math.round(client.ws.ping)}ms`, true) .addField("Message Latency", `${end - start}ms`, true) - .setColor("RANDOM"); + .setColor("Random"); interaction.editReply({ embeds: [embed] }).catch((e) => interaction.followUp(e)); }, diff --git a/SlashCommands/Mod/ban.js b/SlashCommands/Mod/ban.js index 2a9ab495..cac063c8 100644 --- a/SlashCommands/Mod/ban.js +++ b/SlashCommands/Mod/ban.js @@ -1,82 +1,86 @@ -const { MessageEmbed } = require('discord.js') +const { EmbedBuilder, ApplicationCommandOptionType } = require('discord.js') module.exports = { name: "ban", description: "Ban members from your server!", subCommands: ["member", "soft", "hack", "remove"], category: "Moderation", - userPerms: ["BAN_MEMBERS"], - botPerms: ["BAN_MEMBERS", "EMBED_LINKS"], + userPerms: ["BanMembers"], + botPerms: ["BanMembers", "EmbedLinks"], options: [ { name: "member", description: "The member you want to ban!", - type: "SUB_COMMAND", + type: ApplicationCommandOptionType.Subcommand, options: [ { name: "member", description: "The member you want to ban!", - type: "MENTIONABLE", - requured: true + required: true, + type: ApplicationCommandOptionType.Mentionable, }, { name: "reason", description: "The reason for the ban!", - type: "STRING", + required: false, + type: ApplicationCommandOptionType.String, } ] }, { name: "soft", description: "Soft ban a member in you server!", - type: "SUB_COMMAND", + type: ApplicationCommandOptionType.Subcommand, options: [ { name: "member", description: "The member you want to soft ban!", - type: "MENTIONABLE", required: true, + type: ApplicationCommandOptionType.Mentionable, }, { name: "reason", description: "The reason for the soft ban!", - type: "STRING", + required: false, + type: ApplicationCommandOptionType.String, } ] }, { name: "hack", description: "Bans a member who is not in your server!", - type: "SUB_COMMAND", + type: ApplicationCommandOptionType.Subcommand, options: [ { name: "id", description: "The ID of the member you want to ban!", - type: "STRING", - required: true + required: true, + type: ApplicationCommandOptionType.String, }, { name: "reason", description: "The reason for the ban!", - type: "STRING", + required: false, + type: ApplicationCommandOptionType.String, } ] }, { name: "remove", description: "Removes a ban from a member!", - type: "SUB_COMMAND", + type: ApplicationCommandOptionType.Subcommand, options: [ { name: "id", description: "The ID of the member you want to remove a ban from!", - type: "STRING", - required: true + required: true, + type: ApplicationCommandOptionType.String, }, { name: "reason", description: "The reason for the ban!", - type: "STRING", + required: false, + type: ApplicationCommandOptionType.String } ] } @@ -101,7 +105,7 @@ module.exports = { return interaction.reply("I cannot Ban Someone who has higher or same role as me!") } - let banEmbed = new MessageEmbed() + let banEmbed = new EmbedBuilder() .setTitle("Action : Ban") .setDescription(`Banned ${target} (${target.id})\nReason: ${reason}`) .setColor("#ff2050") @@ -135,7 +139,7 @@ module.exports = { return interaction.reply("I cannot Ban Someone who has higher or same role as me!") } - let softBanEmbed = new MessageEmbed() + let softBanEmbed = new EmbedBuilder() .setTitle("Action : Ban") .setDescription(`Banned ${target} (${target.id})\nReason: ${reason}`) .setColor("#ff2050") @@ -167,7 +171,7 @@ module.exports = { return interaction("You cannot Ban The Server Owner") } let targetMember = await targetUser.member - let hackBanEmbed = new MessageEmbed() + let hackBanEmbed = new EmbedBuilder() .setTitle("Action : Ban") .setDescription(`Banned ${targetUser} (${target})\nReason: ${reason}`) .setColor("#ff2050") @@ -197,7 +201,7 @@ module.exports = { return interaction("You cannot unan The Server Owner") } let targetMember = await targetUser.member - let unBanEmbed = new MessageEmbed() + let unBanEmbed = new EmbedBuilder() .setTitle("Action : Unban") .setDescription(`Unbanned ${targetUser} (${target})\nReason: ${reason}`) .setColor("GREEN") diff --git a/SlashCommands/Music/filter.js b/SlashCommands/Music/filter.js index f3fc1179..4c854d12 100644 --- a/SlashCommands/Music/filter.js +++ b/SlashCommands/Music/filter.js @@ -1,5 +1,5 @@ const { bgYellowBright } = require("chalk"); -const { EmbedBuilder } = require("discord.js"); +const { EmbedBuilder, ApplicationCommandOptionType } = require("discord.js"); module.exports = { name: "filter", @@ -9,21 +9,21 @@ module.exports = { options: [ { name: "apply", - type: "SUB_COMMAND", + type: ApplicationCommandOptionType.Subcommand, description: "Apply filters to music!", options: [ { name: "filter", description: "The filter to apply!", - type: "STRING", required: true, + type: ApplicationCommandOptionType.String, } ] }, { name: "list", description: "List of all the available filters", - type: "SUB_COMMAND" + type: ApplicationCommandOptionType.Subcommand } ], run: async(client, interaction, args) => { diff --git a/SlashCommands/Music/track.js b/SlashCommands/Music/track.js index c8310cae..a1adb8e3 100644 --- a/SlashCommands/Music/track.js +++ b/SlashCommands/Music/track.js @@ -1,4 +1,5 @@ -const { EmbedBuilder } = require('discord.js') +const { EmbedBuilder, ApplicationCommandOptionType } = require('discord.js') +const { joinVoiceChannel } = require("@discordjs/voice") const { QueueRepeatMode } = require('discord-player'); const { waitForDebugger } = require('inspector'); @@ -11,79 +12,79 @@ module.exports = { { name: "clearqueue", description: "Deltes the music queue an leave the voice channel!", - type: "SUB_COMMAND", + type: ApplicationCommandOptionType.Subcommand, }, { name: "play", description: "Plays a song", - type: "SUB_COMMAND", + type: ApplicationCommandOptionType.Subcommand, options: [ { name: "song", description: "Song to play", - type: "STRING", - required: true + required: true, + type: ApplicationCommandOptionType.String, } ] }, { name: "pause", description: "Pauses the current song", - type: "SUB_COMMAND" + type: ApplicationCommandOptionType.Subcommand }, { name: "previoustrack", description: "play the previous track again!", - type: "SUB_COMMAND" + type: ApplicationCommandOptionType.Subcommand }, { name: "info", description: "Get info for the current or a specific song in the queue!", - type: "SUB_COMMAND", + type: ApplicationCommandOptionType.Subcommand, options: [ { name: "index", description: "Index of the song in the queue!", - type: "NUMBER", required: false, + type: ApplicationCommandOptionType.Number, } ] }, { name: "jump", description: "Jump to a specific song in the queue!", - type: 'SUB_COMMAND', + type: ApplicationCommandOptionType.Subcommand, options: [ { name: "index", description: "Provide the index number of the song!", - type: "NUMBER", required: true, + type: ApplicationCommandOptionType.Number, } ] }, { name: "lyrics", description: "Get the lyrics for a song!", - type: "SUB_COMMAND", + type: ApplicationCommandOptionType.Subcommand, options: [ { name: "query", description: "The song to get the lyrics for!", - type: "STRING", required: true, + type: ApplicationCommandOptionType.String, } ] }, { name: "loop", description: "Loop a song or the whole queue!", - type: "SUB_COMMAND", + type: ApplicationCommandOptionType.Subcommand, options: [ { name: "mode", description: "choose a new loop mode to chnage!", - type: 'STRING', + type: ApplicationCommandOptionType.String, required: false, choices: [ { @@ -109,108 +110,108 @@ module.exports = { { name: "mute", description: "Mutes the volume!", - type: "SUB_COMMAND", + type: ApplicationCommandOptionType.Subcommand, }, { name: "move", description: "Change the position of songs in the queue!", - type: "SUB_COMMAND", + type: ApplicationCommandOptionType.Subcommand, options: [ { name: "from", description: "The position to move the song from!", - type: "NUMBER", - required: true + required: true, + type: ApplicationCommandOptionType.Number, }, { name: "to", description: "The position to move the song to!", - type: 'NUMBER', - required: true + required: true, + type: ApplicationCommandOptionType.Number, } ] }, { name: "queue", description: "Shows the music queue for your server!", - type: "SUB_COMMAND", + type: ApplicationCommandOptionType.Subcommand, options: [ { name: "page", description: "Page number of the queue!", - type: "NUMBER", required: false, + type: ApplicationCommandOptionType.Number, } ] }, { name: "remove", description: "Remove a song from the queue!", - type: "SUB_COMMAND", + type: ApplicationCommandOptionType.Subcommand, options: [ { name: "index", description: "Index of the song to remove!", - type: "NUMBER", required: true, + type: ApplicationCommandOptionType.Number, } ] }, { name: "resume", description: "Resume the queue", - type: "SUB_COMMAND" + type: ApplicationCommandOptionType.Subcommand }, { name: "seek", - description: "Seek toa specific postion of the current song!", - type: "SUB_COMMAND", + description: "Seek to a specific postion of the current song!", + type: ApplicationCommandOptionType.Subcommand, options: [ { name: "duration", description: "The duration of the song ", - type: 'STRING', required: true, + type: ApplicationCommandOptionType.String, } ] }, { name: "shuffle", description: "Shuffle the queue!", - type: "SUB_COMMAND" + type: ApplicationCommandOptionType.Subcommand }, { name: "skip", description: "Skip the current song in the queue!", - type: "SUB_COMMAND" + type: ApplicationCommandOptionType.Subcommand }, { name: "stop", description: "Stop the music and leave the voice channel!", - type: "SUB_COMMAND", + type: ApplicationCommandOptionType.Subcommand, }, { name: "volume", description: "Change the volume of the music!", - type: "SUB_COMMAND", + type: ApplicationCommandOptionType.Subcommand, options: [ { name: "amount", description: "The amount of volume of increase!", - type: "NUMBER", required: true, + type: ApplicationCommandOptionType.Number, } ] }, { name: "unmute", description: "UInmutes the volume!", - type: "SUB_COMMAND" + type: ApplicationCommandOptionType.Subcommand } ], - userPerms: ["CONNECT", "VIEW_CHANNEL"], + userPerms: ["Connect", "ViewChannel"], noUserPermsMessage: `You need the \`Connect\` and \`View Channel\` permissions to use these commands!`, - botPerms: ["VIEW_CHANNEL", "CONNECT", "SPEAK"], + botPerms: ["ViewChannel", "Connect", "Speak"], noBotPermsMessage: `I am missing one of the following permissions: \`Connect\`, \`View Channel\`, \`Speak\``, run: async(client, interaction, args) => { @@ -237,7 +238,7 @@ module.exports = { const guildQueue = client.player.getQueue(interaction.guild.id); - const channel = interaction.member?.voice?.channel; + const channel = await interaction.member?.voice?.channel; if (!channel) return client.say.warnMessage(interaction, "You have to join a voice channel first."); @@ -275,15 +276,13 @@ module.exports = { } try { - if (!queue.connection) { - await queue.connect(channel); + if (queue.connection) return; + else await queue.connect(channel); const embed = new EmbedBuilder() - .setAuthor("REAPER MUSIC", client.user.displayAvatarURL()) - .setDescription(`👍 Joined ${queue.connection.channel.toString()} and 📄 bound to ${queue.metadata.channel.toString()}`) - .setColor(queue.guild.me.displayColor || "#00FFFF"); + .setDescription(`👍 Joined ${interaction.member.voice.channel.toString()}`) + .setColor(queue.guild.members.me.displayColor || "#00FFFF"); await interaction.editReply({ embeds: [embed]}) - } } catch (error) { client.logger.error("JOIN", error); diff --git a/SlashCommands/Utility/activity.js b/SlashCommands/Utility/activity.js index cdcc7a24..b5f81795 100644 --- a/SlashCommands/Utility/activity.js +++ b/SlashCommands/Utility/activity.js @@ -1,4 +1,4 @@ -const { EmbedBuilder } = require('discord.js') +const { EmbedBuilder, ApplicationCommandOptionType } = require('discord.js') module.exports = { name: "activity", @@ -7,57 +7,57 @@ module.exports = { { name: "youtube", description: "Watch Youtube on Discord!", - type: 'SUB_COMMAND' + type: ApplicationCommandOptionType.Subcommand }, { name: "chess", description: "Play chess on Discord!", - type: 'SUB_COMMAND' + type: ApplicationCommandOptionType.Subcommand }, { name: "awkword", description: "Play Awkword.io on Discord!", - type: 'SUB_COMMAND' + type: ApplicationCommandOptionType.Subcommand }, { name: "doodlecrew", description: "Play Doodle Crew on Discord!", - type: 'SUB_COMMAND' + type: ApplicationCommandOptionType.Subcommand }, { name: "fishington", description: "Play Fishington.io on Discord!", - type: 'SUB_COMMAND' + type: ApplicationCommandOptionType.Subcommand }, { name: "lettertile", description: "Play Lettertile.io on Discord!", - type: 'SUB_COMMAND' + type: ApplicationCommandOptionType.Subcommand }, { name: "poker", description: "Play Poker.io on Discord!", - type: 'SUB_COMMAND' + type: ApplicationCommandOptionType.Subcommand }, { name: "spellcast", description: "Play Spellcast.io on Discord!", - type: 'SUB_COMMAND' + type: ApplicationCommandOptionType.Subcommand }, { name: "checkers", description: "Play Checkers.io on Discord!", - type: 'SUB_COMMAND' + type: ApplicationCommandOptionType.Subcommand }, { name: "puttparty", description: "Play Puttparty on Discord!", - type: 'SUB_COMMAND' + type: ApplicationCommandOptionType.Subcommand }, { name: "wordsnack", description: "Play Wordsnack on Discord!", - type: 'SUB_COMMAND' + type: ApplicationCommandOptionType.Subcommand } ], @@ -76,7 +76,7 @@ module.exports = { let embed = new EmbedBuilder() .setTitle("Youtube Together") .setDescription(`[Click Here](${invite.code}) to access Youtube Together!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``) - .setColor("RED") + .setColor("Red") .setFooter(`Requested By: ${interaction.member.user.username}`) return interaction.reply({ embeds: [embed] }); @@ -92,7 +92,7 @@ module.exports = { let embed = new EmbedBuilder() .setTitle("Awkword.io") .setDescription(`[Click Here](${invite.code}) to play Awkword.io!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``) - .setColor("GREEN") + .setColor("Green") .setFooter(`Requested By: ${interaction.member.user.username}`) return interaction.reply({ embeds: [embed] }); @@ -108,7 +108,7 @@ module.exports = { let embed = new EmbedBuilder() .setTitle("Chess.io") .setDescription(`[Click Here](${invite.code}) to play Chess.io!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``) - .setColor("GREEN") + .setColor("Green") .setFooter(`Requested By: ${interaction.member.user.username}`) return interaction.reply({ embeds: [embed] }); @@ -124,7 +124,7 @@ module.exports = { let embed = new EmbedBuilder() .setTitle("Betrayal.io") .setDescription(`[Click Here](${invite.code}) to play Betrayal.io!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``) - .setColor("GREEN") + .setColor("Green") .setFooter(`Requested By: ${interaction.member.user.username}`) return interaction.reply({ embeds: [embed] }); @@ -140,7 +140,7 @@ module.exports = { let embed = new EmbedBuilder() .setTitle("Doodle Crew") .setDescription(`[Click Here](${invite.code}) to play Doodle Crew!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``) - .setColor("GREEN") + .setColor("Green") .setFooter(`Requested By: ${interaction.member.user.username}`) return interaction.reply({ embeds: [embed] }); @@ -157,7 +157,7 @@ module.exports = { let embed = new EmbedBuilder() .setTitle("Fishington.io") .setDescription(`[Click Here](${invite.code}) to play Fishington.io!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``) - .setColor("GREEN") + .setColor("Green") .setFooter(`Requested By: ${interaction.member.user.username}`) return interaction.reply({ embeds: [embed] }); @@ -173,7 +173,7 @@ module.exports = { let embed = new EmbedBuilder() .setTitle("Lettertile.io") .setDescription(`[Click Here](${invite.code}) to play Lettertile.io!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``) - .setColor("GREEN") + .setColor("Green") .setFooter(`Requested By: ${interaction.member.user.username}`) return interaction.reply({ embeds: [embed] }); @@ -190,7 +190,7 @@ module.exports = { let embed = new EmbedBuilder() .setTitle("Poker.io") .setDescription(`[Click Here](${invite.code}) to play Poker.io!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``) - .setColor("GREEN") + .setColor("Green") .setFooter(`Requested By: ${interaction.member.user.username}`) return interaction.reply({ embeds: [embed] }); @@ -206,7 +206,7 @@ module.exports = { let embed = new EmbedBuilder() .setTitle("Spellcast.io") .setDescription(`[Click Here](${invite.code}) to play Spellcast.io!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``) - .setColor("GREEN") + .setColor("Green") .setFooter(`Requested By: ${interaction.member.user.username}`) return interaction.reply({ embeds: [embed] }); @@ -222,7 +222,7 @@ module.exports = { let embed = new EmbedBuilder() .setTitle("Checkers") .setDescription(`[Click Here](${invite.code}) to play Checkers!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``) - .setColor("GREEN") + .setColor("Green") .setFooter(`Requested By: ${interaction.member.user.username}`) return interaction.reply({ embeds: [embed] }); @@ -238,7 +238,7 @@ module.exports = { let embed = new EmbedBuilder() .setTitle("Puttparty") .setDescription(`[Click Here](${invite.code}) to play Puttparty!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``) - .setColor("GREEN") + .setColor("Green") .setFooter(`Requested By: ${interaction.member.user.username}`) return interaction.reply({ embeds: [embed] }); @@ -254,7 +254,7 @@ module.exports = { let embed = new EmbedBuilder() .setTitle("Wordsnack") .setDescription(`[Click Here](${invite.code}) to play Wordsnack!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``) - .setColor("GREEN") + .setColor("Green") .setFooter(`Requested By: ${interaction.member.user.username}`) return interaction.reply({ embeds: [embed] }); diff --git a/SlashCommands/Utility/delete.js b/SlashCommands/Utility/delete.js index 98c8d430..5a8c6a06 100644 --- a/SlashCommands/Utility/delete.js +++ b/SlashCommands/Utility/delete.js @@ -1,30 +1,33 @@ -const { EmbedBuilder } = require('discord.js'); +const { EmbedBuilder, ApplicationCommandOptionType } = require('discord.js'); module.exports = { name: 'delete', description: "Delete channels or roles in your server!", + userPerms: ["ManageChannels", "ManageRoles"], options: [ { name: 'channel', description: 'Channel to delete', - type: "SUB_COMMAND", + type: ApplicationCommandOptionType.Subcommand, options: [ { name: 'channel', description: 'Channel to delete', - type: "ROLE" + required: true, + type: ApplicationCommandOptionType.Channel } ], }, { name: 'role', description: 'Role to delete', - type: "SUB_COMMAND", + type: ApplicationCommandOptionType.Subcommand, options: [ { name: 'role', description: 'Role to delete', - type: "ROLE" + required: true, + type: ApplicationCommandOptionType.Role } ] } @@ -56,7 +59,7 @@ module.exports = { Name: ${deleteRole.name} ID: ${deleteRole.id} Deleted By: ${interaction.member.user.username}`) - .setColor("RED") + .setColor("Red") return interaction.reply({ embeds: [roleEmbed] }) } catch (err) { diff --git a/SlashCommands/Utility/nuke.js b/SlashCommands/Utility/nuke.js index ff26640c..4c39a8dc 100644 --- a/SlashCommands/Utility/nuke.js +++ b/SlashCommands/Utility/nuke.js @@ -1,13 +1,16 @@ +const { ApplicationCommandOptionType } = require("discord.js"); + module.exports = { name: "nuke", description: "nuke the channel", - botPerms: ["ADMINISTRATOR"], - userPerms: ["ADMINISTRATOR"], + botPerms: ["Administrator"], + userPerms: ["Administrator"], options: [ { name: 'channel', description: 'channel to nuke', - type: "CHANNEL" + required: true, + type: ApplicationCommandOptionType.Channel } ], run: async(client, interaction, args) => { diff --git a/SlashCommands/Utility/purge.js b/SlashCommands/Utility/purge.js index d17dac0c..99fb71ae 100644 --- a/SlashCommands/Utility/purge.js +++ b/SlashCommands/Utility/purge.js @@ -1,19 +1,21 @@ +const { ApplicationCommandOptionType } = require("discord.js"); + module.exports = { name: "purge", description: "purge", - botPerms: ["MANAGE_MESSAGES"], - userPerms: ["MANAGE_MESSAGES"], + botPerms: ["ManageMessages"], + userPerms: ["ManageMessages"], options: [ { name: 'number', description: '1-100', - type: "INTEGER" + required: true, + type: ApplicationCommandOptionType.Number } ], run: async(client, interaction, args) => { - const msgnum = interaction.options.getInteger('number') - interaction.reply('Purging...'); - interaction.channel.bulkDelete(msgnum); - interaction.channel.send("Done,If you wish you can delete this"); + const msgnum = interaction.options.getNumber('number') + await interaction.channel.bulkDelete(msgnum); + interaction.reply({ content: "Done,If you wish you can delete this", ephemeral: true }); } } diff --git a/config.json b/config.json index 164b98f4..6c500c89 100644 --- a/config.json +++ b/config.json @@ -2,8 +2,8 @@ "OWNER_ID":"", "BOT_TOKEN": "", - "tenorAPI":"ZEEELJXAFQBN", - "DEFAULT_PREFIX":"!", + "tenorAPI":"", + "DEFAULT_PREFIX":"", "mongoPass": "", "ERROR_LOGS_CHANNEL": "", "YT_COOKIE": "" diff --git a/data/enmap.sqlite-shm b/data/enmap.sqlite-shm index 0f38d4fc..98f55a4e 100644 Binary files a/data/enmap.sqlite-shm and b/data/enmap.sqlite-shm differ diff --git a/data/enmap.sqlite-wal b/data/enmap.sqlite-wal index 2c049ece..5f72a516 100644 Binary files a/data/enmap.sqlite-wal and b/data/enmap.sqlite-wal differ diff --git a/events/client/mention.js b/events/client/mention.js index 12d210d9..a04c13ad 100644 --- a/events/client/mention.js +++ b/events/client/mention.js @@ -3,8 +3,6 @@ const prefixModel = require("../../database/guildData/prefix"); module.exports = async (message, client) => { if (message.author.bot) return; if (!message.guild) return; - if (!message.guild.me.permissionsIn(message.channel).has("SEND_MESSAGES")) - return; const { DEFAULT_PREFIX } = require("../../config.json") diff --git a/events/client/ready.js b/events/client/ready.js index 764708cf..24826392 100644 --- a/events/client/ready.js +++ b/events/client/ready.js @@ -1,4 +1,5 @@ const chalk = require("chalk"); +const { ActivityType } = require("discord.js") const mongoose = require("mongoose"); var os = require('os-utils'); const { mongoPass } = require("../../config.json"); @@ -12,7 +13,7 @@ let textList = [' About handling command',' in: ' + guildin + ' Server.' + 'Serv client.user.setPresence({ status: "online" }); setInterval(() => { var text = textList[Math.floor(Math.random() * textList.length)]; - client.user.setActivity(text, { type: "WATCHING"}); + client.user.setActivity(text, { type: ActivityType.Watching }); }, 3000); let allMembers = new Set(); @@ -38,6 +39,7 @@ let textList = [' About handling command',' in: ' + guildin + ' Server.' + 'Serv mongoose .connect(mongoPass, { useNewUrlParser: true, + useFindAndModify: false, useUnifiedTopology: true, }) .then( diff --git a/events/guild/command.js b/events/guild/command.js index 2734ba3d..480a65c9 100644 --- a/events/guild/command.js +++ b/events/guild/command.js @@ -1,49 +1,42 @@ const prefixModel = require("../../database/guildData/prefix"); const escapeRegex = (str) => str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); -const { DEFAULT_PREFIX, OWNER_ID } = require('../../config') -const { Collection } = require("discord.js") +const { DEFAULT_PREFIX, OWNER_ID } = require('../../config.json') +const { Collection, EmbedBuilder } = require("discord.js") module.exports = async (message, cooldowns) => { let client = message.client; - const prefixData = await prefixModel.findOne({ + const data = await prefixModel.findOne({ GuildID: message.guild.id, }).catch(err=>console.log(err)) - if (prefixData) { - var PREFIX = prefixData.Prefix - } else if (!prefixData) { - PREFIX = DEFAULT_PREFIX + if (data) { + var PREFIX = data.Prefix + } else { + PREFIX = "!"; } client.prefix = PREFIX; if (message.author.bot) return; + if (!message.guild) return; - - if (!message.guild.me.permissionsIn(message.channel).has("SEND_MESSAGES")) - return; - - const prefixRegex = new RegExp( - `^(<@!?${client.user.id}>|${escapeRegex(PREFIX)})\\s*` - ); + const prefixRegex = new RegExp(`^(<@!?${client.user.id}>|${escapeRegex(PREFIX)})\\s*`); if (!prefixRegex.test(message.content)) return; const [, matchedPrefix] = message.content.match(prefixRegex); - const p = matchedPrefix.length; - const args = message.content.slice(p).trim().split(/ +/); + const args = message.content.slice(matchedPrefix.length).trim().split(/ +/); const commandName = args.shift().toLowerCase(); const command = client.commands.get(commandName) || - client.commands.find( - (cmd) => cmd.aliases && cmd.aliases.includes(commandName) - ); + client.commands.find((cmd) => cmd.aliases && cmd.aliases.includes(commandName)); - if (!command) return; //command enaled thing - if(command.enabled === false) { - return message.reply('This command is disabled!') + if (command.enabled) { + if(command.enabled === false) { + return message.reply('This command is disabled!') + } } // ownerOnly thing if(command.ownerOnly === true) { @@ -51,26 +44,25 @@ module.exports = async (message, cooldowns) => { return message.reply('This command is Owner only!') } } + console.log("Hello"); // user permissions handler - if (!message.member.permissions.has(command.userPerms || [])) { - if(command.userPermError === null || command.userPermError === undefined) { - return message.reply(`You need \`${command.userPerms}\` permissions to use this comand!`); - } else { - return message.reply(command.userPermError) + if (!message.member.permissions.has(command.userPerms || [])) { + if(command.userPermError === null || command.userPermError === undefined) { + return message.reply(`You need \`${command.userPerms}\` permission(s) to use this comand!`); + } else { + return message.reply(command.userPermError) + } } - } - - // bot permissions handler - if (!message.guild.me.permissions.has(command.botPerms || [])) { - if(command.botPermError === null || command.botPermError === undefined) { - return message.reply( - `Ups :/ I need \`${command.botPerms}\` premission|s to run this command correctly` - ); - } else { - return message.reply(command.botPermError) - } + if (!message.guild.members.me.permissions.has(command.botPerms || [])) { + if (command.botPermError === null || command.botPermError === undefined) { + return message.reply( + `Oops :/ I need \`${command.botPerms}\` permission(s) to run this command correctly` + ); + } else { + return message.reply(command.botPermError) + } } //guildOnly thing if(command.guildOnly === true) { @@ -97,11 +89,6 @@ module.exports = async (message, cooldowns) => { } - - - - - // cooldowns if (!cooldowns.has(command.name)) { cooldowns.set(command.name, new Collection()); @@ -128,13 +115,13 @@ module.exports = async (message, cooldowns) => { setTimeout(() => timestamps.delete(message.author.id), cooldownAmount); try { - command.run(client, message, args, p, cooldowns); + command.run(client, message, args, cooldowns); } catch (error) { console.error(error); - let embed2000 = new MessageEmbed() + let ILoveYou3000 = new EmbedBuilder() .setDescription("There was an error executing that command.") - .setColor("BLUE"); - message.channel.send({ embeds: [embed2000] }).catch(console.error); + .setColor("Blue"); + message.channel.send({ embeds: [ILoveYou000] }).catch(console.error); } }; /* diff --git a/events/guild/interactionCreate.js b/events/guild/interactionCreate.js index 0b0e7eab..2d550f40 100644 --- a/events/guild/interactionCreate.js +++ b/events/guild/interactionCreate.js @@ -1,7 +1,9 @@ +const { InteractionType } = require("discord.js"); + module.exports = async(interaction, client) => { const { OwnerID } = require('../../config.json') - if (!interaction.type !== interaction.ApplicationCommand) return; + if (!interaction.type === InteractionType.ApplicationCommand) return; const command = client.slash.get(interaction.commandName); if (!command) return interaction.reply({ content: 'an Erorr' }); diff --git a/events/interactions/menus/antilink.js b/events/interactions/menus/antilink.js index 12babeee..4a4d2fbe 100644 --- a/events/interactions/menus/antilink.js +++ b/events/interactions/menus/antilink.js @@ -5,8 +5,6 @@ module.exports = async(interaction, client) => { let msg = await interaction.channel.messages.fetch(interaction.message.id) if (interaction.values[0] === "antilink") { - await interaction.deferUpdate() - const data = await antilinkData.findOne({ GuildID: interaction.guild.id }) diff --git a/events/interactions/menus/automod.js b/events/interactions/menus/automod.js index a4cf79ce..7e306e5d 100644 --- a/events/interactions/menus/automod.js +++ b/events/interactions/menus/automod.js @@ -5,8 +5,6 @@ module.exports = async(interaction, client) => { let msg = await interaction.channel.messages.fetch(interaction.message.id) if (interaction.values[0] === "automod") { - await interaction.deferUpdate() - const data = await automodData.findOne({ GuildID: interaction.guild.id }) diff --git a/events/interactions/menus/autorole.js b/events/interactions/menus/autorole.js index 1798ce50..e96fe513 100644 --- a/events/interactions/menus/autorole.js +++ b/events/interactions/menus/autorole.js @@ -5,8 +5,6 @@ module.exports = async(interaction, client) => { let msg = await interaction.channel.messages.fetch(interaction.message.id) if (interaction.values[0] === "autorole") { - await interaction.deferUpdate() - const data = await autoroleData.findOne({ GuildID: interaction.guild.id }) diff --git a/events/interactions/menus/channelUpdates.js b/events/interactions/menus/channelUpdates.js index 8c59bd1c..266bb8b4 100644 --- a/events/interactions/menus/channelUpdates.js +++ b/events/interactions/menus/channelUpdates.js @@ -7,8 +7,6 @@ module.exports = async(interaction, client) => { let msg = await interaction.channel.messages.fetch(interaction.message.id) if (interaction.values[0] === "channel_logs") { - - await interaction.deferUpdate() const data = await channelData.findOne({ GuildID: interaction.guild.id @@ -21,7 +19,7 @@ module.exports = async(interaction, client) => { let channelID; - const collector = await interaction.channel.createMessageCollector({ filter, time: 60000 }) + const collector = await interaction.channel.createMessageCollector({ filter, time: 60_000 }) collector.on('collect', async(collected, returnValue) => { channelID = collected.content diff --git a/events/interactions/menus/help.js b/events/interactions/menus/help.js index c6ba306b..81871bb1 100644 --- a/events/interactions/menus/help.js +++ b/events/interactions/menus/help.js @@ -8,35 +8,31 @@ module.exports = async(interaction, client) => { let msg = await interaction.channel.messages.fetch(interaction.message.id) if (interaction.values[0] === "settings") { - await interaction.deferUpdate() - const settingsEmbed = new Discord.MessageEmbed() + const settingsEmbed = new Discord.EmbedBuilder() .setTitle("Config Commands") .setDescription( "`autorole`, `antilink`, `joinchannel`, `joinmessage`, `leavechannel`, `leavemessage` `prefix`" ) - .setColor("RANDOM"); + .setColor("Random"); await msg.edit({ embeds: [settingsEmbed] }); } else if (interaction.values[0] === "fun") { - await interaction.deferUpdate() - const funEmbed = new Discord.MessageEmbed() + const funEmbed = new Discord.EmbedBuilder() .setTitle("Fun Commands") .setDescription( "`8ball`, `ascii`, `clap`, `clyde`, `cowsay`, `dab`, `emojify`, `fliptext`, `greentext`, `hack`, `howgay`, `hug`, `joke`, `kill`, `orangetext`, `pokeimg`, `pp`, `respect`, `reverse`, `roast`, `slap`, `trivia`, `urban`, `vaportext`, `yomama`" ) - .setColor("RANDOM"); + .setColor("Random"); await msg.edit({ embeds: [funEmbed] }); } else if (interaction.values[0] === "image") { - await interaction.deferUpdate() - - const imageEmbed = new Discord.MessageEmbed() - .setColor("RANDOM") + const imageEmbed = new Discord.EmbedBuilder() + .setColor("Random") .setTitle("Image Commands") .setDescription( "`afraid`, `alert`, `amazeme`, `biden`,`changemymind`, `clyde`, `cryingfloor`, `disastergirl`, `dockofshame`, `doge`, `drake`, `facepalm`, `feelsgood`, `illegal`, `keanu`, `trigger`, `trumptweet`, `wasted`, `wideavatar`" @@ -46,9 +42,7 @@ module.exports = async(interaction, client) => { } else if (interaction.values[0] === "music") { - await interaction.deferUpdate(); - - const musicEmbed = new Discord.MessageEmbed() + const musicEmbed = new Discord.EmbedBuilder() .setTitle(`Music Commands`) .setDescription("`clearqueue`, `filter`, `filter list`, `info`, `jump`, `loop`, `lyrics`, `move`, `mute`, `pause`, `play`, `previoustrack`, `queue`, `remove`, `resume`, `unmute`, `volume`, `youtube`\n\n```Note: Music commands work only with slash commands!```") .setColor("BLUE") @@ -57,81 +51,74 @@ module.exports = async(interaction, client) => { } else if (interaction.values[0] === "info") { - await interaction.deferUpdate() - - const infoEmbed = new Discord.MessageEmbed() + const infoEmbed = new Discord.EmbedBuilder() .setTitle("Info Commands") .setDescription( "`botinfo`, `emojiid`, `help`, `invite`, `ping`, `policy`, `report`, `userinfo`, `userid`, `serverinfo`, `suggest`" ) - .setColor("RANDOM"); + .setColor("Random"); await msg.edit({ embeds: [infoEmbed] }) } else if (interaction.values[0] === "moderation") { - await interaction.deferUpdate() - const modEmbed = new Discord.MessageEmbed() + const modEmbed = new Discord.EmbedBuilder() .setTitle("Moderation Commands") .setDescription( "`kick`, `ban`, `softban`, `mute`, `unmute`, `tempmute`" ) - .setColor("RANDOM"); + .setColor("Random"); await msg.edit({ embeds: [modEmbed] }) } else if (interaction.values[0] === "nsfw") { - await interaction.deferUpdate() if (!interaction.channel.nsfw) { - const denyEmbed = new Discord.MessageEmbed() + const denyEmbed = new Discord.EmbedBuilder() .setDescription("You can view NSFW commands only in a NSFW channel!") .setColor("RED") return msg.edit({ embeds: [denyEmbed] }) } - const nsfwEmbed = new Discord.MessageEmbed() + const nsfwEmbed = new Discord.EmbedBuilder() .setTitle("NSFW Commands") .setDescription( "`4k`, `anal`,`asian`, `ass`, `blowjob`, `boobs`, `cumsluts`, `erokemo`, `danbooru`, `kitsune`, `hentai`, `hentaiass`, `hentaithigh`, `gonewild`, `milf`, `feetgif`, `pussy`, `porngif`, `urban`, `thigh`, `lewd`" ) - .setColor("RANDOM"); + .setColor("Random"); await msg.edit({ embeds: [nsfwEmbed] }) } else if (interaction.values[0] === "utility") { - await interaction.deferUpdate() - const utilityEmbed = new Discord.MessageEmbed() + const utilityEmbed = new Discord.EmbedBuilder() .setTitle("Utility Commands") .setDescription( "`avatar`, `animesearch`, `announce`, `calculator`, `clear`, `createrole`, `delchannel`, `delrole`, `enlargemoji`, `esay`, `giverole`, `google`, `imdb`, `lock`, `newtext`, `newvoice`, `nickname`, `poll`, `removerole`, `say`, `servericon`, `serverinfo`, `suggestion`, `translate`, `unlock`, `weather`, `wiki`" ) - .setColor("RANDOM"); + .setColor("Random"); await msg.edit({ embeds: [utilityEmbed] }) } else if (interaction.values[0] === "game") { - await interaction.deferUpdate() - const gameEmbed = new Discord.MessageEmbed() + const gameEmbed = new Discord.EmbedBuilder() .setTitle("Game Commands") .setDescription( - "`connect4`, `catchthefish`, `chaoswords`, `fasttype`, `fight`, `football`, `gunfight`, `guessthenumber`, `guessthepokemon`, `lieswatter`, `neverhaveiever`, `quickclick`, `rps`, `shuffleguess`, `snake`, `trivia`, `ttt`" + "`catchthefish`, `football`, `gunfight`" ) - .setColor("RANDOM"); + .setColor("Random"); await msg.edit({ embeds: [gameEmbed] }) } else if (interaction.values[0] === "activities") { - await interaction.deferUpdate() - const activityEmbed = new Discord.MessageEmbed() + const activityEmbed = new Discord.EmbedBuilder() .setTitle("Activity Commands") .setDescription( "`awkword`, `betrayal`, `chess`, `doodlecrew`, `fishington`, `lettertile`, `poker`, `spellcast`, `youtube`" ) - .setColor("RANDOM") + .setColor("Random") await msg.edit({ embeds: [activityEmbed]}) } diff --git a/events/interactions/menus/leaveChannel.js b/events/interactions/menus/leaveChannel.js index 41d18ec7..62b9efa9 100644 --- a/events/interactions/menus/leaveChannel.js +++ b/events/interactions/menus/leaveChannel.js @@ -20,7 +20,7 @@ module.exports = async(interaction, client) => { let channelID; - const collector = await interaction.channel.createMessageCollector({ filter, time: 60000 }) + const collector = await interaction.channel.createMessageCollector({ filter, time: 60_000 }) collector.on('collect', async(collected, returnValue) => { channelID = collected.content diff --git a/events/interactions/menus/leaveMessage.js b/events/interactions/menus/leaveMessage.js index 64ccbd23..9a618cf4 100644 --- a/events/interactions/menus/leaveMessage.js +++ b/events/interactions/menus/leaveMessage.js @@ -17,7 +17,7 @@ module.exports = async(interaction, client)=>{ await msg.edit("Please send the **MESSAGE** to be setup as Goodbye Message!") const filter = (m) => m.author.id === interaction.member.id - const collector = await interaction.channel.createMessageCollector({ filter, time: 60000 }) + const collector = await interaction.channel.createMessageCollector({ filter, time: 60_000 }) collector.on("collect", async(collected) => { diff --git a/events/interactions/menus/memberUpdates.js b/events/interactions/menus/memberUpdates.js index 33ad266e..16901e79 100644 --- a/events/interactions/menus/memberUpdates.js +++ b/events/interactions/menus/memberUpdates.js @@ -21,7 +21,7 @@ module.exports = async(interaction, client) => { let channelID; - const collector = await interaction.channel.createMessageCollector({ filter, time: 60000 }) + const collector = await interaction.channel.createMessageCollector({ filter, time: 60_000 }) collector.on('collect', async(collected, returnValue) => { channelID = collected.content diff --git a/events/interactions/menus/messageUpdates.js b/events/interactions/menus/messageUpdates.js index 4ef982ca..0e0469d0 100644 --- a/events/interactions/menus/messageUpdates.js +++ b/events/interactions/menus/messageUpdates.js @@ -21,7 +21,7 @@ module.exports = async(interaction, client) => { let channelID; - const collector = await interaction.channel.createMessageCollector({ filter, time: 60000 }) + const collector = await interaction.channel.createMessageCollector({ filter, time: 60_000 }) collector.on('collect', async(collected, returnValue) => { channelID = collected.content diff --git a/events/interactions/menus/prefix.js b/events/interactions/menus/prefix.js index 5a309235..d8b94524 100644 --- a/events/interactions/menus/prefix.js +++ b/events/interactions/menus/prefix.js @@ -18,10 +18,10 @@ module.exports = async(interaction, client)=> { const filter = (m) => m.author.id === interaction.member.id - const collector = await interaction.channel.createMessageCollector({ filter, time: 60000 }) + const collector = await interaction.channel.createMessageCollector({ filter, time: 60_000 }) - collector.on("collect", async(collected, returnValue)=> { - let prefix = collected.content + collector.on("collect", async(collected)=> { + let prefix = await collected.content if (prefix.length >= 5) { return msg.edit(`Prefix must be of less than 5 characters!`) @@ -47,7 +47,7 @@ module.exports = async(interaction, client)=> { await msg.edit('Please send the new prefix below!') const newFilter = (m) => m.author.id === interaction.member.id - const newCollector = await interaction.channel.createMessageCollector({ newFilter, time: 60000 }) + const newCollector = await interaction.channel.createMessageCollector({ newFilter, time: 60_000 }) newCollector.on("collect", async(collected, returnValue)=> { let newPrefix = collected.content diff --git a/events/interactions/menus/rep.js b/events/interactions/menus/rep.js index e5c09ac1..743e24f1 100644 --- a/events/interactions/menus/rep.js +++ b/events/interactions/menus/rep.js @@ -20,7 +20,7 @@ module.exports = async(interaction, client) => { let channelID; - const collector = await interaction.channel.createMessageCollector({ filter, time: 60000 }) + const collector = await interaction.channel.createMessageCollector({ filter, time: 60_000 }) collector.on('collect', async(collected, returnValue) => { channelID = collected.content diff --git a/events/interactions/menus/roleUpdates.js b/events/interactions/menus/roleUpdates.js index c050d3fb..e27989e2 100644 --- a/events/interactions/menus/roleUpdates.js +++ b/events/interactions/menus/roleUpdates.js @@ -21,7 +21,7 @@ module.exports = async(interaction, client) => { let channelID; - const collector = await interaction.channel.createMessageCollector({ filter, time: 60000 }) + const collector = await interaction.channel.createMessageCollector({ filter, time: 60_000 }) collector.on('collect', async(collected, returnValue) => { channelID = collected.content diff --git a/events/interactions/menus/serverUpdates.js b/events/interactions/menus/serverUpdates.js index 11e80425..4226543b 100644 --- a/events/interactions/menus/serverUpdates.js +++ b/events/interactions/menus/serverUpdates.js @@ -19,7 +19,7 @@ module.exports = async(interaction, client) => { let channelID; - const collector = await interaction.channel.createMessageCollector({ filter, time: 60000 }) + const collector = await interaction.channel.createMessageCollector({ filter, time: 60_000 }) collector.on('collect', async(collected, returnValue) => { channelID = collected.content diff --git a/events/interactions/menus/variables.js b/events/interactions/menus/variables.js index 142754cf..90822842 100644 --- a/events/interactions/menus/variables.js +++ b/events/interactions/menus/variables.js @@ -1,4 +1,4 @@ -const { MessageEmbed } = require("discord.js") +const { EmbedBuilder } = require("discord.js") module.exports = async(interaction, client) => { if (!interaction.isSelectMenu()) return; diff --git a/events/interactions/menus/voiceStateUpdates.js b/events/interactions/menus/voiceStateUpdates.js index 3933e430..69ab5ee5 100644 --- a/events/interactions/menus/voiceStateUpdates.js +++ b/events/interactions/menus/voiceStateUpdates.js @@ -21,7 +21,7 @@ module.exports = async(interaction, client) => { let channelID; - const collector = await interaction.channel.createMessageCollector({ filter, time: 60000 }) + const collector = await interaction.channel.createMessageCollector({ filter, time: 60_000 }) collector.on('collect', async(collected, returnValue) => { channelID = collected.content diff --git a/events/interactions/menus/welcomeChannel.js b/events/interactions/menus/welcomeChannel.js index a82e9c7e..449185f4 100644 --- a/events/interactions/menus/welcomeChannel.js +++ b/events/interactions/menus/welcomeChannel.js @@ -21,7 +21,7 @@ module.exports = async(interaction, client) => { let channelID; - const collector = await interaction.channel.createMessageCollector({ filter, time: 60000 }) + const collector = await interaction.channel.createMessageCollector({ filter, time: 60_000 }) collector.on('collect', async(collected, returnValue) => { channelID = collected.content diff --git a/events/interactions/menus/welcomeMessage.js b/events/interactions/menus/welcomeMessage.js index 096bc9f1..62ceec51 100644 --- a/events/interactions/menus/welcomeMessage.js +++ b/events/interactions/menus/welcomeMessage.js @@ -18,7 +18,7 @@ module.exports = async(interaction, client)=>{ const filter = (m) => m.author.id === interaction.member.id - const collector = await interaction.channel.createMessageCollector({ filter, time: 60000 }) + const collector = await interaction.channel.createMessageCollector({ filter, time: 60_000 }) collector.on("collect", async(collected) => { diff --git a/events/player/connectionCreate.js b/events/player/connectionCreate.js index b03dd14d..674b7ab8 100644 --- a/events/player/connectionCreate.js +++ b/events/player/connectionCreate.js @@ -1,4 +1,4 @@ -const { MessageEmbed } = require("discord.js"); +const { EmbedBuilder } = require("discord.js"); module.exports = async(queue, connection, client) => { console.log('Player Started!') diff --git a/events/player/trackAdd.js b/events/player/trackAdd.js index 743ad106..41a16980 100644 --- a/events/player/trackAdd.js +++ b/events/player/trackAdd.js @@ -1,12 +1,12 @@ -const { MessageEmbed } = require("discord.js"); +const { EmbedBuilder } = require("discord.js"); module.exports = async(queue, track) => { if (!queue.playing || queue.tracks.length <= 0) return; - const embed = new MessageEmbed() + const embed = new EmbedBuilder() .setTitle(`Track queued - Position ${queue.tracks.indexOf(track) +1}`) .setDescription(`[${track.title}](${track.url}) ~ [${track.requestedBy.toString()}]`) - .setColor(queue.guild.me.displayColor || "#00FFFF"); + .setColor(queue.guild.members.me.displayColor || "#00FFFF"); queue.metadata.editReply({ embeds: [embed], allowedMentions: { repliedUser: false } }).then(async(msg)=>{ setTimeout(function(){ diff --git a/events/player/trackStart.js b/events/player/trackStart.js index 95e096e4..69f3b1f9 100644 --- a/events/player/trackStart.js +++ b/events/player/trackStart.js @@ -1,13 +1,14 @@ -const { MessageEmbed , ButtonBuilder, ActionRowBuilder} = require("discord.js"); +const { EmbedBuilder , ButtonBuilder, ActionRowBuilder, ButtonStyle} = require("discord.js"); const { QueueRepeatMode } = require('discord-player') +const { wait } = require("node:timers/promises") module.exports = async(queue, track, client) => { if (!client.utils.havePermissions(queue.metadata.channel)) return; - const embed = new MessageEmbed() + const embed = new EmbedBuilder() .setTitle("Now playing") - .setColor(queue.guild.me.displayColor || "BLUE") + .setColor(queue.guild.members.me.displayColor || "BLUE") .setDescription(`[${track.title}](${track.url}) ~ [${track.requestedBy.toString()}]\n${queue.createProgressBar()}`) .setImage(`${track.thumbnail}`); @@ -52,11 +53,11 @@ module.exports = async(queue, track, client) => { .setEmoji("🔊") // A row cannot have more than 4 components! - const controlRow1 = new MessageActionRow() - .addComponents([playPause], [skip], [shuffle], [stop],) + const controlRow1 = new ActionRowBuilder() + .addComponents([playPause, skip, shuffle, stop]) - const controlRow2 = new MessageActionRow() - .addComponents([volumeLess], [repeat], [repeatThis], [volumeMore]) + const controlRow2 = new ActionRowBuilder() + .addComponents([volumeLess, repeat, repeatThis, volumeMore]) await queue.metadata.channel.send({ embeds: [embed], components: [controlRow1, controlRow2] }).then(async(msg)=>{ @@ -79,20 +80,29 @@ module.exports = async(queue, track, client) => { const filter = (user) => !user.bot || user.id === queue.metadata.member.id; - var collector = await msg.createMessageComponentCollector(filter, { - time: track.duration > 0 ? track.duration * 1000 : 600000 + const collector = await msg.createMessageComponentCollector(filter, { + time: track.duration > 0 ? track.duration * 1000 : 60_000 }); - collector.on("collect", async(button, user) => { + collector.on("collect", async(button) => { if (!queue) return; if (!track.durationMS) { collector.stop(); } + if (button.customId == "playPause") { + if (!client.utils.canModifyQueue(queue.metadata)) return; + if (!queue.connection.paused) { + queue.setPaused(true); + return queue.metadata.followUp({ content: "Paused the music!", ephemeral: true }) + } else if (queue.connection.paused) { + queue.setPaused(false); + return queue.metadata.followUp({ content: "Resumed the music!", ephemeral: true }) + } + } switch (button.customId) { - case "playPause": - await button.deferUpdate(); + /**case "playPause": if (!client.utils.canModifyQueue(queue.metadata)) return; if (!queue.connection.paused) { @@ -102,10 +112,10 @@ module.exports = async(queue, track, client) => { queue.setPaused(false); return queue.metadata.followUp({ content: "Resumed the music!", ephemeral: true }) } - break; + break;*/ case "skip": - await button.deferUpdate(); + if (!client.utils.canModifyQueue(queue.metadata)) return; if (queue.tracks.length < 3 && queue.repeatMode !== 3) { @@ -118,31 +128,31 @@ module.exports = async(queue, track, client) => { break; case "repeat": - await button.deferUpdate(); + if (!client.utils.canModifyQueue(queue.metadata)) return; - if (!queue.repeatMode) { + if (!queue.repeatMode || queue.repeatMode !== QueueRepeatMode.QUEUE) { queue.setRepeatMode(QueueRepeatMode.QUEUE) queue.metadata.followUp({ content: "Loop mode has been enabled!", ephemeral: true}) - } else if (queue.repeatMode) { + } else if (queue.repeatMode === QueueRepeatMode.QUEUE) { queue.setRepeatMode(QueueRepeatMode.OFF) queue.metadata.followUp({ content: "Loop mode has been disabled!", ephemeral: true}) } break; case "repeatThis": - await button.deferUpdate(); + if (!client.utils.canModifyQueue(queue.metadata)) return; - if (!queue.repeatMode) { + if (!queue.repeatMode || queue.repeatMode !== QueueRepeatMode.TRACK) { queue.setRepeatMode(QueueRepeatMode.TRACK) queue.metadata.followUp({ content: "Repeating current song now!", ephemeral: true}) - } else if (queue.repeatMode) { + } else if (queue.repeatMode === QueueRepeatMode.TRACK) { queue.setRepeatMode(QueueRepeatMode.OFF) queue.metadata.followUp({ content: "Repeating current song now!", ephemeral: true}) } break; case "stop": - await button.deferUpdate(); + if (!client.utils.canModifyQueue(queue.metadata)) return; queue.stop(); queue.metadata.followUp({ content: "Stopped the music!", ephemeral: true }) @@ -151,7 +161,7 @@ module.exports = async(queue, track, client) => { break; case "shuffle": - await button.deferUpdate(); + if (!client.utils.canModifyQueue(queue.metadata)) return; if (queue.tracks.length < 3) return queue.metadata.followUp({ content: "Need atleast `3` songs in the queue to shuffle!", ephemeral: true}) queue.shuffle(); @@ -159,7 +169,7 @@ module.exports = async(queue, track, client) => { break; case "volumeLess": - await button.deferUpdate(); + if (!client.utils.canModifyQueue(queue.metadata)) return; let vol; if (queue.volume === 0) return queue.metadata.followUp({ content: "Volume cannot be lower than 0!", ephemeral: true}) @@ -170,7 +180,7 @@ module.exports = async(queue, track, client) => { break; case "volumeMore": - await button.deferUpdate(); + if (!client.utils.canModifyQueue(queue.metadata)) return; let volume; if (queue.volume === 130) return queue.metadata.followUp({ content: "Volume cannot be higher than 130!", ephemeral: true}) diff --git a/functions/embeds/Embeds.js b/functions/embeds/Embeds.js index bd7eb37a..dd157d0b 100644 --- a/functions/embeds/Embeds.js +++ b/functions/embeds/Embeds.js @@ -1,4 +1,4 @@ -const { MessageEmbed, Interaction } = require("discord.js"); +const { EmbedBuilder, Interaction } = require("discord.js"); const { havePermissions } = require("../util/Util"); @@ -14,7 +14,7 @@ function baseEmbed(interaction) { const avatar = interaction.user?.displayAvatarURL({ dynamic: true }); const tag = interaction.user?.tag; - return new MessageEmbed() + return new EmbedBuilder() .setFooter(tag, avatar) .setColor(interaction.guild.me.displayColor || "#00FFFF") .setTimestamp(); @@ -29,7 +29,7 @@ function rootEmbed(interaction) { throw Error("'interaction' must be passed down as param! (baseEmbed)"); } - return new MessageEmbed() + return new EmbedBuilder() .setColor(interaction.guild.me.displayColor || "#00FFFF"); } @@ -48,7 +48,7 @@ function infoMessage(interaction, text) { throw Error("'text' must be passed down as param! (InfoMessage)"); } - const embedI = new MessageEmbed() + const embedI = new EmbedBuilder() .setDescription(text) .setColor(interaction.guild.me.displayColor || "#00FFFF"); @@ -69,9 +69,9 @@ function warnMessage(interaction, text) { throw Error("'text' must be passed down as param! (WarnMessage)"); } - const embedW = new MessageEmbed() + const embedW = new EmbedBuilder() .setDescription(text) - .setColor("ORANGE"); + .setColor("Orange"); return interaction.editReply({ ephemeral: true, embeds: [embedW], allowedMentions: { repliedUser: false } }).catch(console.error); } @@ -90,9 +90,9 @@ function errorMessage(interaction, text) { throw Error("'text' must be passed down as param! (ErrorMessage)"); } - const embedE = new MessageEmbed() + const embedE = new EmbedBuilder() .setDescription(text) - .setColor("RED"); + .setColor("Red"); return interaction.editReply({ ephemeral: true, embeds: [embedE], allowedMentions: { repliedUser: false } }).catch(console.error); } @@ -120,12 +120,12 @@ function queueMessage(client, queue, text, color) { if (!client.utils.havePermissions(queue.metadata.channel)) return queue.metadata.channel.send({ content: `**$text}**` }); - let colour = queue.guild.me.displayColor || "#00FFFF"; + let colour = queue.guild.members.me.displayColor || "#00FFFF"; if (color) colour = color; - const embedQ = new MessageEmbed() + const embedQ = new EmbedBuilder() .setDescription(text) - .setColor(colour); + .setColor("Blue"); return queue.metadata.channel.send({ embeds: [embedQ] }); } diff --git a/functions/util/Util.js b/functions/util/Util.js index ac6b5362..f567229e 100644 --- a/functions/util/Util.js +++ b/functions/util/Util.js @@ -62,15 +62,17 @@ async function sendErrorLog(client, error, type) { const { codeBlock } = require("@discordjs/builders"); - const embed = new DJS.MessageEmbed() + const embed = new DJS.EmbedBuilder() .setTitle("An error occurred") - .addField("Name", name, true) - .addField("Code", code.toString(), true) - .addField("httpStatus", httpStatus.toString(), true) - .addField("Timestamp", client.logger.now, true) - .addField("Request data", codeBlock(jsonString?.substr(0, 1020))) + .addFields([ + { name: "Name", value: name }, + { name: "Code", value: code.toString() }, + { name: "httpStatus", value: httpStatus.toString() }, + { name: "Timestamp", value: client.logger.now }, + { name: "Request data", value: codeBlock(jsonString?.substr(0, 1020)) } + ]) .setDescription(`${codeBlock(stack)}`) - .setColor(type === "error" ? "RED" : "ORANGE"); + .setColor(type === "error" ? "Red" : "Orange"); await hook.send({ embeds: [embed] }); } catch (e) { @@ -88,9 +90,9 @@ function havePermissions(resolveable) { const ch = "channel" in resolveable ? resolveable.channel : resolveable; if (ch instanceof DJS.ThreadChannel || ch instanceof DJS.DMChannel) return true; return ( - ch.permissionsFor(resolveable.guild.me)?.has(DJS.Permissions.FLAGS.VIEW_CHANNEL) && - ch.permissionsFor(resolveable.guild.me)?.has(DJS.Permissions.FLAGS.SEND_MESSAGES) && - ch.permissionsFor(resolveable.guild.me)?.has(DJS.Permissions.FLAGS.EMBED_LINKS) + ch.permissionsFor(resolveable.guild.members.me)?.has("ViewChannel") && + ch.permissionsFor(resolveable.guild.members.me)?.has("SendMessages") && + ch.permissionsFor(resolveable.guild.members.me)?.has("EmbedLinks") ); } @@ -190,20 +192,20 @@ function codeContent(string, extension = "") { */ function canModifyQueue(interaction) { const memberChannelId = interaction.member.voice.channelId; - const clientChannelId = interaction.guild.me.voice.channelId; + const clientChannelId = interaction.guild.members.me.voice.channelId; if (!memberChannelId) { - const embed1 = new DJS.MessageEmbed() + const embed1 = new DJS.EmbedBuilder() .setDescription("You need to join a voice channel first!") - .setColor("ORANGE"); + .setColor("Orange"); return interaction.editReply({ ephemeral: true, embeds: [embed1], allowedMentions: { repliedUser: false } }).catch(console.error); } if (memberChannelId !== clientChannelId) { - const embed2 = new DJS.MessageEmbed() + const embed2 = new DJS.EmbedBuilder() .setDescription("You must be in the same voice channel as me!") .setColor("ORANGE"); diff --git a/index.js b/index.js index 1ccabab2..7b007768 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,7 @@ const fs = require("fs"); const chalk = require("chalk"); -const { Client, Collection, GatewayIntentBits, MessageEmbed } = require("discord.js"); +const { Client, Collection, GatewayIntentBits, EmbedBuilder } = require("discord.js"); const { DEFAULT_PREFIX, BOT_TOKEN, ERROR_LOGS_CHANNEL, YT_COOKIE } = require("./config.json"); const { loadCommands } = require("./handler/loadCommands"); const { loadEvents } = require("./handler/loadEvents"); @@ -13,7 +13,7 @@ const Enmap = require("enmap"); const client = new Client({ allowedMentions: { parse: ["users", "roles"] }, - intents: 32767 + intents: 47007 }); const { checkValid } = require("./functions/validation/checkValid"); const Embeds = require("./functions/embeds/Embeds"); @@ -57,15 +57,15 @@ checkValid(); // Error Handling -process.on("uncaughtException", (err) => { +/**process.on("uncaughtException", (err) => { console.log("Uncaught Exception: " + err); - const exceptionembed = new MessageEmbed() + const exceptionembed = new EmbedBuilder() .setTitle("Uncaught Exception") .setDescription(`${err}`) - .setColor("RED") + .setColor("Red") client.channels.cache.get(ERROR_LOGS_CHANNEL).send({ embeds: [exceptionembed] }) -}); +});*/ process.on("unhandledRejection", (reason, promise) => { console.log( @@ -75,11 +75,13 @@ process.on("unhandledRejection", (reason, promise) => { reason.message ); - const rejectionembed = new MessageEmbed() + const rejectionembed = new EmbedBuilder() .setTitle("Unhandled Promise Rejection") - .addField("Promise", `${promise}`) - .addField("Reason", `${reason.message}`) - .setColor("RED") + .addFields([ + { name: "Promise", value: `${promise}` }, + { name: "Reason", value: `${reason.message}` }, + ]) + .setColor("Red") client.channels.cache.get(ERROR_LOGS_CHANNEL).send({ embeds: [rejectionembed] }) }); diff --git a/package-lock.json b/package-lock.json index 9fa21f1f..8e7a13da 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,28 +1,26 @@ { "name": "reaper-2.0", - "version": "v7.3.0-stable", + "version": "v7.3.1-stable", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "reaper-2.0", - "version": "v7.3.0-stable", + "version": "v7.3.1-stable", "license": "ISC", "dependencies": { - "@discord-player/downloader": "^3.0.1", - "@discordjs/builders": "^0.9.0", - "@discordjs/opus": "^0.7.0", - "@discordjs/voice": "^0.7.5", + "@discordjs/builders": "^1.1.0", + "@discordjs/opus": "^0.8.0", + "@discordjs/voice": "^0.11.0", "@iamtraction/google-translate": "^1.1.2", - "alexflipnote.js": "^2.5.0", "ascii-table": "0.0.9", + "better-sqlite3": "^7.6.2", "booru": "^2.3.2", "canvas": "^2.8.0", "canvas-constructor": "^5.0.1", "chalk": "^4.1.0", "colornames": "^1.1.1", "common-tags": "^1.8.0", - "config.json": "0.0.4", "cpu-stat": "^2.0.1", "dateformat": "^5.0.0", "discord-emoji": "^2.0.0", @@ -30,18 +28,17 @@ "discord-gamecord": "^1.1.4", "discord-nsfw": "^1.3.0", "discord-nsfw-simple": "^1.1.3", - "discord-player": "^5.1.0-dev.1636095464.54bb4b0", + "discord-player": "^5.3.0", "discord-together": "^1.3.1", - "discord.js": "^13.1.0", + "discord.js": "^14.2.0", "djs-games": "^2.0.11", "dotenv": "^10.0.0", "enmap": "^5.8.7", "ffmpeg": "^0.0.4", - "ffmpeg-static": "^4.4.0", + "ffmpeg-static": "^5.0.2", "figlet": "^1.5.0", "flip-text": "^1.1.0", "fs": "0.0.1-security", - "fs-nextra": "^0.5.1", "giphy-api": "^2.0.1", "google-play-scraper": "^8.0.2", "got": "^11.5.1", @@ -62,8 +59,6 @@ "random-puppy": "^1.1.0", "request": "^2.88.2", "request-promise-native": "^1.0.9", - "run": "^1.4.0", - "simple-youtube-api": "^5.2.1", "simply-djs": "^2.0.0", "snekfetch": "^4.0.4", "superagent": "^6.1.0", @@ -71,14 +66,13 @@ "urban": "^0.3.2", "util": "^0.12.3", "weky": "^3.1.8", - "ytdl-core": "^4.9.1", - "ytdl-core-discord": "^1.2.4" + "ytdl-core": "^4.11.0" }, "devDependencies": { "node": "16.13.0" }, "engines": { - "node": ">=16.6.0", + "node": ">=16.9.0", "npm": ">=7.20.0" } }, @@ -182,12 +176,12 @@ } }, "node_modules/@derhuerst/http-basic": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@derhuerst/http-basic/-/http-basic-8.2.1.tgz", - "integrity": "sha512-Rmn7qQQulw2sxJ8qGfZ7OuqMWuhz8V+L5xnYKMF5cXVcYqmgWqlVEAme90pF7Ya8OVhxVxLmhh0rI2k6t7ITWw==", + "version": "8.2.4", + "resolved": "https://registry.npmjs.org/@derhuerst/http-basic/-/http-basic-8.2.4.tgz", + "integrity": "sha512-F9rL9k9Xjf5blCz8HsJRO4diy111cayL2vkY2XE4r4t3n0yPXVYy3KD3nJ1qbrSn9743UWSXH4IwuCa/HWlGFw==", "dependencies": { "caseless": "^0.12.0", - "concat-stream": "^1.6.2", + "concat-stream": "^2.0.0", "http-response-object": "^3.0.1", "parse-cache-control": "^1.0.1" }, @@ -195,44 +189,27 @@ "node": ">=6.0.0" } }, - "node_modules/@discord-player/downloader": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@discord-player/downloader/-/downloader-3.0.1.tgz", - "integrity": "sha512-7A+gyfkqAl2u1j3FHjfujgubVxKgIFO7LuFrBujdfG/G82LLxshd7/+BcVbQTPvIk46kdAoqNp+g59cjJj8P0w==", - "dependencies": { - "youtube-dl-exec": "^1.2.4" - } - }, "node_modules/@discordjs/builders": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-0.9.0.tgz", - "integrity": "sha512-XM/5yrTxMF0SDKza32YzGDQO1t+qEJTaF8Zvxu/UOjzoqzMPPGQBjC1VgZxz8/CBLygW5qI+UVygMa88z13G3g==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.1.0.tgz", + "integrity": "sha512-EO8TSltiIc9Z1wE854wAFvv5AccqEtvjFmao9PPoxQhRaJ0hEb7FwWRTCA1jGg4ZWI3hcp4m+RET5ufZQz3rOg==", "dependencies": { - "@sindresorhus/is": "^4.2.0", - "discord-api-types": "^0.24.0", - "ts-mixer": "^6.0.0", - "tslib": "^2.3.1", - "zod": "^3.11.6" + "@sapphire/shapeshift": "^3.5.1", + "discord-api-types": "^0.36.3", + "fast-deep-equal": "^3.1.3", + "ts-mixer": "^6.0.1", + "tslib": "^2.4.0" }, "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@discordjs/builders/node_modules/discord-api-types": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.24.0.tgz", - "integrity": "sha512-X0uA2a92cRjowUEXpLZIHWl4jiX1NsUpDhcEOpa1/hpO1vkaokgZ8kkPtPih9hHth5UVQ3mHBu/PpB4qjyfJ4A==", - "engines": { - "node": ">=12" + "node": ">=16.9.0" } }, "node_modules/@discordjs/collection": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-0.2.1.tgz", - "integrity": "sha512-vhxqzzM8gkomw0TYRF3tgx7SwElzUlXT/Aa41O7mOcyN6wIJfj5JmDWaO5XGKsGSsNx7F3i5oIlrucCCWV1Nog==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-1.0.1.tgz", + "integrity": "sha512-5V/wswzR3r2RVYXLxxg4TvrAnBhVCNgHTXhC+OUtLoriJ072rPMHo+Iw1SS1vrCckp8Es40XM411+WkNRPaXFw==", "engines": { - "node": ">=14.0.0" + "node": ">=16.9.0" } }, "node_modules/@discordjs/form-data": { @@ -249,14 +226,14 @@ } }, "node_modules/@discordjs/node-pre-gyp": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/@discordjs/node-pre-gyp/-/node-pre-gyp-0.4.2.tgz", - "integrity": "sha512-V239Czn+DXFGLhhuccwEDBoTdgMGrRu30dOlzm1GzrSIjwFj01ZJerNX7x+CEX1NG1Q/1gGfOOkeZFNHjycrRA==", + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/@discordjs/node-pre-gyp/-/node-pre-gyp-0.4.4.tgz", + "integrity": "sha512-x569MMtdk6jdGo2S58iiZoyv4p/N2Ju8Nh6vvzZb1wyouV7IE3VuU0hg2kqUmTfD0z6r4uD6acvMTuc+iA3f8g==", "dependencies": { - "detect-libc": "^1.0.3", + "detect-libc": "^2.0.0", "https-proxy-agent": "^5.0.0", "make-dir": "^3.1.0", - "node-fetch": "^2.6.5", + "node-fetch": "^2.6.7", "nopt": "^5.0.0", "npmlog": "^5.0.1", "rimraf": "^3.0.2", @@ -267,6 +244,14 @@ "node-pre-gyp": "bin/node-pre-gyp" } }, + "node_modules/@discordjs/node-pre-gyp/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, "node_modules/@discordjs/node-pre-gyp/node_modules/are-we-there-yet": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz", @@ -279,10 +264,23 @@ "node": ">=10" } }, + "node_modules/@discordjs/node-pre-gyp/node_modules/detect-libc": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.1.tgz", + "integrity": "sha512-463v3ZeIrcWtdgIg6vI6XUncguvr2TnGl4SzDXinkt9mSLpBJKXT3mW6xT3VQdDN11+WVs29pgvivTc4Lp8v+w==", + "engines": { + "node": ">=8" + } + }, + "node_modules/@discordjs/node-pre-gyp/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, "node_modules/@discordjs/node-pre-gyp/node_modules/gauge": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.1.tgz", - "integrity": "sha512-6STz6KdQgxO4S/ko+AbjlFGGdGcknluoqU+79GOFCDqqyYj5OanQf9AjxwN0jCidtT+ziPMmPSt9E4hfQ0CwIQ==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz", + "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.2", @@ -290,14 +288,22 @@ "has-unicode": "^2.0.1", "object-assign": "^4.1.1", "signal-exit": "^3.0.0", - "string-width": "^1.0.1 || ^2.0.0", - "strip-ansi": "^3.0.1 || ^4.0.0", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", "wide-align": "^1.1.2" }, "engines": { "node": ">=10" } }, + "node_modules/@discordjs/node-pre-gyp/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, "node_modules/@discordjs/node-pre-gyp/node_modules/npmlog": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz", @@ -309,56 +315,95 @@ "set-blocking": "^2.0.0" } }, + "node_modules/@discordjs/node-pre-gyp/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@discordjs/node-pre-gyp/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/@discordjs/opus": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@discordjs/opus/-/opus-0.7.0.tgz", - "integrity": "sha512-3Xxa3dh7taSDwBAR5fLALZ/KTxvbMmHCMxYLYve6NlPO7Ms1CLmKqp/R4ZoVzkRGQVUVWEhaB1s0v9jfa2tfDg==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@discordjs/opus/-/opus-0.8.0.tgz", + "integrity": "sha512-uHE7OmHEmP8YM0yvsH3iSdacdeghO0qTkF0CIkV07Tg0qdyOLUVkoZHj5Zcpge9rC4qb/JvTS2xRgttSZLM43Q==", "hasInstallScript": true, "dependencies": { - "@discordjs/node-pre-gyp": "^0.4.2", - "node-addon-api": "^4.2.0" + "@discordjs/node-pre-gyp": "^0.4.4", + "node-addon-api": "^5.0.0" }, "engines": { "node": ">=12.0.0" } }, - "node_modules/@discordjs/voice": { - "version": "0.7.5", - "resolved": "https://registry.npmjs.org/@discordjs/voice/-/voice-0.7.5.tgz", - "integrity": "sha512-lUk+CmIXNKslT6DkC9IF9rpsqhzlTiedauUCPBzepjd4XWxwBZiyVIzR6QpbAirxkAwCoAbbje+3Ho71PGLEAw==", + "node_modules/@discordjs/rest": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@discordjs/rest/-/rest-1.0.1.tgz", + "integrity": "sha512-w08CTKVzzYYvKxEjXKOs9AdS7KQ1J502TrPfF8eCZ2lF6AfKuMP/32YgDakiwIyYTDjEQS/v0nKLSFcncHRMtg==", "dependencies": { - "@types/ws": "^8.2.0", - "discord-api-types": "^0.24.0", - "prism-media": "^1.3.2", - "tiny-typed-emitter": "^2.1.0", - "tslib": "^2.3.1", - "ws": "^8.2.3" + "@discordjs/collection": "^1.0.1", + "@sapphire/async-queue": "^1.3.2", + "@sapphire/snowflake": "^3.2.2", + "discord-api-types": "^0.36.3", + "file-type": "^17.1.4", + "tslib": "^2.4.0", + "undici": "^5.8.0" }, "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" + "node": ">=16.9.0" } }, - "node_modules/@discordjs/voice/node_modules/@types/ws": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.2.0.tgz", - "integrity": "sha512-cyeefcUCgJlEk+hk2h3N+MqKKsPViQgF5boi9TTHSK+PoR9KWBb/C5ccPcDyAqgsbAYHTwulch725DV84+pSpg==", + "node_modules/@discordjs/rest/node_modules/file-type": { + "version": "17.1.4", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-17.1.4.tgz", + "integrity": "sha512-3w/rJUUPBj6CYhVER3D5JCKwYJJiC36uj5dP+LnyubHI6H6FJo1TeWVCEA09YLVoZqV3/mLP26j9+Pz1GjAyjQ==", "dependencies": { - "@types/node": "*" + "readable-web-to-node-stream": "^3.0.2", + "strtok3": "^7.0.0-alpha.9", + "token-types": "^5.0.0-alpha.2" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sindresorhus/file-type?sponsor=1" } }, - "node_modules/@discordjs/voice/node_modules/discord-api-types": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.24.0.tgz", - "integrity": "sha512-X0uA2a92cRjowUEXpLZIHWl4jiX1NsUpDhcEOpa1/hpO1vkaokgZ8kkPtPih9hHth5UVQ3mHBu/PpB4qjyfJ4A==", + "node_modules/@discordjs/voice": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@discordjs/voice/-/voice-0.11.0.tgz", + "integrity": "sha512-6+9cj1dxzBJm7WJ9qyG2XZZQ8rcLl6x2caW0C0OxuTtMLAaEDntpb6lqMTFiBg/rDc4Rd59g1w0gJmib33CuHw==", + "dependencies": { + "@types/ws": "^8.5.3", + "discord-api-types": "^0.36.2", + "prism-media": "^1.3.4", + "tslib": "^2.4.0", + "ws": "^8.8.1" + }, "engines": { - "node": ">=12" + "node": ">=16.9.0" } }, "node_modules/@discordjs/voice/node_modules/ws": { - "version": "8.2.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.2.3.tgz", - "integrity": "sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.8.1.tgz", + "integrity": "sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA==", "engines": { "node": ">=10.0.0" }, @@ -827,12 +872,34 @@ } }, "node_modules/@sapphire/async-queue": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/@sapphire/async-queue/-/async-queue-1.1.4.tgz", - "integrity": "sha512-fFrlF/uWpGOX5djw5Mu2Hnnrunao75WGey0sP0J3jnhmrJ5TAPzHYOmytD5iN/+pMxS+f+u/gezqHa9tPhRHEA==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@sapphire/async-queue/-/async-queue-1.3.2.tgz", + "integrity": "sha512-rUpMLATsoAMnlN3gecAcr9Ecnw1vG7zi5Xr+IX22YzRzi1k9PF9vKzoT8RuEJbiIszjcimu3rveqUnvwDopz8g==", + "engines": { + "node": ">=v14.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@sapphire/shapeshift": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/@sapphire/shapeshift/-/shapeshift-3.5.1.tgz", + "integrity": "sha512-7JFsW5IglyOIUQI1eE0g6h06D/Far6HqpcowRScgCiLSqTf3hhkPWCWotVTtVycnDCMYIwPeaw6IEPBomKC8pA==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "lodash.uniqwith": "^4.5.0" + }, "engines": { - "node": ">=14", - "npm": ">=6" + "node": ">=v14.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@sapphire/snowflake": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@sapphire/snowflake/-/snowflake-3.2.2.tgz", + "integrity": "sha512-ula2O0kpSZtX9rKXNeQMrHwNd7E4jPDJYUXmEGTFdMRfyfMw+FPyh04oKMjAiDuOi64bYgVkOV3MjK+loImFhQ==", + "engines": { + "node": ">=v14.0.0", + "npm": ">=7.0.0" } }, "node_modules/@sindresorhus/is": { @@ -857,6 +924,11 @@ "node": ">=10" } }, + "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/bson": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/@types/bson/-/bson-4.0.5.tgz", @@ -889,11 +961,6 @@ "@types/node": "*" } }, - "node_modules/@types/minimist": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", - "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==" - }, "node_modules/@types/mongodb": { "version": "3.6.20", "resolved": "https://registry.npmjs.org/@types/mongodb/-/mongodb-3.6.20.tgz", @@ -908,10 +975,14 @@ "resolved": "https://registry.npmjs.org/@types/node/-/node-16.4.13.tgz", "integrity": "sha512-bLL69sKtd25w7p1nvg9pigE4gtKVpGTPojBFLMkGHXuUgap2sLqQt2qUnqmVCDfzGUL0DRNZP+1prIZJbMeAXg==" }, - "node_modules/@types/normalize-package-data": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", - "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==" + "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/responselike": { "version": "1.0.0", @@ -922,9 +993,9 @@ } }, "node_modules/@types/ws": { - "version": "7.4.7", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", - "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", + "version": "8.5.3", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.3.tgz", + "integrity": "sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==", "dependencies": { "@types/node": "*" } @@ -1016,14 +1087,6 @@ "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/alexflipnote.js": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/alexflipnote.js/-/alexflipnote.js-2.5.0.tgz", - "integrity": "sha512-X2ChEoGB9PSktkBgKh3lugos764+zoxNKfESdQRXT6vyvTIBozzxPE67qtQTAUZR0ZBvjY2FdyqL3T24KSDhaA==", - "dependencies": { - "node-fetch": "^2.6.1" - } - }, "node_modules/ansi-escapes": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", @@ -1108,17 +1171,6 @@ "sprintf-js": "~1.0.2" } }, - "node_modules/arrify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-3.0.0.tgz", - "integrity": "sha512-tLkvA81vQG/XqE2mjDkGQHoOINtMHtysSnemrmoGe6PydDPMRbVugqyk4A6V/WDWEfm3l+0d8anA9r8cv/5Jaw==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/ascii-table": { "version": "0.0.9", "resolved": "https://registry.npmjs.org/ascii-table/-/ascii-table-0.0.9.tgz", @@ -1148,11 +1200,6 @@ "node": ">=4" } }, - "node_modules/async": { - "version": "0.9.2", - "resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz", - "integrity": "sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0=" - }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -1223,64 +1270,13 @@ } }, "node_modules/better-sqlite3": { - "version": "7.4.3", - "resolved": "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-7.4.3.tgz", - "integrity": "sha512-07bKjClZg/f4KMVRkzWtoIvazVPcF1gsvVKVIXlxwleC2DxuIhnra3KCMlUT1rFeRYXXckot2a46UciF2d9KLw==", + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-7.6.2.tgz", + "integrity": "sha512-S5zIU1Hink2AH4xPsN0W43T1/AJ5jrPh7Oy07ocuW/AKYYY02GWzz9NH0nbSMn/gw6fDZ5jZ1QsHt1BXAwJ6Lg==", "hasInstallScript": true, "dependencies": { "bindings": "^1.5.0", - "prebuild-install": "^6.0.1", - "tar": "^6.1.0" - } - }, - "node_modules/bin-version": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/bin-version/-/bin-version-6.0.0.tgz", - "integrity": "sha512-nk5wEsP4RiKjG+vF+uG8lFsEn4d7Y6FVDamzzftSunXOoOcOOkzcWdKVlGgFFwlUQCj63SgnUkLLGF8v7lufhw==", - "dependencies": { - "execa": "^5.0.0", - "find-versions": "^5.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/bin-version-check": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/bin-version-check/-/bin-version-check-5.0.0.tgz", - "integrity": "sha512-Q3FMQnS5eZmrBGqmDXLs4dbAn/f+52voP6ykJYmweSA60t6DyH4UTSwZhtbK5UH+LBoWvDljILUQMLRUtsynsA==", - "dependencies": { - "bin-version": "^6.0.0", - "semver": "^7.3.5", - "semver-truncate": "^2.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/bin-version-check-cli": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/bin-version-check-cli/-/bin-version-check-cli-3.0.0.tgz", - "integrity": "sha512-uYtLWKcX87/HQApOWwVm4gRTlj0zjx9nz5EgjHRJpCFZSq3Ym/ao0/HqMUyGm+9OvzmKN9CGInzIuRgmUn0xYg==", - "dependencies": { - "arrify": "^3.0.0", - "bin-version-check": "^5.0.0", - "meow": "^9.0.0" - }, - "bin": { - "bin-version-check": "cli.js" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "prebuild-install": "^7.1.0" } }, "node_modules/bindings": { @@ -1452,38 +1448,6 @@ "node": ">=6" } }, - "node_modules/camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/camelcase-keys": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", - "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", - "dependencies": { - "camelcase": "^5.3.1", - "map-obj": "^4.0.0", - "quick-lru": "^4.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/camelcase-keys/node_modules/quick-lru": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", - "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", - "engines": { - "node": ">=8" - } - }, "node_modules/canvas": { "version": "2.8.0", "resolved": "https://registry.npmjs.org/canvas/-/canvas-2.8.0.tgz", @@ -1746,7 +1710,7 @@ "node_modules/colornames": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/colornames/-/colornames-1.1.1.tgz", - "integrity": "sha1-+IiQMGhcfE/54qVZ9Qd+t2qBb5Y=" + "integrity": "sha512-/pyV40IrsdulWv+wFPmERh9k/mjsPZ64yUMDmWrtj/k1nmgrzzIENWKdaVKyBbvFdQWqkcaRxr+polCo3VMe7A==" }, "node_modules/combined-stream": { "version": "1.0.8", @@ -1798,54 +1762,19 @@ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" }, "node_modules/concat-stream": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", - "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", + "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", "engines": [ - "node >= 0.8" + "node >= 6.0" ], "dependencies": { "buffer-from": "^1.0.0", "inherits": "^2.0.3", - "readable-stream": "^2.2.2", + "readable-stream": "^3.0.2", "typedarray": "^0.0.6" } }, - "node_modules/concat-stream/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/concat-stream/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/concat-stream/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/config.json": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/config.json/-/config.json-0.0.4.tgz", - "integrity": "sha1-3AJQEF3ZhIiMA3Ky9Mq72KL9Gvs=", - "dependencies": { - "nconf": "0.7.1" - } - }, "node_modules/console-control-strings": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", @@ -1877,22 +1806,6 @@ "node": ">=0.10.0" } }, - "node_modules/cross-fetch": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz", - "integrity": "sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ==", - "dependencies": { - "node-fetch": "2.6.1" - } - }, - "node_modules/cross-fetch/node_modules/node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", - "engines": { - "node": "4.x || >=6.0.0" - } - }, "node_modules/cross-spawn": { "version": "6.0.5", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", @@ -1944,14 +1857,6 @@ "type": "^1.0.1" } }, - "node_modules/dargs": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz", - "integrity": "sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==", - "engines": { - "node": ">=8" - } - }, "node_modules/dashdash": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", @@ -1992,34 +1897,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, - "node_modules/decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/decamelize-keys": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz", - "integrity": "sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk=", - "dependencies": { - "decamelize": "^1.1.0", - "map-obj": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/decamelize-keys/node_modules/map-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/decimal.js": { "version": "10.3.1", "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.3.1.tgz", @@ -2115,12 +1992,9 @@ } }, "node_modules/discord-api-types": { - "version": "0.22.0", - "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.22.0.tgz", - "integrity": "sha512-l8yD/2zRbZItUQpy7ZxBJwaLX/Bs2TGaCthRppk8Sw24LOIWg12t9JEreezPoYD0SQcC2htNNo27kYEpYW/Srg==", - "engines": { - "node": ">=12" - } + "version": "0.36.3", + "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.36.3.tgz", + "integrity": "sha512-bz/NDyG0KBo/tY14vSkrwQ/n3HKPf87a0WFW/1M9+tXYK+vp5Z5EksawfCWo2zkAc6o7CClc0eff1Pjrqznlwg==" }, "node_modules/discord-emoji": { "version": "2.0.1", @@ -2178,96 +2052,256 @@ "node-fetch": "^2.6.1" } }, - "node_modules/discord-nsfw": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/discord-nsfw/-/discord-nsfw-1.3.0.tgz", - "integrity": "sha512-DY3ZEFavsA3dvwNMbU+H3DsidwfsmDaZ7cCox6FwIn9uPG6yro+/e9KOevHclxHlqDHVmmNrosSl3ZIOLmbMDQ==", - "dependencies": { - "superagent": "^6.1.0" - } - }, - "node_modules/discord-nsfw-simple": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/discord-nsfw-simple/-/discord-nsfw-simple-1.1.3.tgz", - "integrity": "sha512-kD5j7J2nNvxcaqY/FXzKh7vyXRPcjrx3QELawuJkM5B5HEwsqVodqRgrLAPm+fhxLMqt1vOg0hXmfwME6n4pnQ==", + "node_modules/discord-gamecord/node_modules/@discordjs/builders": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-0.16.0.tgz", + "integrity": "sha512-9/NCiZrLivgRub2/kBc0Vm5pMBE5AUdYbdXsLu/yg9ANgvnaJ0bZKTY8yYnLbsEc/LYUP79lEIdC73qEYhWq7A==", + "deprecated": "no longer supported", "dependencies": { - "superagent": "^6.1.0" - } - }, - "node_modules/discord-player": { - "version": "5.1.0-dev.1636095464.54bb4b0", - "resolved": "https://registry.npmjs.org/discord-player/-/discord-player-5.1.0-dev.1636095464.54bb4b0.tgz", - "integrity": "sha512-e6XLN4BXw2xaT+P2grTKz9mT+Gtt3h1MQagt3EGIEK/sZhRG4aGO/fDiDcvgCxFFTpMZokvl7IsxCdWgAU8bFQ==", - "dependencies": { - "@discordjs/voice": "^0.7.2", - "discord-ytdl-core": "^5.0.4", - "libsodium-wrappers": "^0.7.9", - "soundcloud-scraper": "^5.0.2", - "spotify-url-info": "^2.2.3", - "tiny-typed-emitter": "^2.1.0", - "youtube-sr": "^4.1.9", - "ytdl-core": "^4.9.1" + "@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" }, - "funding": { - "url": "https://github.com/Androz2091/discord-player?sponsor=1" - } - }, - "node_modules/discord-together": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/discord-together/-/discord-together-1.3.1.tgz", - "integrity": "sha512-tGzdMUsj3fCcF4oTvgr7oCCDRqE2XQWSxJLkagZd8C8276Fo2p+QPLathy83FL2PULqEKRG0EJDgOcc3CKnnxA==", - "dependencies": { - "discord.js": "^13.1.0", - "node-fetch": "^2.6.1" + "engines": { + "node": ">=16.9.0" } }, - "node_modules/discord-ytdl-core": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/discord-ytdl-core/-/discord-ytdl-core-5.0.4.tgz", - "integrity": "sha512-O+G9wuCw5TERR9iHZFMYnYQbs/ZGudDc9cxa1OKSV5TdcBYrHGS1JqvE90ZvSQ6SmS4XvqtOf/Okls6yiGJ3sg==", - "dependencies": { - "prism-media": "^1.2.9" - }, - "funding": { - "type": "individual", - "url": "https://paypal.me/devsnowflake" + "node_modules/discord-gamecord/node_modules/@discordjs/collection": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-0.7.0.tgz", + "integrity": "sha512-R5i8Wb8kIcBAFEPLLf7LVBQKBDYUL+ekb23sOgpkpyGT+V4P7V83wTxcsqmX+PbqHt4cEHn053uMWfRqh/Z/nA==", + "deprecated": "no longer supported", + "engines": { + "node": ">=16.9.0" } }, - "node_modules/discord.js": { - "version": "13.1.0", - "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-13.1.0.tgz", - "integrity": "sha512-gxO4CXKdHpqA+WKG+f5RNnd3srTDj5uFJHgOathksDE90YNq/Qijkd2WlMgTTMS6AJoEnHxI7G9eDQHCuZ+xDA==", + "node_modules/discord-gamecord/node_modules/discord.js": { + "version": "13.9.2", + "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-13.9.2.tgz", + "integrity": "sha512-wShFlyAyxgQcWzINeufUoT1U0fmju+pPCRzPfJB7CaA0V1tQHc4e0PpO4NQif8sLfZvrQmEILBaIJ0G5I32OxQ==", "dependencies": { - "@discordjs/builders": "^0.5.0", - "@discordjs/collection": "^0.2.1", - "@discordjs/form-data": "^3.0.1", - "@sapphire/async-queue": "^1.1.4", - "@types/ws": "^7.4.7", - "discord-api-types": "^0.22.0", - "node-fetch": "^2.6.1", - "ws": "^7.5.1" + "@discordjs/builders": "^0.16.0", + "@discordjs/collection": "^0.7.0", + "@sapphire/async-queue": "^1.3.2", + "@types/node-fetch": "^2.6.2", + "@types/ws": "^8.5.3", + "discord-api-types": "^0.33.3", + "form-data": "^4.0.0", + "node-fetch": "^2.6.7", + "ws": "^8.8.1" }, "engines": { "node": ">=16.6.0", "npm": ">=7.0.0" } }, - "node_modules/discord.js/node_modules/@discordjs/builders": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-0.5.0.tgz", - "integrity": "sha512-HP5y4Rqw68o61Qv4qM5tVmDbWi4mdTFftqIOGRo33SNPpLJ1Ga3KEIR2ibKofkmsoQhEpLmopD1AZDs3cKpHuw==", + "node_modules/discord-gamecord/node_modules/discord.js/node_modules/discord-api-types": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.33.5.tgz", + "integrity": "sha512-dvO5M52v7m7Dy96+XUnzXNsQ/0npsYpU6dL205kAtEDueswoz3aU3bh1UMoK4cQmcGtB1YRyLKqp+DXi05lzFg==" + }, + "node_modules/discord-gamecord/node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", "dependencies": { - "@sindresorhus/is": "^4.0.1", - "discord-api-types": "^0.22.0", - "ow": "^0.27.0", - "ts-mixer": "^6.0.0", - "tslib": "^2.3.0" + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/discord-gamecord/node_modules/ws": { + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.8.1.tgz", + "integrity": "sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA==", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/discord-nsfw": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/discord-nsfw/-/discord-nsfw-1.3.0.tgz", + "integrity": "sha512-DY3ZEFavsA3dvwNMbU+H3DsidwfsmDaZ7cCox6FwIn9uPG6yro+/e9KOevHclxHlqDHVmmNrosSl3ZIOLmbMDQ==", + "dependencies": { + "superagent": "^6.1.0" + } + }, + "node_modules/discord-nsfw-simple": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/discord-nsfw-simple/-/discord-nsfw-simple-1.1.3.tgz", + "integrity": "sha512-kD5j7J2nNvxcaqY/FXzKh7vyXRPcjrx3QELawuJkM5B5HEwsqVodqRgrLAPm+fhxLMqt1vOg0hXmfwME6n4pnQ==", + "dependencies": { + "superagent": "^6.1.0" + } + }, + "node_modules/discord-player": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/discord-player/-/discord-player-5.3.0.tgz", + "integrity": "sha512-OskERYrsVqNvyq8tKkp3aV3NMY9dP5BhNeyn5NTTDohVd9eEE8P6rZGvxqORJl1OxXCTBLbiojNgLiFNsAIaow==", + "dependencies": { + "@discordjs/voice": "^0.11.0", + "libsodium-wrappers": "^0.7.10", + "soundcloud-scraper": "^5.0.3", + "spotify-url-info": "^3.1.2", + "tiny-typed-emitter": "^2.1.0", + "tslib": "^2.4.0", + "youtube-sr": "^4.3.0", + "ytdl-core": "^4.11.0" + }, + "funding": { + "url": "https://github.com/Androz2091/discord-player?sponsor=1" + } + }, + "node_modules/discord-together": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/discord-together/-/discord-together-1.3.1.tgz", + "integrity": "sha512-tGzdMUsj3fCcF4oTvgr7oCCDRqE2XQWSxJLkagZd8C8276Fo2p+QPLathy83FL2PULqEKRG0EJDgOcc3CKnnxA==", + "dependencies": { + "discord.js": "^13.1.0", + "node-fetch": "^2.6.1" + } + }, + "node_modules/discord-together/node_modules/@discordjs/builders": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-0.16.0.tgz", + "integrity": "sha512-9/NCiZrLivgRub2/kBc0Vm5pMBE5AUdYbdXsLu/yg9ANgvnaJ0bZKTY8yYnLbsEc/LYUP79lEIdC73qEYhWq7A==", + "deprecated": "no longer supported", + "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" + }, + "engines": { + "node": ">=16.9.0" + } + }, + "node_modules/discord-together/node_modules/@discordjs/collection": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-0.7.0.tgz", + "integrity": "sha512-R5i8Wb8kIcBAFEPLLf7LVBQKBDYUL+ekb23sOgpkpyGT+V4P7V83wTxcsqmX+PbqHt4cEHn053uMWfRqh/Z/nA==", + "deprecated": "no longer supported", + "engines": { + "node": ">=16.9.0" + } + }, + "node_modules/discord-together/node_modules/discord.js": { + "version": "13.9.2", + "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-13.9.2.tgz", + "integrity": "sha512-wShFlyAyxgQcWzINeufUoT1U0fmju+pPCRzPfJB7CaA0V1tQHc4e0PpO4NQif8sLfZvrQmEILBaIJ0G5I32OxQ==", + "dependencies": { + "@discordjs/builders": "^0.16.0", + "@discordjs/collection": "^0.7.0", + "@sapphire/async-queue": "^1.3.2", + "@types/node-fetch": "^2.6.2", + "@types/ws": "^8.5.3", + "discord-api-types": "^0.33.3", + "form-data": "^4.0.0", + "node-fetch": "^2.6.7", + "ws": "^8.8.1" }, "engines": { - "node": ">=14.0.0", + "node": ">=16.6.0", "npm": ">=7.0.0" } }, + "node_modules/discord-together/node_modules/discord.js/node_modules/discord-api-types": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.33.5.tgz", + "integrity": "sha512-dvO5M52v7m7Dy96+XUnzXNsQ/0npsYpU6dL205kAtEDueswoz3aU3bh1UMoK4cQmcGtB1YRyLKqp+DXi05lzFg==" + }, + "node_modules/discord-together/node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/discord-together/node_modules/ws": { + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.8.1.tgz", + "integrity": "sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA==", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/discord.js": { + "version": "14.2.0", + "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.2.0.tgz", + "integrity": "sha512-kIGhEeOB1d9k7whL9HCCuRuzK2GL7i/hTesYINOZ2szWm4TOsBVwRU+i9O/zDb2M+Gvff4SJ4EpAtCVV0okgVw==", + "dependencies": { + "@discordjs/builders": "^1.1.0", + "@discordjs/collection": "^1.0.1", + "@discordjs/rest": "^1.0.1", + "@sapphire/snowflake": "^3.2.2", + "@types/ws": "^8.5.3", + "discord-api-types": "^0.36.3", + "fast-deep-equal": "^3.1.3", + "lodash.snakecase": "^4.1.1", + "tslib": "^2.4.0", + "undici": "^5.8.2", + "ws": "^8.8.1" + }, + "engines": { + "node": ">=16.9.0" + } + }, + "node_modules/discord.js/node_modules/ws": { + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.8.1.tgz", + "integrity": "sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA==", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/djs-games": { "version": "2.0.11", "resolved": "https://registry.npmjs.org/djs-games/-/djs-games-2.0.11.tgz", @@ -2323,20 +2357,6 @@ "domelementtype": "1" } }, - "node_modules/dot-prop": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-6.0.1.tgz", - "integrity": "sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA==", - "dependencies": { - "is-obj": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/dotenv": { "version": "10.0.0", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz", @@ -2396,14 +2416,6 @@ "node": ">=6" } }, - "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dependencies": { - "is-arrayish": "^0.2.1" - } - }, "node_modules/es-abstract": { "version": "1.18.5", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.5.tgz", @@ -2774,126 +2786,6 @@ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-1.2.0.tgz", "integrity": "sha1-HIaZHYFq0eUEdQ5zh0Ik7PO+xQg=" }, - "node_modules/execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/execa/node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/execa/node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/execa/node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/execa/node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/execa/node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/execa/node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "engines": { - "node": ">=8" - } - }, - "node_modules/execa/node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/execa/node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "engines": { - "node": ">=8" - } - }, - "node_modules/execa/node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/exif-parser": { "version": "0.1.12", "resolved": "https://registry.npmjs.org/exif-parser/-/exif-parser-0.1.12.tgz", @@ -3000,9 +2892,9 @@ } }, "node_modules/ffmpeg-static": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/ffmpeg-static/-/ffmpeg-static-4.4.0.tgz", - "integrity": "sha512-NIJHVPXlSsIK9pYvsTPh4ZlppauorpPLLeOaIG7VOXWQck4Fx4Qi7Ahe+j8mj8KZXhWwCg3Hx46JdWAIOWLcpg==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/ffmpeg-static/-/ffmpeg-static-5.0.2.tgz", + "integrity": "sha512-rYeA04AGbvxbUxov6Cn/KDKIzw2rmzwPlgHoqn837NZt0xPdOVA9mJMILz9IX27R45hhSlXS6nThk85XxDivLg==", "hasInstallScript": true, "dependencies": { "@derhuerst/http-basic": "^8.2.0", @@ -3011,7 +2903,7 @@ "progress": "^2.0.3" }, "engines": { - "node": ">=10" + "node": ">=16" } }, "node_modules/figlet": { @@ -3057,32 +2949,6 @@ "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" }, - "node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-versions": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-5.0.0.tgz", - "integrity": "sha512-Jid3bdamPSNTb7r28PItNl/wm8frLj7NgEztJXK8UftodFRlynojEvUo4dyr5ftgfqgGhCF6DWaiJVFbpX3uPA==", - "dependencies": { - "semver-regex": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/flat-cache": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", @@ -3206,14 +3072,6 @@ "node": ">= 8" } }, - "node_modules/fs-nextra": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/fs-nextra/-/fs-nextra-0.5.1.tgz", - "integrity": "sha512-93pi+T9yVoiUduWeLCkxgnSHWiJoplFdINdUZtNhH//DCoW7/Ee3St/NjVIdkc0UuCeU9+WVWHK+AX2JmRIMBw==", - "engines": { - "node": ">=12.12.0" - } - }, "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -3339,7 +3197,7 @@ "node_modules/github-from-package": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", - "integrity": "sha1-l/tdlr/eiXMxPyDoKI75oWf6ZM4=" + "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==" }, "node_modules/glob": { "version": "7.1.7", @@ -3436,14 +3294,6 @@ "node": ">=6" } }, - "node_modules/hard-rejection": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", - "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", - "engines": { - "node": ">=6" - } - }, "node_modules/has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", @@ -3506,17 +3356,6 @@ "resolved": "https://registry.npmjs.org/himalaya/-/himalaya-1.1.0.tgz", "integrity": "sha512-LLase1dHCRMel68/HZTFft0N0wti0epHr3nNY7ynpLbyZpmrKMQ8YIpiOV77TM97cNpC8Wb2n6f66IRggwdWPw==" }, - "node_modules/hosted-git-info": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.0.2.tgz", - "integrity": "sha512-c9OGXbZ3guC/xOlCg1Ci/VgWlwsqDv1yMQL1CWqXDL0hDjXuNcq0zuR4xqPSuasI3kqFDhqSyTjREz5gzq0fXg==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/html-entities": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.3.2.tgz", @@ -3612,14 +3451,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, - "node_modules/human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", - "engines": { - "node": ">=10.17.0" - } - }, "node_modules/iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -3702,14 +3533,6 @@ "node": ">=0.8.19" } }, - "node_modules/indent-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", - "engines": { - "node": ">=8" - } - }, "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -3855,11 +3678,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" - }, "node_modules/is-bigint": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.3.tgz", @@ -3894,17 +3712,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-core-module": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.7.0.tgz", - "integrity": "sha512-ByY+tjCciCr+9nLryBYcSD50EOGWt95c7tIsKTG1J2ixKKXPvF7Ej3AVd+UfDydAJom3biBGDBALaO79ktwgEQ==", - "dependencies": { - "has": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-date-object": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", @@ -3971,22 +3778,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-obj": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-plain-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-promise": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", @@ -4082,14 +3873,6 @@ "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" }, - "node_modules/is-unix": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-unix/-/is-unix-2.0.1.tgz", - "integrity": "sha512-RyKp5JtlRnfOvnKtfBMPLw9ocqDe1NlPQ8Bt+geVzKGfMnLGj8z/Y2HOmk/aMf47P4EbrEt9dN6YGTT1fx4mZA==", - "engines": { - "node": ">= 12" - } - }, "node_modules/isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", @@ -4100,11 +3883,6 @@ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" }, - "node_modules/iso8601-duration": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/iso8601-duration/-/iso8601-duration-1.3.0.tgz", - "integrity": "sha512-K4CiUBzo3YeWk76FuET/dQPH03WE04R94feo5TSKQCXpoXQt9E4yx2CnY737QZnSAI3PI4WlKo/zfqizGx52QQ==" - }, "node_modules/isstream": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", @@ -4167,11 +3945,6 @@ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==" }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" - }, "node_modules/json-schema": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", @@ -4219,14 +3992,6 @@ "json-buffer": "3.0.1" } }, - "node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/ky": { "version": "0.24.0", "resolved": "https://registry.npmjs.org/ky/-/ky-0.24.0.tgz", @@ -4291,23 +4056,18 @@ } }, "node_modules/libsodium": { - "version": "0.7.9", - "resolved": "https://registry.npmjs.org/libsodium/-/libsodium-0.7.9.tgz", - "integrity": "sha512-gfeADtR4D/CM0oRUviKBViMGXZDgnFdMKMzHsvBdqLBHd9ySi6EtYnmuhHVDDYgYpAO8eU8hEY+F8vIUAPh08A==" + "version": "0.7.10", + "resolved": "https://registry.npmjs.org/libsodium/-/libsodium-0.7.10.tgz", + "integrity": "sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ==" }, "node_modules/libsodium-wrappers": { - "version": "0.7.9", - "resolved": "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.9.tgz", - "integrity": "sha512-9HaAeBGk1nKTRFRHkt7nzxqCvnkWTjn1pdjKgcUnZxj0FyOP4CnhgFhMdrFfgNsukijBGyBLpP2m2uKT1vuWhQ==", + "version": "0.7.10", + "resolved": "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz", + "integrity": "sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg==", "dependencies": { "libsodium": "^0.7.0" } }, - "node_modules/lines-and-columns": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", - "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=" - }, "node_modules/load-bmfont": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/load-bmfont/-/load-bmfont-1.4.1.tgz", @@ -4323,17 +4083,6 @@ "xtend": "^4.0.0" } }, - "node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", @@ -4369,11 +4118,6 @@ "resolved": "https://registry.npmjs.org/lodash.foreach/-/lodash.foreach-4.5.0.tgz", "integrity": "sha1-Gmo16s5AEoDH8G3d7DUWWrJ+PlM=" }, - "node_modules/lodash.isequal": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", - "integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA=" - }, "node_modules/lodash.map": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgz", @@ -4399,11 +4143,21 @@ "resolved": "https://registry.npmjs.org/lodash.reject/-/lodash.reject-4.6.0.tgz", "integrity": "sha1-gNZJLcFHCGS79YNTO2UfQqn1JBU=" }, + "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.some": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/lodash.some/-/lodash.some-4.6.0.tgz", "integrity": "sha1-G7nzFO9ri63tE7VJFpsqlF62jk0=" }, + "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": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", @@ -4432,15 +4186,15 @@ } }, "node_modules/m3u8stream": { - "version": "0.8.4", - "resolved": "https://registry.npmjs.org/m3u8stream/-/m3u8stream-0.8.4.tgz", - "integrity": "sha512-sco80Db+30RvcaIOndenX6E6oQNgTiBKeJbFPc+yDXwPQIkryfboEbCvXPlBRq3mQTCVPQO93TDVlfRwqpD35w==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/m3u8stream/-/m3u8stream-0.8.6.tgz", + "integrity": "sha512-LZj8kIVf9KCphiHmH7sbFQTVe4tOemb202fWwvJwR9W5ENW/1hxJN6ksAWGhQgSBSa3jyWhnjKU1Fw1GaOdbyA==", "dependencies": { - "miniget": "^4.0.0", + "miniget": "^4.2.2", "sax": "^1.2.4" }, "engines": { - "node": ">=10" + "node": ">=12" } }, "node_modules/make-dir": { @@ -4578,17 +4332,6 @@ "entities": "^2.0.0" } }, - "node_modules/map-obj": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", - "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/match-sorter": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/match-sorter/-/match-sorter-4.2.1.tgz", @@ -4641,47 +4384,6 @@ "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==", "optional": true }, - "node_modules/meow": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-9.0.0.tgz", - "integrity": "sha512-+obSblOQmRhcyBt62furQqRAQpNyWXo8BuQ5bN7dG8wmwQ+vwHKp/rCFD4CrTP8CsDQD1sjoZ94K417XEUk8IQ==", - "dependencies": { - "@types/minimist": "^1.2.0", - "camelcase-keys": "^6.2.2", - "decamelize": "^1.2.0", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "4.1.0", - "normalize-package-data": "^3.0.0", - "read-pkg-up": "^7.0.1", - "redent": "^3.0.0", - "trim-newlines": "^3.0.0", - "type-fest": "^0.18.0", - "yargs-parser": "^20.2.3" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/meow/node_modules/type-fest": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", - "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==" - }, "node_modules/methods": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", @@ -4744,20 +4446,12 @@ "dom-walk": "^0.1.0" } }, - "node_modules/min-indent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", - "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", - "engines": { - "node": ">=4" - } - }, "node_modules/miniget": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/miniget/-/miniget-4.2.1.tgz", - "integrity": "sha512-O/DduzDR6f+oDtVype9S/Qu5hhnx73EDYGyZKwU/qN82lehFZdfhoa4DT51SpsO+8epYrB3gcRmws56ROfTIoQ==", + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/miniget/-/miniget-4.2.2.tgz", + "integrity": "sha512-a7voNL1N5lDMxvTMExOkg+Fq89jM2vY8pAi9ZEWzZtfNmdfP6RXkvUtFnCAXoCv2T9k1v/fUJVaAEuepGcvLYA==", "engines": { - "node": ">=10" + "node": ">=12" } }, "node_modules/minimatch": { @@ -4776,27 +4470,6 @@ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" }, - "node_modules/minimist-options": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", - "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", - "dependencies": { - "arrify": "^1.0.1", - "is-plain-obj": "^1.1.0", - "kind-of": "^6.0.3" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/minimist-options/node_modules/arrify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/minipass": { "version": "3.1.5", "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.5.tgz", @@ -4992,19 +4665,6 @@ "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=" }, - "node_modules/nconf": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/nconf/-/nconf-0.7.1.tgz", - "integrity": "sha1-7ktWHdl5o8WNsSLjjxltSdYa61s=", - "dependencies": { - "async": "~0.9.0", - "ini": "1.x.x", - "optimist": "~0.6.0" - }, - "engines": { - "node": ">= 0.4.0" - } - }, "node_modules/nekos.life": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/nekos.life/-/nekos.life-2.0.7.tgz", @@ -5037,25 +4697,20 @@ } }, "node_modules/node-abi": { - "version": "2.30.1", - "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.30.1.tgz", - "integrity": "sha512-/2D0wOQPgaUWzVSVgRMx+trKJRC2UG4SUc4oCJoXx9Uxjtp0Vy3/kt7zcbxHF8+Z/pK3UloLWzBISg72brfy1w==", + "version": "3.22.0", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.22.0.tgz", + "integrity": "sha512-u4uAs/4Zzmp/jjsD9cyFYDXeISfUWaAVWshPmDZOFOv4Xl4SbzTXm53I04C2uRueYJ+0t5PEtLH/owbn2Npf/w==", "dependencies": { - "semver": "^5.4.1" - } - }, - "node_modules/node-abi/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "bin": { - "semver": "bin/semver" + "semver": "^7.3.5" + }, + "engines": { + "node": ">=10" } }, "node_modules/node-addon-api": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.2.0.tgz", - "integrity": "sha512-eazsqzwG2lskuzBqCGPi7Ac2UgOoMz8JVOXVhTvvPDYhthvNpefx8jWD8Np7Gv+2Sz0FlPWZk0nJV0z598Wn8Q==" + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-5.0.0.tgz", + "integrity": "sha512-CvkDw2OEnme7ybCykJpVcKH+uAOLV2qLqiyla128dN9TkEWfrYmxG6C2boDe5KcNQqZF3orkqzGgOMvZ/JNekA==" }, "node_modules/node-bin-setup": { "version": "1.0.6", @@ -5064,14 +4719,22 @@ "dev": true }, "node_modules/node-fetch": { - "version": "2.6.5", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.5.tgz", - "integrity": "sha512-mmlIVHJEu5rnIxgEgez6b9GgWXbkZj5YZ7fx+2r94a2E+Uirsp6HsPTPlomfdHtpt/B0cdKviwkoaM6pyvUOpQ==", + "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/node-superfetch": { @@ -5113,20 +4776,6 @@ "node": ">=6" } }, - "node_modules/normalize-package-data": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", - "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", - "dependencies": { - "hosted-git-info": "^4.0.1", - "is-core-module": "^2.5.0", - "semver": "^7.3.4", - "validate-npm-package-license": "^3.0.1" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/normalize-url": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", @@ -5138,25 +4787,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dependencies": { - "path-key": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/npm-run-path/node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "engines": { - "node": ">=8" - } - }, "node_modules/npmlog": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", @@ -5268,20 +4898,6 @@ "node": ">=4" } }, - "node_modules/optimist": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", - "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=", - "dependencies": { - "minimist": "~0.0.1", - "wordwrap": "~0.0.2" - } - }, - "node_modules/optimist/node_modules/minimist": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz", - "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=" - }, "node_modules/optional-require": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/optional-require/-/optional-require-1.0.3.tgz", @@ -5327,25 +4943,6 @@ "node": "*" } }, - "node_modules/ow": { - "version": "0.27.0", - "resolved": "https://registry.npmjs.org/ow/-/ow-0.27.0.tgz", - "integrity": "sha512-SGnrGUbhn4VaUGdU0EJLMwZWSupPmF46hnTRII7aCLCrqixTAC5eKo8kI4/XXf1eaaI8YEVT+3FeGNJI9himAQ==", - "dependencies": { - "@sindresorhus/is": "^4.0.1", - "callsites": "^3.1.0", - "dot-prop": "^6.0.1", - "lodash.isequal": "^4.5.0", - "type-fest": "^1.2.1", - "vali-date": "^1.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/p-cancelable": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-2.1.1.tgz", @@ -5354,39 +4951,6 @@ "node": ">=8" } }, - "node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "engines": { - "node": ">=6" - } - }, "node_modules/pako": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", @@ -5425,30 +4989,13 @@ "node_modules/parse-cache-control": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parse-cache-control/-/parse-cache-control-1.0.1.tgz", - "integrity": "sha1-juqz5U+laSD+Fro493+iGqzC104=" + "integrity": "sha512-60zvsJReQPX5/QP0Kzfd/VrpjScIQ7SHBW6bFCYfEP+fp0Eppr1SHhIO5nd1PjZtvclzSzES9D/p5nFJurwfWg==" }, "node_modules/parse-headers": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.4.tgz", "integrity": "sha512-psZ9iZoCNFLrgRjZ1d8mn0h9WRqJwFxM9q3x7iUjN/YT2OksthDJ5TiPCu2F38kS4zutqfW+YdVVkBZZx3/1aw==" }, - "node_modules/parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dependencies": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/parse-ms": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-2.1.0.tgz", @@ -5479,14 +5026,6 @@ "util": "^0.10.3" } }, - "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "engines": { - "node": ">=8" - } - }, "node_modules/path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", @@ -5508,11 +5047,6 @@ "node": ">=4" } }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" - }, "node_modules/path/node_modules/inherits": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", @@ -5526,6 +5060,18 @@ "inherits": "2.0.3" } }, + "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/performance-now": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", @@ -5556,21 +5102,20 @@ } }, "node_modules/prebuild-install": { - "version": "6.1.4", - "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-6.1.4.tgz", - "integrity": "sha512-Z4vpywnK1lBg+zdPCVCsKq0xO66eEV9rWo2zrROGGiRS4JtueBOdlB1FnY8lcy7JsUud/Q3ijUxyWN26Ika0vQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.1.tgz", + "integrity": "sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==", "dependencies": { - "detect-libc": "^1.0.3", + "detect-libc": "^2.0.0", "expand-template": "^2.0.3", "github-from-package": "0.0.0", "minimist": "^1.2.3", "mkdirp-classic": "^0.5.3", "napi-build-utils": "^1.0.1", - "node-abi": "^2.21.0", - "npmlog": "^4.0.1", + "node-abi": "^3.3.0", "pump": "^3.0.0", "rc": "^1.2.7", - "simple-get": "^3.0.3", + "simple-get": "^4.0.0", "tar-fs": "^2.0.0", "tunnel-agent": "^0.6.0" }, @@ -5578,7 +5123,39 @@ "prebuild-install": "bin.js" }, "engines": { - "node": ">=6" + "node": ">=10" + } + }, + "node_modules/prebuild-install/node_modules/detect-libc": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.1.tgz", + "integrity": "sha512-463v3ZeIrcWtdgIg6vI6XUncguvr2TnGl4SzDXinkt9mSLpBJKXT3mW6xT3VQdDN11+WVs29pgvivTc4Lp8v+w==", + "engines": { + "node": ">=8" + } + }, + "node_modules/prebuild-install/node_modules/simple-get": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz", + "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "decompress-response": "^6.0.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" } }, "node_modules/prelude-ls": { @@ -5612,12 +5189,12 @@ } }, "node_modules/prism-media": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/prism-media/-/prism-media-1.3.2.tgz", - "integrity": "sha512-L6UsGHcT6i4wrQhFF1aPK+MNYgjRqR2tUoIqEY+CG1NqVkMjPRKzS37j9f8GiYPlD6wG9ruBj+q5Ax+bH8Ik1g==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/prism-media/-/prism-media-1.3.4.tgz", + "integrity": "sha512-eW7LXORkTCQznZs+eqe9VjGOrLBxcBPXgNyHXMTSRVhphvd/RrxgIR7WaWt4fkLuhshcdT5KHL88LAfcvS3f5g==", "peerDependencies": { - "@discordjs/opus": "^0.5.0", - "ffmpeg-static": "^4.2.7 || ^3.0.0 || ^2.4.0", + "@discordjs/opus": "^0.8.0", + "ffmpeg-static": "^5.0.2 || ^4.2.7 || ^3.0.0 || ^2.4.0", "node-opus": "^0.3.3", "opusscript": "^0.0.8" }, @@ -5784,76 +5361,6 @@ "rc": "cli.js" } }, - "node_modules/read-pkg": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", - "dependencies": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/read-pkg-up": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", - "dependencies": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/read-pkg-up/node_modules/type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "engines": { - "node": ">=8" - } - }, - "node_modules/read-pkg/node_modules/hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" - }, - "node_modules/read-pkg/node_modules/normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "node_modules/read-pkg/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/read-pkg/node_modules/type-fest": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", - "engines": { - "node": ">=8" - } - }, "node_modules/readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -5867,16 +5374,19 @@ "node": ">= 6" } }, - "node_modules/redent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", - "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "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": { - "indent-string": "^4.0.0", - "strip-indent": "^3.0.0" + "readable-stream": "^3.6.0" }, "engines": { "node": ">=8" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" } }, "node_modules/regenerator-runtime": { @@ -5977,18 +5487,6 @@ "node": ">= 0.12" } }, - "node_modules/resolve": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", - "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", - "dependencies": { - "is-core-module": "^2.2.0", - "path-parse": "^1.0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/resolve-alpn": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/resolve-alpn/-/resolve-alpn-1.2.0.tgz", @@ -6053,20 +5551,6 @@ "url": "https://github.com/fb55/entities?sponsor=1" } }, - "node_modules/run": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/run/-/run-1.4.0.tgz", - "integrity": "sha1-4X2ekEOrL+F3dsspnhI3848LT/o=", - "dependencies": { - "minimatch": "*" - }, - "bin": { - "runjs": "cli.js" - }, - "engines": { - "node": ">=v0.9.0" - } - }, "node_modules/run-async": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", @@ -6151,36 +5635,6 @@ "node": ">=10" } }, - "node_modules/semver-regex": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-4.0.1.tgz", - "integrity": "sha512-cByCq+HYEpHMMx5oys/YqkUnUfVf4HHnG3a65rXZQgSVpnUSE68dD3FFowDL7q2KqUjxBTc3iDEJ7/qPsRXe1Q==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/semver-truncate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/semver-truncate/-/semver-truncate-2.0.0.tgz", - "integrity": "sha512-Rh266MLDYNeML5h90ttdMwfXe1+Nc4LAWd9X1KdJe8pPHP4kFmvLZALtsMNHNdvTyQygbEC0D59sIz47DIaq8w==", - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/semver-truncate/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "bin": { - "semver": "bin/semver.js" - } - }, "node_modules/serialize-javascript": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz", @@ -6292,15 +5746,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/simple-youtube-api": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/simple-youtube-api/-/simple-youtube-api-5.2.1.tgz", - "integrity": "sha512-vmndP9Bkh35tifn2OwY+th2imSsfYtmDqczgdOW5yEARFzvSoR8VSQFsivJnctfV5QHQUL6VrOpNdbmDRLh9Bg==", - "dependencies": { - "iso8601-duration": "^1.2.0", - "node-fetch": "^2.6.0" - } - }, "node_modules/simply-djs": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/simply-djs/-/simply-djs-2.0.0.tgz", @@ -6312,6 +5757,89 @@ "rss-parser": "^3.12.0" } }, + "node_modules/simply-djs/node_modules/@discordjs/builders": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-0.16.0.tgz", + "integrity": "sha512-9/NCiZrLivgRub2/kBc0Vm5pMBE5AUdYbdXsLu/yg9ANgvnaJ0bZKTY8yYnLbsEc/LYUP79lEIdC73qEYhWq7A==", + "deprecated": "no longer supported", + "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" + }, + "engines": { + "node": ">=16.9.0" + } + }, + "node_modules/simply-djs/node_modules/@discordjs/collection": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-0.7.0.tgz", + "integrity": "sha512-R5i8Wb8kIcBAFEPLLf7LVBQKBDYUL+ekb23sOgpkpyGT+V4P7V83wTxcsqmX+PbqHt4cEHn053uMWfRqh/Z/nA==", + "deprecated": "no longer supported", + "engines": { + "node": ">=16.9.0" + } + }, + "node_modules/simply-djs/node_modules/discord.js": { + "version": "13.9.2", + "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-13.9.2.tgz", + "integrity": "sha512-wShFlyAyxgQcWzINeufUoT1U0fmju+pPCRzPfJB7CaA0V1tQHc4e0PpO4NQif8sLfZvrQmEILBaIJ0G5I32OxQ==", + "dependencies": { + "@discordjs/builders": "^0.16.0", + "@discordjs/collection": "^0.7.0", + "@sapphire/async-queue": "^1.3.2", + "@types/node-fetch": "^2.6.2", + "@types/ws": "^8.5.3", + "discord-api-types": "^0.33.3", + "form-data": "^4.0.0", + "node-fetch": "^2.6.7", + "ws": "^8.8.1" + }, + "engines": { + "node": ">=16.6.0", + "npm": ">=7.0.0" + } + }, + "node_modules/simply-djs/node_modules/discord.js/node_modules/discord-api-types": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.33.5.tgz", + "integrity": "sha512-dvO5M52v7m7Dy96+XUnzXNsQ/0npsYpU6dL205kAtEDueswoz3aU3bh1UMoK4cQmcGtB1YRyLKqp+DXi05lzFg==" + }, + "node_modules/simply-djs/node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/simply-djs/node_modules/ws": { + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.8.1.tgz", + "integrity": "sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA==", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/slice-ansi": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz", @@ -6361,9 +5889,9 @@ "deprecated": "use node-fetch instead" }, "node_modules/soundcloud-scraper": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/soundcloud-scraper/-/soundcloud-scraper-5.0.2.tgz", - "integrity": "sha512-QAPvRIG4eefc7JdmCQCG/QEhm4D90XgHbe9lJMHmKIxU0INdAD2LycUR1m0mCIKF3F2dk4NvGEkxGfVLI8Af+A==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/soundcloud-scraper/-/soundcloud-scraper-5.0.3.tgz", + "integrity": "sha512-AmS9KmK7mMaPVzHzBk40rANpAttZila3+iAet6EA47EeiTBUzVwjq4B+1LCOLtgPmzDSGk0qn+LZOEd5UhnZTQ==", "dependencies": { "cheerio": "^1.0.0-rc.10", "m3u8stream": "^0.8.4", @@ -6371,42 +5899,84 @@ } }, "node_modules/soundcloud-scraper/node_modules/cheerio": { - "version": "1.0.0-rc.10", - "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.10.tgz", - "integrity": "sha512-g0J0q/O6mW8z5zxQ3A8E8J1hUgp4SMOvEoW/x84OwyHKe/Zccz83PVT4y5Crcr530FV6NgmKI1qvGTKVl9XXVw==", + "version": "1.0.0-rc.12", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.12.tgz", + "integrity": "sha512-VqR8m68vM46BNnuZ5NtnGBKIE/DfN0cRIzg9n40EIq9NOv90ayxLBXA8fXC5gquFRGJSTRqBq25Jt2ECLR431Q==", "dependencies": { - "cheerio-select": "^1.5.0", - "dom-serializer": "^1.3.2", - "domhandler": "^4.2.0", - "htmlparser2": "^6.1.0", - "parse5": "^6.0.1", - "parse5-htmlparser2-tree-adapter": "^6.0.1", - "tslib": "^2.2.0" + "cheerio-select": "^2.1.0", + "dom-serializer": "^2.0.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1", + "htmlparser2": "^8.0.1", + "parse5": "^7.0.0", + "parse5-htmlparser2-tree-adapter": "^7.0.0" + }, + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/cheeriojs/cheerio?sponsor=1" + } + }, + "node_modules/soundcloud-scraper/node_modules/cheerio-select": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cheerio-select/-/cheerio-select-2.1.0.tgz", + "integrity": "sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==", + "dependencies": { + "boolbase": "^1.0.0", + "css-select": "^5.1.0", + "css-what": "^6.1.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/soundcloud-scraper/node_modules/css-select": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz", + "integrity": "sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==", + "dependencies": { + "boolbase": "^1.0.0", + "css-what": "^6.1.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", + "nth-check": "^2.0.1" }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/soundcloud-scraper/node_modules/css-what": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", + "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==", "engines": { "node": ">= 6" }, "funding": { - "url": "https://github.com/cheeriojs/cheerio?sponsor=1" + "url": "https://github.com/sponsors/fb55" } }, "node_modules/soundcloud-scraper/node_modules/dom-serializer": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.2.tgz", - "integrity": "sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", + "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", "dependencies": { - "domelementtype": "^2.0.1", - "domhandler": "^4.2.0", - "entities": "^2.0.0" + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" }, "funding": { "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" } }, "node_modules/soundcloud-scraper/node_modules/domelementtype": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", - "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", "funding": [ { "type": "github", @@ -6415,11 +5985,11 @@ ] }, "node_modules/soundcloud-scraper/node_modules/domhandler": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.2.tgz", - "integrity": "sha512-PzE9aBMsdZO8TK4BnuJwH0QT41wgMbRzuZrHUcpYncEjmQazq8QEaBWgLG7ZyC/DAZKEgglpIA6j4Qn/HmxS3w==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", + "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", "dependencies": { - "domelementtype": "^2.2.0" + "domelementtype": "^2.3.0" }, "engines": { "node": ">= 4" @@ -6429,30 +5999,33 @@ } }, "node_modules/soundcloud-scraper/node_modules/domutils": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", - "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.0.1.tgz", + "integrity": "sha512-z08c1l761iKhDFtfXO04C7kTdPBLi41zwOZl00WS8b5eiaebNpY00HKbztwBq+e3vyqWNwWF3mP9YLUeqIrF+Q==", "dependencies": { - "dom-serializer": "^1.0.1", - "domelementtype": "^2.2.0", - "domhandler": "^4.2.0" + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.1" }, "funding": { "url": "https://github.com/fb55/domutils?sponsor=1" } }, "node_modules/soundcloud-scraper/node_modules/entities": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", - "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.3.1.tgz", + "integrity": "sha512-o4q/dYJlmyjP2zfnaWDUC6A3BQFmVTX+tZPezK7k0GLSU9QYCauscf5Y+qcEPzKL+EixVouYDgLQK5H9GrLpkg==", + "engines": { + "node": ">=0.12" + }, "funding": { "url": "https://github.com/fb55/entities?sponsor=1" } }, "node_modules/soundcloud-scraper/node_modules/htmlparser2": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-6.1.0.tgz", - "integrity": "sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.1.tgz", + "integrity": "sha512-4lVbmc1diZC7GUJQtRQ5yBAeUCL1exyMwmForWkRLnwyzWBFxN633SALPMGYaWZvKe9j1pRZJpauvmxENSp/EA==", "funding": [ "https://github.com/fb55/htmlparser2?sponsor=1", { @@ -6461,65 +6034,70 @@ } ], "dependencies": { - "domelementtype": "^2.0.1", - "domhandler": "^4.0.0", - "domutils": "^2.5.2", - "entities": "^2.0.0" + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", + "entities": "^4.3.0" } }, - "node_modules/sparse-bitfield": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", - "integrity": "sha1-/0rm5oZWBWuks+eSqzM004JzyhE=", - "optional": true, + "node_modules/soundcloud-scraper/node_modules/nth-check": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", "dependencies": { - "memory-pager": "^1.0.2" + "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" } }, - "node_modules/spdx-correct": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", + "node_modules/soundcloud-scraper/node_modules/parse5": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.0.0.tgz", + "integrity": "sha512-y/t8IXSPWTuRZqXc0ajH/UwDj4mnqLEbSttNbThcFhGrZuOyoyvNBO85PBp2jQa55wY9d07PBNjsK8ZP3K5U6g==", "dependencies": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" + "entities": "^4.3.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" } }, - "node_modules/spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" - }, - "node_modules/spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "node_modules/soundcloud-scraper/node_modules/parse5-htmlparser2-tree-adapter": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.0.0.tgz", + "integrity": "sha512-B77tOZrqqfUfnVcOrUvfdLbz4pu4RopLD/4vmu3HUPswwTA8OH0EMW9BlWR2B0RCoiZRAHEUu7IxeP1Pd1UU+g==", "dependencies": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" + "domhandler": "^5.0.2", + "parse5": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" } }, - "node_modules/spdx-license-ids": { - "version": "3.0.10", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.10.tgz", - "integrity": "sha512-oie3/+gKf7QtpitB0LYLETe+k8SifzsX4KixvpOsbI6S0kRiRQ5MKOio8eMSAKQ17N06+wdEOXRiId+zOxo0hA==" + "node_modules/sparse-bitfield": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", + "integrity": "sha1-/0rm5oZWBWuks+eSqzM004JzyhE=", + "optional": true, + "dependencies": { + "memory-pager": "^1.0.2" + } }, "node_modules/spotify-uri": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/spotify-uri/-/spotify-uri-2.2.0.tgz", - "integrity": "sha512-uUybj02bfyfCoZ0MJ80MkqbKxtIVRJfbRGk05KJFq1li3zb7yNfN1f+TAw4wcXgp7jLWExeiw2wyPQXZ8PHtfg==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/spotify-uri/-/spotify-uri-3.0.2.tgz", + "integrity": "sha512-1RrJkUr+uVYJtJiMvh/Jq42GQikJBZN87ki3ZYzybF9452fb5EfAihdMSIAHGU55+YQUl5Vqb1VLJDzEdottAw==", "engines": { - "node": ">= 6" + "node": ">= 12" } }, "node_modules/spotify-url-info": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/spotify-url-info/-/spotify-url-info-2.2.3.tgz", - "integrity": "sha512-cZTE5nOnaAjIiaHG9psVYqKXWOlNUIgSU2e+bNInRaYZNgmVgOcKH0D7V1nSER3gv3h5BXvOo0EJTtrMQQo1bA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/spotify-url-info/-/spotify-url-info-3.1.2.tgz", + "integrity": "sha512-YN2ory6GWuMiHL0xQQu61n4Mf3wq2rfu9HLyjMxorxjDkueouPEtv8eeyQYlT1ZgViA7ZFuY78QGjrgSvqynuA==", "dependencies": { - "cross-fetch": "~3.1.4", "himalaya": "~1.1.0", - "spotify-uri": "~2.2.0" + "spotify-uri": "~3.0.1" }, "engines": { "node": ">= 12" @@ -6617,25 +6195,6 @@ "node": ">=4" } }, - "node_modules/strip-final-newline": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", - "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", - "engines": { - "node": ">=6" - } - }, - "node_modules/strip-indent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", - "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", - "dependencies": { - "min-indent": "^1.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/strip-json-comments": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", @@ -6644,6 +6203,22 @@ "node": ">=0.10.0" } }, + "node_modules/strtok3": { + "version": "7.0.0-alpha.9", + "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-7.0.0-alpha.9.tgz", + "integrity": "sha512-G8WxjBFjTZ77toVElv1i7k3jCXNkBB14FVaZ/6LIOka/WGo4La5XHLrU7neFVLdKbXESZf4BejVKZu5maOmocA==", + "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/superagent": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/superagent/-/superagent-6.1.0.tgz", @@ -6902,6 +6477,22 @@ "node": ">=0.6.0" } }, + "node_modules/token-types": { + "version": "5.0.0-alpha.2", + "resolved": "https://registry.npmjs.org/token-types/-/token-types-5.0.0-alpha.2.tgz", + "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/tough-cookie": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", @@ -6919,23 +6510,15 @@ "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" }, - "node_modules/trim-newlines": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", - "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", - "engines": { - "node": ">=8" - } - }, "node_modules/ts-mixer": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/ts-mixer/-/ts-mixer-6.0.0.tgz", - "integrity": "sha512-nXIb1fvdY5CBSrDIblLn73NW0qRDk5yJ0Sk1qPBF560OdJfQp9jhl+0tzcY09OZ9U+6GpeoI9RjwoIKFIoB9MQ==" + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ts-mixer/-/ts-mixer-6.0.1.tgz", + "integrity": "sha512-hvE+ZYXuINrx6Ei6D6hz+PTim0Uf++dYbK9FFifLNwQj+RwKquhQpn868yZsCtJYiclZF1u8l6WZxxKi+vv7Rg==" }, "node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" }, "node_modules/tunnel-agent": { "version": "0.6.0", @@ -6974,17 +6557,6 @@ "node": ">= 0.8.0" } }, - "node_modules/type-fest": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", - "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/typed-function": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/typed-function/-/typed-function-2.0.0.tgz", @@ -6996,7 +6568,7 @@ "node_modules/typedarray": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" + "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" }, "node_modules/unbox-primitive": { "version": "1.0.1", @@ -7012,6 +6584,14 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/undici": { + "version": "5.8.2", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.8.2.tgz", + "integrity": "sha512-3KLq3pXMS0Y4IELV045fTxqz04Nk9Ms7yfBBHum3yxsTR4XNn+ZCaUbf/mWitgYDAhsplQ0B1G4S5D345lMO3A==", + "engines": { + "node": ">=12.18" + } + }, "node_modules/unique-random": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unique-random/-/unique-random-1.0.0.tgz", @@ -7107,23 +6687,6 @@ "uuid": "bin/uuid" } }, - "node_modules/vali-date": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/vali-date/-/vali-date-1.0.0.tgz", - "integrity": "sha1-G5BKWWCfsyjvB4E4Qgk09rhnCaY=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/validate-npm-package-license": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "dependencies": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, "node_modules/verror": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", @@ -7230,14 +6793,6 @@ "node": ">=0.10.0" } }, - "node_modules/wordwrap": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", - "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=", - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -7328,84 +6883,22 @@ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, - "node_modules/yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", - "engines": { - "node": ">=10" - } - }, - "node_modules/youtube-dl-exec": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/youtube-dl-exec/-/youtube-dl-exec-1.2.13.tgz", - "integrity": "sha512-qMU+DQtVS3gyC+8hsdCBiU80Zoqe22p++nCN8y4DaWM4ZmXchW938ztpU2dTdl8VQqlc8UonV+chDMFfmpWofw==", - "hasInstallScript": true, - "dependencies": { - "bin-version-check-cli": "~3.0.0", - "dargs": "~7.0.0", - "execa": "~5.1.0", - "is-unix": "~2.0.1", - "mkdirp": "~1.0.4", - "node-fetch": "~2.6.5" - }, - "engines": { - "node": ">= 12" - } - }, - "node_modules/youtube-dl-exec/node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/youtube-sr": { - "version": "4.1.9", - "resolved": "https://registry.npmjs.org/youtube-sr/-/youtube-sr-4.1.9.tgz", - "integrity": "sha512-QAx8WCzvahVkx3RCEO+8VNCe0QhZudnz91rI1/Laj2gz/jl5481y6Tmp+MYU3oyfNtrM/2oD9kcFoNz3PO5C+Q==", - "dependencies": { - "node-fetch": "^2.6.5" - } + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/youtube-sr/-/youtube-sr-4.3.0.tgz", + "integrity": "sha512-cRMOeJZi/DYIRqru0R9UsBLwkj4tQvekldnCj4MZOT+ijlfesrllbUDXqKuA2RbYA4ByJlFf9wxZ1ndvuCJ5Ow==" }, "node_modules/ytdl-core": { - "version": "4.9.1", - "resolved": "https://registry.npmjs.org/ytdl-core/-/ytdl-core-4.9.1.tgz", - "integrity": "sha512-6Jbp5RDhUEozlaJQAR+l8oV8AHsx3WUXxSyPxzE6wOIAaLql7Hjiy0ZM58wZoyj1YEenlEPjEqcJIjKYKxvHtQ==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/ytdl-core/-/ytdl-core-4.11.0.tgz", + "integrity": "sha512-Q3hCLiUA9AOGQXzPvno14GN+HgF9wsO1ZBHlj0COTcyxjIyFpWvMfii0UC4/cAbVaIjEdbWB71GdcGuc4J1Lmw==", "dependencies": { - "m3u8stream": "^0.8.3", - "miniget": "^4.0.0", + "m3u8stream": "^0.8.6", + "miniget": "^4.2.2", "sax": "^1.1.3" }, "engines": { - "node": ">=10" - } - }, - "node_modules/ytdl-core-discord": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/ytdl-core-discord/-/ytdl-core-discord-1.3.1.tgz", - "integrity": "sha512-KW8zYY35jRSkxZTEQtT9EiR2exFwYKhCE8QZbRg5Ge9a0YWDDhBOixSdWb8Cn41B1uHhz8FR15E4E/k0kHNX3w==", - "dependencies": { - "@types/node": "^15.12.2", - "prism-media": "^1.3.1", - "ytdl-core": "^4.8.2" - } - }, - "node_modules/ytdl-core-discord/node_modules/@types/node": { - "version": "15.14.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-15.14.7.tgz", - "integrity": "sha512-FA45p37/mLhpebgbPWWCKfOisTjxGK9lwcHlJ6XVLfu3NgfcazOJHdYUZCWPMK8QX4LhNZdmfo6iMz9FqpUbaw==" - }, - "node_modules/zod": { - "version": "3.11.6", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.11.6.tgz", - "integrity": "sha512-daZ80A81I3/9lIydI44motWe6n59kRBfNzTuS2bfzVh1nAXi667TOTWWtatxyG+fwgNUiagSj/CWZwRRbevJIg==", - "funding": { - "url": "https://github.com/sponsors/colinhacks" + "node": ">=12" } } }, @@ -7488,47 +6981,32 @@ } }, "@derhuerst/http-basic": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@derhuerst/http-basic/-/http-basic-8.2.1.tgz", - "integrity": "sha512-Rmn7qQQulw2sxJ8qGfZ7OuqMWuhz8V+L5xnYKMF5cXVcYqmgWqlVEAme90pF7Ya8OVhxVxLmhh0rI2k6t7ITWw==", + "version": "8.2.4", + "resolved": "https://registry.npmjs.org/@derhuerst/http-basic/-/http-basic-8.2.4.tgz", + "integrity": "sha512-F9rL9k9Xjf5blCz8HsJRO4diy111cayL2vkY2XE4r4t3n0yPXVYy3KD3nJ1qbrSn9743UWSXH4IwuCa/HWlGFw==", "requires": { "caseless": "^0.12.0", - "concat-stream": "^1.6.2", + "concat-stream": "^2.0.0", "http-response-object": "^3.0.1", "parse-cache-control": "^1.0.1" } }, - "@discord-player/downloader": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@discord-player/downloader/-/downloader-3.0.1.tgz", - "integrity": "sha512-7A+gyfkqAl2u1j3FHjfujgubVxKgIFO7LuFrBujdfG/G82LLxshd7/+BcVbQTPvIk46kdAoqNp+g59cjJj8P0w==", - "requires": { - "youtube-dl-exec": "^1.2.4" - } - }, "@discordjs/builders": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-0.9.0.tgz", - "integrity": "sha512-XM/5yrTxMF0SDKza32YzGDQO1t+qEJTaF8Zvxu/UOjzoqzMPPGQBjC1VgZxz8/CBLygW5qI+UVygMa88z13G3g==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.1.0.tgz", + "integrity": "sha512-EO8TSltiIc9Z1wE854wAFvv5AccqEtvjFmao9PPoxQhRaJ0hEb7FwWRTCA1jGg4ZWI3hcp4m+RET5ufZQz3rOg==", "requires": { - "@sindresorhus/is": "^4.2.0", - "discord-api-types": "^0.24.0", - "ts-mixer": "^6.0.0", - "tslib": "^2.3.1", - "zod": "^3.11.6" - }, - "dependencies": { - "discord-api-types": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.24.0.tgz", - "integrity": "sha512-X0uA2a92cRjowUEXpLZIHWl4jiX1NsUpDhcEOpa1/hpO1vkaokgZ8kkPtPih9hHth5UVQ3mHBu/PpB4qjyfJ4A==" - } + "@sapphire/shapeshift": "^3.5.1", + "discord-api-types": "^0.36.3", + "fast-deep-equal": "^3.1.3", + "ts-mixer": "^6.0.1", + "tslib": "^2.4.0" } }, "@discordjs/collection": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-0.2.1.tgz", - "integrity": "sha512-vhxqzzM8gkomw0TYRF3tgx7SwElzUlXT/Aa41O7mOcyN6wIJfj5JmDWaO5XGKsGSsNx7F3i5oIlrucCCWV1Nog==" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-1.0.1.tgz", + "integrity": "sha512-5V/wswzR3r2RVYXLxxg4TvrAnBhVCNgHTXhC+OUtLoriJ072rPMHo+Iw1SS1vrCckp8Es40XM411+WkNRPaXFw==" }, "@discordjs/form-data": { "version": "3.0.1", @@ -7541,14 +7019,14 @@ } }, "@discordjs/node-pre-gyp": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/@discordjs/node-pre-gyp/-/node-pre-gyp-0.4.2.tgz", - "integrity": "sha512-V239Czn+DXFGLhhuccwEDBoTdgMGrRu30dOlzm1GzrSIjwFj01ZJerNX7x+CEX1NG1Q/1gGfOOkeZFNHjycrRA==", + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/@discordjs/node-pre-gyp/-/node-pre-gyp-0.4.4.tgz", + "integrity": "sha512-x569MMtdk6jdGo2S58iiZoyv4p/N2Ju8Nh6vvzZb1wyouV7IE3VuU0hg2kqUmTfD0z6r4uD6acvMTuc+iA3f8g==", "requires": { - "detect-libc": "^1.0.3", + "detect-libc": "^2.0.0", "https-proxy-agent": "^5.0.0", "make-dir": "^3.1.0", - "node-fetch": "^2.6.5", + "node-fetch": "^2.6.7", "nopt": "^5.0.0", "npmlog": "^5.0.1", "rimraf": "^3.0.2", @@ -7556,6 +7034,11 @@ "tar": "^6.1.11" }, "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, "are-we-there-yet": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz", @@ -7565,10 +7048,20 @@ "readable-stream": "^3.6.0" } }, + "detect-libc": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.1.tgz", + "integrity": "sha512-463v3ZeIrcWtdgIg6vI6XUncguvr2TnGl4SzDXinkt9mSLpBJKXT3mW6xT3VQdDN11+WVs29pgvivTc4Lp8v+w==" + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, "gauge": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.1.tgz", - "integrity": "sha512-6STz6KdQgxO4S/ko+AbjlFGGdGcknluoqU+79GOFCDqqyYj5OanQf9AjxwN0jCidtT+ziPMmPSt9E4hfQ0CwIQ==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz", + "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==", "requires": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.2", @@ -7576,11 +7069,16 @@ "has-unicode": "^2.0.1", "object-assign": "^4.1.1", "signal-exit": "^3.0.0", - "string-width": "^1.0.1 || ^2.0.0", - "strip-ansi": "^3.0.1 || ^4.0.0", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", "wide-align": "^1.1.2" } }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" + }, "npmlog": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz", @@ -7591,48 +7089,78 @@ "gauge": "^3.0.0", "set-blocking": "^2.0.0" } + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } } } }, "@discordjs/opus": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@discordjs/opus/-/opus-0.7.0.tgz", - "integrity": "sha512-3Xxa3dh7taSDwBAR5fLALZ/KTxvbMmHCMxYLYve6NlPO7Ms1CLmKqp/R4ZoVzkRGQVUVWEhaB1s0v9jfa2tfDg==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@discordjs/opus/-/opus-0.8.0.tgz", + "integrity": "sha512-uHE7OmHEmP8YM0yvsH3iSdacdeghO0qTkF0CIkV07Tg0qdyOLUVkoZHj5Zcpge9rC4qb/JvTS2xRgttSZLM43Q==", "requires": { - "@discordjs/node-pre-gyp": "^0.4.2", - "node-addon-api": "^4.2.0" + "@discordjs/node-pre-gyp": "^0.4.4", + "node-addon-api": "^5.0.0" + } + }, + "@discordjs/rest": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@discordjs/rest/-/rest-1.0.1.tgz", + "integrity": "sha512-w08CTKVzzYYvKxEjXKOs9AdS7KQ1J502TrPfF8eCZ2lF6AfKuMP/32YgDakiwIyYTDjEQS/v0nKLSFcncHRMtg==", + "requires": { + "@discordjs/collection": "^1.0.1", + "@sapphire/async-queue": "^1.3.2", + "@sapphire/snowflake": "^3.2.2", + "discord-api-types": "^0.36.3", + "file-type": "^17.1.4", + "tslib": "^2.4.0", + "undici": "^5.8.0" + }, + "dependencies": { + "file-type": { + "version": "17.1.4", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-17.1.4.tgz", + "integrity": "sha512-3w/rJUUPBj6CYhVER3D5JCKwYJJiC36uj5dP+LnyubHI6H6FJo1TeWVCEA09YLVoZqV3/mLP26j9+Pz1GjAyjQ==", + "requires": { + "readable-web-to-node-stream": "^3.0.2", + "strtok3": "^7.0.0-alpha.9", + "token-types": "^5.0.0-alpha.2" + } + } } }, "@discordjs/voice": { - "version": "0.7.5", - "resolved": "https://registry.npmjs.org/@discordjs/voice/-/voice-0.7.5.tgz", - "integrity": "sha512-lUk+CmIXNKslT6DkC9IF9rpsqhzlTiedauUCPBzepjd4XWxwBZiyVIzR6QpbAirxkAwCoAbbje+3Ho71PGLEAw==", + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@discordjs/voice/-/voice-0.11.0.tgz", + "integrity": "sha512-6+9cj1dxzBJm7WJ9qyG2XZZQ8rcLl6x2caW0C0OxuTtMLAaEDntpb6lqMTFiBg/rDc4Rd59g1w0gJmib33CuHw==", "requires": { - "@types/ws": "^8.2.0", - "discord-api-types": "^0.24.0", - "prism-media": "^1.3.2", - "tiny-typed-emitter": "^2.1.0", - "tslib": "^2.3.1", - "ws": "^8.2.3" + "@types/ws": "^8.5.3", + "discord-api-types": "^0.36.2", + "prism-media": "^1.3.4", + "tslib": "^2.4.0", + "ws": "^8.8.1" }, "dependencies": { - "@types/ws": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.2.0.tgz", - "integrity": "sha512-cyeefcUCgJlEk+hk2h3N+MqKKsPViQgF5boi9TTHSK+PoR9KWBb/C5ccPcDyAqgsbAYHTwulch725DV84+pSpg==", - "requires": { - "@types/node": "*" - } - }, - "discord-api-types": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.24.0.tgz", - "integrity": "sha512-X0uA2a92cRjowUEXpLZIHWl4jiX1NsUpDhcEOpa1/hpO1vkaokgZ8kkPtPih9hHth5UVQ3mHBu/PpB4qjyfJ4A==" - }, "ws": { - "version": "8.2.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.2.3.tgz", - "integrity": "sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.8.1.tgz", + "integrity": "sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA==", "requires": {} } } @@ -7983,9 +7511,23 @@ } }, "@sapphire/async-queue": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/@sapphire/async-queue/-/async-queue-1.1.4.tgz", - "integrity": "sha512-fFrlF/uWpGOX5djw5Mu2Hnnrunao75WGey0sP0J3jnhmrJ5TAPzHYOmytD5iN/+pMxS+f+u/gezqHa9tPhRHEA==" + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@sapphire/async-queue/-/async-queue-1.3.2.tgz", + "integrity": "sha512-rUpMLATsoAMnlN3gecAcr9Ecnw1vG7zi5Xr+IX22YzRzi1k9PF9vKzoT8RuEJbiIszjcimu3rveqUnvwDopz8g==" + }, + "@sapphire/shapeshift": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/@sapphire/shapeshift/-/shapeshift-3.5.1.tgz", + "integrity": "sha512-7JFsW5IglyOIUQI1eE0g6h06D/Far6HqpcowRScgCiLSqTf3hhkPWCWotVTtVycnDCMYIwPeaw6IEPBomKC8pA==", + "requires": { + "fast-deep-equal": "^3.1.3", + "lodash.uniqwith": "^4.5.0" + } + }, + "@sapphire/snowflake": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@sapphire/snowflake/-/snowflake-3.2.2.tgz", + "integrity": "sha512-ula2O0kpSZtX9rKXNeQMrHwNd7E4jPDJYUXmEGTFdMRfyfMw+FPyh04oKMjAiDuOi64bYgVkOV3MjK+loImFhQ==" }, "@sindresorhus/is": { "version": "4.2.0", @@ -8000,6 +7542,11 @@ "defer-to-connect": "^2.0.0" } }, + "@tokenizer/token": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.3.0.tgz", + "integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==" + }, "@types/bson": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/@types/bson/-/bson-4.0.5.tgz", @@ -8032,11 +7579,6 @@ "@types/node": "*" } }, - "@types/minimist": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", - "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==" - }, "@types/mongodb": { "version": "3.6.20", "resolved": "https://registry.npmjs.org/@types/mongodb/-/mongodb-3.6.20.tgz", @@ -8051,10 +7593,14 @@ "resolved": "https://registry.npmjs.org/@types/node/-/node-16.4.13.tgz", "integrity": "sha512-bLL69sKtd25w7p1nvg9pigE4gtKVpGTPojBFLMkGHXuUgap2sLqQt2qUnqmVCDfzGUL0DRNZP+1prIZJbMeAXg==" }, - "@types/normalize-package-data": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", - "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==" + "@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" + } }, "@types/responselike": { "version": "1.0.0", @@ -8065,9 +7611,9 @@ } }, "@types/ws": { - "version": "7.4.7", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", - "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", + "version": "8.5.3", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.3.tgz", + "integrity": "sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==", "requires": { "@types/node": "*" } @@ -8135,14 +7681,6 @@ "uri-js": "^4.2.2" } }, - "alexflipnote.js": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/alexflipnote.js/-/alexflipnote.js-2.5.0.tgz", - "integrity": "sha512-X2ChEoGB9PSktkBgKh3lugos764+zoxNKfESdQRXT6vyvTIBozzxPE67qtQTAUZR0ZBvjY2FdyqL3T24KSDhaA==", - "requires": { - "node-fetch": "^2.6.1" - } - }, "ansi-escapes": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", @@ -8217,11 +7755,6 @@ "sprintf-js": "~1.0.2" } }, - "arrify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-3.0.0.tgz", - "integrity": "sha512-tLkvA81vQG/XqE2mjDkGQHoOINtMHtysSnemrmoGe6PydDPMRbVugqyk4A6V/WDWEfm3l+0d8anA9r8cv/5Jaw==" - }, "ascii-table": { "version": "0.0.9", "resolved": "https://registry.npmjs.org/ascii-table/-/ascii-table-0.0.9.tgz", @@ -8245,11 +7778,6 @@ "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==" }, - "async": { - "version": "0.9.2", - "resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz", - "integrity": "sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0=" - }, "asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -8289,50 +7817,20 @@ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" }, "bcrypt-pbkdf": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", - "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", - "requires": { - "tweetnacl": "^0.14.3" - } - }, - "better-sqlite3": { - "version": "7.4.3", - "resolved": "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-7.4.3.tgz", - "integrity": "sha512-07bKjClZg/f4KMVRkzWtoIvazVPcF1gsvVKVIXlxwleC2DxuIhnra3KCMlUT1rFeRYXXckot2a46UciF2d9KLw==", - "requires": { - "bindings": "^1.5.0", - "prebuild-install": "^6.0.1", - "tar": "^6.1.0" - } - }, - "bin-version": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/bin-version/-/bin-version-6.0.0.tgz", - "integrity": "sha512-nk5wEsP4RiKjG+vF+uG8lFsEn4d7Y6FVDamzzftSunXOoOcOOkzcWdKVlGgFFwlUQCj63SgnUkLLGF8v7lufhw==", - "requires": { - "execa": "^5.0.0", - "find-versions": "^5.0.0" - } - }, - "bin-version-check": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/bin-version-check/-/bin-version-check-5.0.0.tgz", - "integrity": "sha512-Q3FMQnS5eZmrBGqmDXLs4dbAn/f+52voP6ykJYmweSA60t6DyH4UTSwZhtbK5UH+LBoWvDljILUQMLRUtsynsA==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", "requires": { - "bin-version": "^6.0.0", - "semver": "^7.3.5", - "semver-truncate": "^2.0.0" + "tweetnacl": "^0.14.3" } }, - "bin-version-check-cli": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/bin-version-check-cli/-/bin-version-check-cli-3.0.0.tgz", - "integrity": "sha512-uYtLWKcX87/HQApOWwVm4gRTlj0zjx9nz5EgjHRJpCFZSq3Ym/ao0/HqMUyGm+9OvzmKN9CGInzIuRgmUn0xYg==", + "better-sqlite3": { + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-7.6.2.tgz", + "integrity": "sha512-S5zIU1Hink2AH4xPsN0W43T1/AJ5jrPh7Oy07ocuW/AKYYY02GWzz9NH0nbSMn/gw6fDZ5jZ1QsHt1BXAwJ6Lg==", "requires": { - "arrify": "^3.0.0", - "bin-version-check": "^5.0.0", - "meow": "^9.0.0" + "bindings": "^1.5.0", + "prebuild-install": "^7.1.0" } }, "bindings": { @@ -8471,28 +7969,6 @@ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==" }, - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==" - }, - "camelcase-keys": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", - "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", - "requires": { - "camelcase": "^5.3.1", - "map-obj": "^4.0.0", - "quick-lru": "^4.0.1" - }, - "dependencies": { - "quick-lru": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", - "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==" - } - } - }, "canvas": { "version": "2.8.0", "resolved": "https://registry.npmjs.org/canvas/-/canvas-2.8.0.tgz", @@ -8687,7 +8163,7 @@ "colornames": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/colornames/-/colornames-1.1.1.tgz", - "integrity": "sha1-+IiQMGhcfE/54qVZ9Qd+t2qBb5Y=" + "integrity": "sha512-/pyV40IrsdulWv+wFPmERh9k/mjsPZ64yUMDmWrtj/k1nmgrzzIENWKdaVKyBbvFdQWqkcaRxr+polCo3VMe7A==" }, "combined-stream": { "version": "1.0.8", @@ -8723,51 +8199,14 @@ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" }, "concat-stream": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", - "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", + "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", "requires": { "buffer-from": "^1.0.0", "inherits": "^2.0.3", - "readable-stream": "^2.2.2", + "readable-stream": "^3.0.2", "typedarray": "^0.0.6" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, - "config.json": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/config.json/-/config.json-0.0.4.tgz", - "integrity": "sha1-3AJQEF3ZhIiMA3Ky9Mq72KL9Gvs=", - "requires": { - "nconf": "0.7.1" } }, "console-control-strings": { @@ -8798,21 +8237,6 @@ "capture-stack-trace": "^1.0.0" } }, - "cross-fetch": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz", - "integrity": "sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ==", - "requires": { - "node-fetch": "2.6.1" - }, - "dependencies": { - "node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" - } - } - }, "cross-spawn": { "version": "6.0.5", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", @@ -8857,11 +8281,6 @@ "type": "^1.0.1" } }, - "dargs": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz", - "integrity": "sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==" - }, "dashdash": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", @@ -8895,27 +8314,6 @@ } } }, - "decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=" - }, - "decamelize-keys": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz", - "integrity": "sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk=", - "requires": { - "decamelize": "^1.1.0", - "map-obj": "^1.0.0" - }, - "dependencies": { - "map-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=" - } - } - }, "decimal.js": { "version": "10.3.1", "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.3.1.tgz", @@ -8980,9 +8378,9 @@ "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=" }, "discord-api-types": { - "version": "0.22.0", - "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.22.0.tgz", - "integrity": "sha512-l8yD/2zRbZItUQpy7ZxBJwaLX/Bs2TGaCthRppk8Sw24LOIWg12t9JEreezPoYD0SQcC2htNNo27kYEpYW/Srg==" + "version": "0.36.3", + "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.36.3.tgz", + "integrity": "sha512-bz/NDyG0KBo/tY14vSkrwQ/n3HKPf87a0WFW/1M9+tXYK+vp5Z5EksawfCWo2zkAc6o7CClc0eff1Pjrqznlwg==" }, "discord-emoji": { "version": "2.0.1", @@ -9032,6 +8430,64 @@ "discord.js": "^13.1.0", "html-entities": "^2.3.2", "node-fetch": "^2.6.1" + }, + "dependencies": { + "@discordjs/builders": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-0.16.0.tgz", + "integrity": "sha512-9/NCiZrLivgRub2/kBc0Vm5pMBE5AUdYbdXsLu/yg9ANgvnaJ0bZKTY8yYnLbsEc/LYUP79lEIdC73qEYhWq7A==", + "requires": { + "@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/collection": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-0.7.0.tgz", + "integrity": "sha512-R5i8Wb8kIcBAFEPLLf7LVBQKBDYUL+ekb23sOgpkpyGT+V4P7V83wTxcsqmX+PbqHt4cEHn053uMWfRqh/Z/nA==" + }, + "discord.js": { + "version": "13.9.2", + "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-13.9.2.tgz", + "integrity": "sha512-wShFlyAyxgQcWzINeufUoT1U0fmju+pPCRzPfJB7CaA0V1tQHc4e0PpO4NQif8sLfZvrQmEILBaIJ0G5I32OxQ==", + "requires": { + "@discordjs/builders": "^0.16.0", + "@discordjs/collection": "^0.7.0", + "@sapphire/async-queue": "^1.3.2", + "@types/node-fetch": "^2.6.2", + "@types/ws": "^8.5.3", + "discord-api-types": "^0.33.3", + "form-data": "^4.0.0", + "node-fetch": "^2.6.7", + "ws": "^8.8.1" + }, + "dependencies": { + "discord-api-types": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.33.5.tgz", + "integrity": "sha512-dvO5M52v7m7Dy96+XUnzXNsQ/0npsYpU6dL205kAtEDueswoz3aU3bh1UMoK4cQmcGtB1YRyLKqp+DXi05lzFg==" + } + } + }, + "form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } + }, + "ws": { + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.8.1.tgz", + "integrity": "sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA==", + "requires": {} + } } }, "discord-nsfw": { @@ -9051,18 +8507,18 @@ } }, "discord-player": { - "version": "5.1.0-dev.1636095464.54bb4b0", - "resolved": "https://registry.npmjs.org/discord-player/-/discord-player-5.1.0-dev.1636095464.54bb4b0.tgz", - "integrity": "sha512-e6XLN4BXw2xaT+P2grTKz9mT+Gtt3h1MQagt3EGIEK/sZhRG4aGO/fDiDcvgCxFFTpMZokvl7IsxCdWgAU8bFQ==", - "requires": { - "@discordjs/voice": "^0.7.2", - "discord-ytdl-core": "^5.0.4", - "libsodium-wrappers": "^0.7.9", - "soundcloud-scraper": "^5.0.2", - "spotify-url-info": "^2.2.3", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/discord-player/-/discord-player-5.3.0.tgz", + "integrity": "sha512-OskERYrsVqNvyq8tKkp3aV3NMY9dP5BhNeyn5NTTDohVd9eEE8P6rZGvxqORJl1OxXCTBLbiojNgLiFNsAIaow==", + "requires": { + "@discordjs/voice": "^0.11.0", + "libsodium-wrappers": "^0.7.10", + "soundcloud-scraper": "^5.0.3", + "spotify-url-info": "^3.1.2", "tiny-typed-emitter": "^2.1.0", - "youtube-sr": "^4.1.9", - "ytdl-core": "^4.9.1" + "tslib": "^2.4.0", + "youtube-sr": "^4.3.0", + "ytdl-core": "^4.11.0" } }, "discord-together": { @@ -9072,42 +8528,89 @@ "requires": { "discord.js": "^13.1.0", "node-fetch": "^2.6.1" - } - }, - "discord-ytdl-core": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/discord-ytdl-core/-/discord-ytdl-core-5.0.4.tgz", - "integrity": "sha512-O+G9wuCw5TERR9iHZFMYnYQbs/ZGudDc9cxa1OKSV5TdcBYrHGS1JqvE90ZvSQ6SmS4XvqtOf/Okls6yiGJ3sg==", - "requires": { - "prism-media": "^1.2.9" - } - }, - "discord.js": { - "version": "13.1.0", - "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-13.1.0.tgz", - "integrity": "sha512-gxO4CXKdHpqA+WKG+f5RNnd3srTDj5uFJHgOathksDE90YNq/Qijkd2WlMgTTMS6AJoEnHxI7G9eDQHCuZ+xDA==", - "requires": { - "@discordjs/builders": "^0.5.0", - "@discordjs/collection": "^0.2.1", - "@discordjs/form-data": "^3.0.1", - "@sapphire/async-queue": "^1.1.4", - "@types/ws": "^7.4.7", - "discord-api-types": "^0.22.0", - "node-fetch": "^2.6.1", - "ws": "^7.5.1" }, "dependencies": { "@discordjs/builders": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-0.5.0.tgz", - "integrity": "sha512-HP5y4Rqw68o61Qv4qM5tVmDbWi4mdTFftqIOGRo33SNPpLJ1Ga3KEIR2ibKofkmsoQhEpLmopD1AZDs3cKpHuw==", + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-0.16.0.tgz", + "integrity": "sha512-9/NCiZrLivgRub2/kBc0Vm5pMBE5AUdYbdXsLu/yg9ANgvnaJ0bZKTY8yYnLbsEc/LYUP79lEIdC73qEYhWq7A==", + "requires": { + "@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/collection": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-0.7.0.tgz", + "integrity": "sha512-R5i8Wb8kIcBAFEPLLf7LVBQKBDYUL+ekb23sOgpkpyGT+V4P7V83wTxcsqmX+PbqHt4cEHn053uMWfRqh/Z/nA==" + }, + "discord.js": { + "version": "13.9.2", + "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-13.9.2.tgz", + "integrity": "sha512-wShFlyAyxgQcWzINeufUoT1U0fmju+pPCRzPfJB7CaA0V1tQHc4e0PpO4NQif8sLfZvrQmEILBaIJ0G5I32OxQ==", "requires": { - "@sindresorhus/is": "^4.0.1", - "discord-api-types": "^0.22.0", - "ow": "^0.27.0", - "ts-mixer": "^6.0.0", - "tslib": "^2.3.0" + "@discordjs/builders": "^0.16.0", + "@discordjs/collection": "^0.7.0", + "@sapphire/async-queue": "^1.3.2", + "@types/node-fetch": "^2.6.2", + "@types/ws": "^8.5.3", + "discord-api-types": "^0.33.3", + "form-data": "^4.0.0", + "node-fetch": "^2.6.7", + "ws": "^8.8.1" + }, + "dependencies": { + "discord-api-types": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.33.5.tgz", + "integrity": "sha512-dvO5M52v7m7Dy96+XUnzXNsQ/0npsYpU6dL205kAtEDueswoz3aU3bh1UMoK4cQmcGtB1YRyLKqp+DXi05lzFg==" + } } + }, + "form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } + }, + "ws": { + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.8.1.tgz", + "integrity": "sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA==", + "requires": {} + } + } + }, + "discord.js": { + "version": "14.2.0", + "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.2.0.tgz", + "integrity": "sha512-kIGhEeOB1d9k7whL9HCCuRuzK2GL7i/hTesYINOZ2szWm4TOsBVwRU+i9O/zDb2M+Gvff4SJ4EpAtCVV0okgVw==", + "requires": { + "@discordjs/builders": "^1.1.0", + "@discordjs/collection": "^1.0.1", + "@discordjs/rest": "^1.0.1", + "@sapphire/snowflake": "^3.2.2", + "@types/ws": "^8.5.3", + "discord-api-types": "^0.36.3", + "fast-deep-equal": "^3.1.3", + "lodash.snakecase": "^4.1.1", + "tslib": "^2.4.0", + "undici": "^5.8.2", + "ws": "^8.8.1" + }, + "dependencies": { + "ws": { + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.8.1.tgz", + "integrity": "sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA==", + "requires": {} } } }, @@ -9163,14 +8666,6 @@ "domelementtype": "1" } }, - "dot-prop": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-6.0.1.tgz", - "integrity": "sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA==", - "requires": { - "is-obj": "^2.0.0" - } - }, "dotenv": { "version": "10.0.0", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz", @@ -9224,14 +8719,6 @@ "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==" }, - "error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "requires": { - "is-arrayish": "^0.2.1" - } - }, "es-abstract": { "version": "1.18.5", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.5.tgz", @@ -9526,83 +9013,6 @@ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-1.2.0.tgz", "integrity": "sha1-HIaZHYFq0eUEdQ5zh0Ik7PO+xQg=" }, - "execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", - "requires": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - }, - "dependencies": { - "cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "requires": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - } - }, - "get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==" - }, - "is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==" - }, - "mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" - }, - "onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "requires": { - "mimic-fn": "^2.1.0" - } - }, - "path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" - }, - "shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "requires": { - "shebang-regex": "^3.0.0" - } - }, - "shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" - }, - "which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "requires": { - "isexe": "^2.0.0" - } - } - } - }, "exif-parser": { "version": "0.1.12", "resolved": "https://registry.npmjs.org/exif-parser/-/exif-parser-0.1.12.tgz", @@ -9687,9 +9097,9 @@ } }, "ffmpeg-static": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/ffmpeg-static/-/ffmpeg-static-4.4.0.tgz", - "integrity": "sha512-NIJHVPXlSsIK9pYvsTPh4ZlppauorpPLLeOaIG7VOXWQck4Fx4Qi7Ahe+j8mj8KZXhWwCg3Hx46JdWAIOWLcpg==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/ffmpeg-static/-/ffmpeg-static-5.0.2.tgz", + "integrity": "sha512-rYeA04AGbvxbUxov6Cn/KDKIzw2rmzwPlgHoqn837NZt0xPdOVA9mJMILz9IX27R45hhSlXS6nThk85XxDivLg==", "requires": { "@derhuerst/http-basic": "^8.2.0", "env-paths": "^2.2.0", @@ -9728,23 +9138,6 @@ "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" }, - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "find-versions": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-5.0.0.tgz", - "integrity": "sha512-Jid3bdamPSNTb7r28PItNl/wm8frLj7NgEztJXK8UftodFRlynojEvUo4dyr5ftgfqgGhCF6DWaiJVFbpX3uPA==", - "requires": { - "semver-regex": "^4.0.0" - } - }, "flat-cache": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", @@ -9828,11 +9221,6 @@ "minipass": "^3.0.0" } }, - "fs-nextra": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/fs-nextra/-/fs-nextra-0.5.1.tgz", - "integrity": "sha512-93pi+T9yVoiUduWeLCkxgnSHWiJoplFdINdUZtNhH//DCoW7/Ee3St/NjVIdkc0UuCeU9+WVWHK+AX2JmRIMBw==" - }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -9939,7 +9327,7 @@ "github-from-package": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", - "integrity": "sha1-l/tdlr/eiXMxPyDoKI75oWf6ZM4=" + "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==" }, "glob": { "version": "7.1.7", @@ -10014,11 +9402,6 @@ "har-schema": "^2.0.0" } }, - "hard-rejection": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", - "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==" - }, "has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", @@ -10060,14 +9443,6 @@ "resolved": "https://registry.npmjs.org/himalaya/-/himalaya-1.1.0.tgz", "integrity": "sha512-LLase1dHCRMel68/HZTFft0N0wti0epHr3nNY7ynpLbyZpmrKMQ8YIpiOV77TM97cNpC8Wb2n6f66IRggwdWPw==" }, - "hosted-git-info": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.0.2.tgz", - "integrity": "sha512-c9OGXbZ3guC/xOlCg1Ci/VgWlwsqDv1yMQL1CWqXDL0hDjXuNcq0zuR4xqPSuasI3kqFDhqSyTjREz5gzq0fXg==", - "requires": { - "lru-cache": "^6.0.0" - } - }, "html-entities": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.3.2.tgz", @@ -10149,11 +9524,6 @@ } } }, - "human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==" - }, "iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -10201,11 +9571,6 @@ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" }, - "indent-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==" - }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -10323,11 +9688,6 @@ "has-tostringtag": "^1.0.0" } }, - "is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" - }, "is-bigint": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.3.tgz", @@ -10347,14 +9707,6 @@ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==" }, - "is-core-module": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.7.0.tgz", - "integrity": "sha512-ByY+tjCciCr+9nLryBYcSD50EOGWt95c7tIsKTG1J2ixKKXPvF7Ej3AVd+UfDydAJom3biBGDBALaO79ktwgEQ==", - "requires": { - "has": "^1.0.3" - } - }, "is-date-object": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", @@ -10394,16 +9746,6 @@ "has-tostringtag": "^1.0.0" } }, - "is-obj": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==" - }, - "is-plain-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=" - }, "is-promise": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", @@ -10466,11 +9808,6 @@ "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" }, - "is-unix": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-unix/-/is-unix-2.0.1.tgz", - "integrity": "sha512-RyKp5JtlRnfOvnKtfBMPLw9ocqDe1NlPQ8Bt+geVzKGfMnLGj8z/Y2HOmk/aMf47P4EbrEt9dN6YGTT1fx4mZA==" - }, "isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", @@ -10481,11 +9818,6 @@ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" }, - "iso8601-duration": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/iso8601-duration/-/iso8601-duration-1.3.0.tgz", - "integrity": "sha512-K4CiUBzo3YeWk76FuET/dQPH03WE04R94feo5TSKQCXpoXQt9E4yx2CnY737QZnSAI3PI4WlKo/zfqizGx52QQ==" - }, "isstream": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", @@ -10545,11 +9877,6 @@ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==" }, - "json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" - }, "json-schema": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", @@ -10594,11 +9921,6 @@ "json-buffer": "3.0.1" } }, - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" - }, "ky": { "version": "0.24.0", "resolved": "https://registry.npmjs.org/ky/-/ky-0.24.0.tgz", @@ -10634,23 +9956,18 @@ } }, "libsodium": { - "version": "0.7.9", - "resolved": "https://registry.npmjs.org/libsodium/-/libsodium-0.7.9.tgz", - "integrity": "sha512-gfeADtR4D/CM0oRUviKBViMGXZDgnFdMKMzHsvBdqLBHd9ySi6EtYnmuhHVDDYgYpAO8eU8hEY+F8vIUAPh08A==" + "version": "0.7.10", + "resolved": "https://registry.npmjs.org/libsodium/-/libsodium-0.7.10.tgz", + "integrity": "sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ==" }, "libsodium-wrappers": { - "version": "0.7.9", - "resolved": "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.9.tgz", - "integrity": "sha512-9HaAeBGk1nKTRFRHkt7nzxqCvnkWTjn1pdjKgcUnZxj0FyOP4CnhgFhMdrFfgNsukijBGyBLpP2m2uKT1vuWhQ==", + "version": "0.7.10", + "resolved": "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz", + "integrity": "sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg==", "requires": { "libsodium": "^0.7.0" } }, - "lines-and-columns": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", - "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=" - }, "load-bmfont": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/load-bmfont/-/load-bmfont-1.4.1.tgz", @@ -10666,14 +9983,6 @@ "xtend": "^4.0.0" } }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "requires": { - "p-locate": "^4.1.0" - } - }, "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", @@ -10709,11 +10018,6 @@ "resolved": "https://registry.npmjs.org/lodash.foreach/-/lodash.foreach-4.5.0.tgz", "integrity": "sha1-Gmo16s5AEoDH8G3d7DUWWrJ+PlM=" }, - "lodash.isequal": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", - "integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA=" - }, "lodash.map": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgz", @@ -10739,11 +10043,21 @@ "resolved": "https://registry.npmjs.org/lodash.reject/-/lodash.reject-4.6.0.tgz", "integrity": "sha1-gNZJLcFHCGS79YNTO2UfQqn1JBU=" }, + "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.some": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/lodash.some/-/lodash.some-4.6.0.tgz", "integrity": "sha1-G7nzFO9ri63tE7VJFpsqlF62jk0=" }, + "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": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", @@ -10766,11 +10080,11 @@ } }, "m3u8stream": { - "version": "0.8.4", - "resolved": "https://registry.npmjs.org/m3u8stream/-/m3u8stream-0.8.4.tgz", - "integrity": "sha512-sco80Db+30RvcaIOndenX6E6oQNgTiBKeJbFPc+yDXwPQIkryfboEbCvXPlBRq3mQTCVPQO93TDVlfRwqpD35w==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/m3u8stream/-/m3u8stream-0.8.6.tgz", + "integrity": "sha512-LZj8kIVf9KCphiHmH7sbFQTVe4tOemb202fWwvJwR9W5ENW/1hxJN6ksAWGhQgSBSa3jyWhnjKU1Fw1GaOdbyA==", "requires": { - "miniget": "^4.0.0", + "miniget": "^4.2.2", "sax": "^1.2.4" } }, @@ -10867,11 +10181,6 @@ } } }, - "map-obj": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", - "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==" - }, "match-sorter": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/match-sorter/-/match-sorter-4.2.1.tgz", @@ -10918,37 +10227,6 @@ "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==", "optional": true }, - "meow": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-9.0.0.tgz", - "integrity": "sha512-+obSblOQmRhcyBt62furQqRAQpNyWXo8BuQ5bN7dG8wmwQ+vwHKp/rCFD4CrTP8CsDQD1sjoZ94K417XEUk8IQ==", - "requires": { - "@types/minimist": "^1.2.0", - "camelcase-keys": "^6.2.2", - "decamelize": "^1.2.0", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "4.1.0", - "normalize-package-data": "^3.0.0", - "read-pkg-up": "^7.0.1", - "redent": "^3.0.0", - "trim-newlines": "^3.0.0", - "type-fest": "^0.18.0", - "yargs-parser": "^20.2.3" - }, - "dependencies": { - "type-fest": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", - "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==" - } - } - }, - "merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==" - }, "methods": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", @@ -10990,15 +10268,10 @@ "dom-walk": "^0.1.0" } }, - "min-indent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", - "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==" - }, "miniget": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/miniget/-/miniget-4.2.1.tgz", - "integrity": "sha512-O/DduzDR6f+oDtVype9S/Qu5hhnx73EDYGyZKwU/qN82lehFZdfhoa4DT51SpsO+8epYrB3gcRmws56ROfTIoQ==" + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/miniget/-/miniget-4.2.2.tgz", + "integrity": "sha512-a7voNL1N5lDMxvTMExOkg+Fq89jM2vY8pAi9ZEWzZtfNmdfP6RXkvUtFnCAXoCv2T9k1v/fUJVaAEuepGcvLYA==" }, "minimatch": { "version": "3.0.4", @@ -11013,23 +10286,6 @@ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" }, - "minimist-options": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", - "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", - "requires": { - "arrify": "^1.0.1", - "is-plain-obj": "^1.1.0", - "kind-of": "^6.0.3" - }, - "dependencies": { - "arrify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=" - } - } - }, "minipass": { "version": "3.1.5", "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.5.tgz", @@ -11177,16 +10433,6 @@ "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=" }, - "nconf": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/nconf/-/nconf-0.7.1.tgz", - "integrity": "sha1-7ktWHdl5o8WNsSLjjxltSdYa61s=", - "requires": { - "async": "~0.9.0", - "ini": "1.x.x", - "optimist": "~0.6.0" - } - }, "nekos.life": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/nekos.life/-/nekos.life-2.0.7.tgz", @@ -11212,24 +10458,17 @@ } }, "node-abi": { - "version": "2.30.1", - "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.30.1.tgz", - "integrity": "sha512-/2D0wOQPgaUWzVSVgRMx+trKJRC2UG4SUc4oCJoXx9Uxjtp0Vy3/kt7zcbxHF8+Z/pK3UloLWzBISg72brfy1w==", + "version": "3.22.0", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.22.0.tgz", + "integrity": "sha512-u4uAs/4Zzmp/jjsD9cyFYDXeISfUWaAVWshPmDZOFOv4Xl4SbzTXm53I04C2uRueYJ+0t5PEtLH/owbn2Npf/w==", "requires": { - "semver": "^5.4.1" - }, - "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - } + "semver": "^7.3.5" } }, "node-addon-api": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.2.0.tgz", - "integrity": "sha512-eazsqzwG2lskuzBqCGPi7Ac2UgOoMz8JVOXVhTvvPDYhthvNpefx8jWD8Np7Gv+2Sz0FlPWZk0nJV0z598Wn8Q==" + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-5.0.0.tgz", + "integrity": "sha512-CvkDw2OEnme7ybCykJpVcKH+uAOLV2qLqiyla128dN9TkEWfrYmxG6C2boDe5KcNQqZF3orkqzGgOMvZ/JNekA==" }, "node-bin-setup": { "version": "1.0.6", @@ -11238,9 +10477,9 @@ "dev": true }, "node-fetch": { - "version": "2.6.5", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.5.tgz", - "integrity": "sha512-mmlIVHJEu5rnIxgEgez6b9GgWXbkZj5YZ7fx+2r94a2E+Uirsp6HsPTPlomfdHtpt/B0cdKviwkoaM6pyvUOpQ==", + "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" } @@ -11269,20 +10508,9 @@ "nopt": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", - "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", - "requires": { - "abbrev": "1" - } - }, - "normalize-package-data": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", - "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", + "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", "requires": { - "hosted-git-info": "^4.0.1", - "is-core-module": "^2.5.0", - "semver": "^7.3.4", - "validate-npm-package-license": "^3.0.1" + "abbrev": "1" } }, "normalize-url": { @@ -11290,21 +10518,6 @@ "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==" }, - "npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "requires": { - "path-key": "^3.0.0" - }, - "dependencies": { - "path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" - } - } - }, "npmlog": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", @@ -11386,22 +10599,6 @@ "mimic-fn": "^1.0.0" } }, - "optimist": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", - "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=", - "requires": { - "minimist": "~0.0.1", - "wordwrap": "~0.0.2" - }, - "dependencies": { - "minimist": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz", - "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=" - } - } - }, "optional-require": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/optional-require/-/optional-require-1.0.3.tgz", @@ -11435,45 +10632,11 @@ "resolved": "https://registry.npmjs.org/os-utils/-/os-utils-0.0.14.tgz", "integrity": "sha1-KeURaXsZgrjGJ3Ihdf45eX72QVY=" }, - "ow": { - "version": "0.27.0", - "resolved": "https://registry.npmjs.org/ow/-/ow-0.27.0.tgz", - "integrity": "sha512-SGnrGUbhn4VaUGdU0EJLMwZWSupPmF46hnTRII7aCLCrqixTAC5eKo8kI4/XXf1eaaI8YEVT+3FeGNJI9himAQ==", - "requires": { - "@sindresorhus/is": "^4.0.1", - "callsites": "^3.1.0", - "dot-prop": "^6.0.1", - "lodash.isequal": "^4.5.0", - "type-fest": "^1.2.1", - "vali-date": "^1.0.0" - } - }, "p-cancelable": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-2.1.1.tgz", "integrity": "sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==" }, - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "requires": { - "p-limit": "^2.2.0" - } - }, - "p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" - }, "pako": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", @@ -11509,24 +10672,13 @@ "parse-cache-control": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parse-cache-control/-/parse-cache-control-1.0.1.tgz", - "integrity": "sha1-juqz5U+laSD+Fro493+iGqzC104=" + "integrity": "sha512-60zvsJReQPX5/QP0Kzfd/VrpjScIQ7SHBW6bFCYfEP+fp0Eppr1SHhIO5nd1PjZtvclzSzES9D/p5nFJurwfWg==" }, "parse-headers": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.4.tgz", "integrity": "sha512-psZ9iZoCNFLrgRjZ1d8mn0h9WRqJwFxM9q3x7iUjN/YT2OksthDJ5TiPCu2F38kS4zutqfW+YdVVkBZZx3/1aw==" }, - "parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "requires": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - } - }, "parse-ms": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-2.1.0.tgz", @@ -11569,11 +10721,6 @@ } } }, - "path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==" - }, "path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", @@ -11589,10 +10736,10 @@ "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=" }, - "path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + "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==" }, "performance-now": { "version": "2.1.0", @@ -11618,23 +10765,39 @@ "integrity": "sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w==" }, "prebuild-install": { - "version": "6.1.4", - "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-6.1.4.tgz", - "integrity": "sha512-Z4vpywnK1lBg+zdPCVCsKq0xO66eEV9rWo2zrROGGiRS4JtueBOdlB1FnY8lcy7JsUud/Q3ijUxyWN26Ika0vQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.1.tgz", + "integrity": "sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==", "requires": { - "detect-libc": "^1.0.3", + "detect-libc": "^2.0.0", "expand-template": "^2.0.3", "github-from-package": "0.0.0", "minimist": "^1.2.3", "mkdirp-classic": "^0.5.3", "napi-build-utils": "^1.0.1", - "node-abi": "^2.21.0", - "npmlog": "^4.0.1", + "node-abi": "^3.3.0", "pump": "^3.0.0", "rc": "^1.2.7", - "simple-get": "^3.0.3", + "simple-get": "^4.0.0", "tar-fs": "^2.0.0", "tunnel-agent": "^0.6.0" + }, + "dependencies": { + "detect-libc": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.1.tgz", + "integrity": "sha512-463v3ZeIrcWtdgIg6vI6XUncguvr2TnGl4SzDXinkt9mSLpBJKXT3mW6xT3VQdDN11+WVs29pgvivTc4Lp8v+w==" + }, + "simple-get": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz", + "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==", + "requires": { + "decompress-response": "^6.0.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + } } }, "prelude-ls": { @@ -11656,9 +10819,9 @@ } }, "prism-media": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/prism-media/-/prism-media-1.3.2.tgz", - "integrity": "sha512-L6UsGHcT6i4wrQhFF1aPK+MNYgjRqR2tUoIqEY+CG1NqVkMjPRKzS37j9f8GiYPlD6wG9ruBj+q5Ax+bH8Ik1g==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/prism-media/-/prism-media-1.3.4.tgz", + "integrity": "sha512-eW7LXORkTCQznZs+eqe9VjGOrLBxcBPXgNyHXMTSRVhphvd/RrxgIR7WaWt4fkLuhshcdT5KHL88LAfcvS3f5g==", "requires": {} }, "process": { @@ -11778,62 +10941,6 @@ "strip-json-comments": "~2.0.1" } }, - "read-pkg": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", - "requires": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" - }, - "dependencies": { - "hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" - }, - "normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "requires": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - }, - "type-fest": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==" - } - } - }, - "read-pkg-up": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", - "requires": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, - "dependencies": { - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==" - } - } - }, "readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -11844,13 +10951,12 @@ "util-deprecate": "^1.0.1" } }, - "redent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", - "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "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": { - "indent-string": "^4.0.0", - "strip-indent": "^3.0.0" + "readable-stream": "^3.6.0" } }, "regenerator-runtime": { @@ -11930,15 +11036,6 @@ "tough-cookie": "^2.3.3" } }, - "resolve": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", - "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", - "requires": { - "is-core-module": "^2.2.0", - "path-parse": "^1.0.6" - } - }, "resolve-alpn": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/resolve-alpn/-/resolve-alpn-1.2.0.tgz", @@ -11990,14 +11087,6 @@ } } }, - "run": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/run/-/run-1.4.0.tgz", - "integrity": "sha1-4X2ekEOrL+F3dsspnhI3848LT/o=", - "requires": { - "minimatch": "*" - } - }, "run-async": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", @@ -12055,26 +11144,6 @@ "lru-cache": "^6.0.0" } }, - "semver-regex": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-4.0.1.tgz", - "integrity": "sha512-cByCq+HYEpHMMx5oys/YqkUnUfVf4HHnG3a65rXZQgSVpnUSE68dD3FFowDL7q2KqUjxBTc3iDEJ7/qPsRXe1Q==" - }, - "semver-truncate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/semver-truncate/-/semver-truncate-2.0.0.tgz", - "integrity": "sha512-Rh266MLDYNeML5h90ttdMwfXe1+Nc4LAWd9X1KdJe8pPHP4kFmvLZALtsMNHNdvTyQygbEC0D59sIz47DIaq8w==", - "requires": { - "semver": "^6.0.0" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" - } - } - }, "serialize-javascript": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz", @@ -12156,15 +11225,6 @@ } } }, - "simple-youtube-api": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/simple-youtube-api/-/simple-youtube-api-5.2.1.tgz", - "integrity": "sha512-vmndP9Bkh35tifn2OwY+th2imSsfYtmDqczgdOW5yEARFzvSoR8VSQFsivJnctfV5QHQUL6VrOpNdbmDRLh9Bg==", - "requires": { - "iso8601-duration": "^1.2.0", - "node-fetch": "^2.6.0" - } - }, "simply-djs": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/simply-djs/-/simply-djs-2.0.0.tgz", @@ -12174,6 +11234,64 @@ "discord.js": "^13.1.0", "mathjs": "^9.4.4", "rss-parser": "^3.12.0" + }, + "dependencies": { + "@discordjs/builders": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-0.16.0.tgz", + "integrity": "sha512-9/NCiZrLivgRub2/kBc0Vm5pMBE5AUdYbdXsLu/yg9ANgvnaJ0bZKTY8yYnLbsEc/LYUP79lEIdC73qEYhWq7A==", + "requires": { + "@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/collection": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-0.7.0.tgz", + "integrity": "sha512-R5i8Wb8kIcBAFEPLLf7LVBQKBDYUL+ekb23sOgpkpyGT+V4P7V83wTxcsqmX+PbqHt4cEHn053uMWfRqh/Z/nA==" + }, + "discord.js": { + "version": "13.9.2", + "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-13.9.2.tgz", + "integrity": "sha512-wShFlyAyxgQcWzINeufUoT1U0fmju+pPCRzPfJB7CaA0V1tQHc4e0PpO4NQif8sLfZvrQmEILBaIJ0G5I32OxQ==", + "requires": { + "@discordjs/builders": "^0.16.0", + "@discordjs/collection": "^0.7.0", + "@sapphire/async-queue": "^1.3.2", + "@types/node-fetch": "^2.6.2", + "@types/ws": "^8.5.3", + "discord-api-types": "^0.33.3", + "form-data": "^4.0.0", + "node-fetch": "^2.6.7", + "ws": "^8.8.1" + }, + "dependencies": { + "discord-api-types": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.33.5.tgz", + "integrity": "sha512-dvO5M52v7m7Dy96+XUnzXNsQ/0npsYpU6dL205kAtEDueswoz3aU3bh1UMoK4cQmcGtB1YRyLKqp+DXi05lzFg==" + } + } + }, + "form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } + }, + "ws": { + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.8.1.tgz", + "integrity": "sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA==", + "requires": {} + } } }, "slice-ansi": { @@ -12220,9 +11338,9 @@ "integrity": "sha512-dyycG9fvwtSJqKPfMVOpXt+60qvMGe7vWLwOJDiSJaiAx+hs2EnFChG2bXCWn7ulz+zGzrHdN9/yeEb0YqEPww==" }, "soundcloud-scraper": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/soundcloud-scraper/-/soundcloud-scraper-5.0.2.tgz", - "integrity": "sha512-QAPvRIG4eefc7JdmCQCG/QEhm4D90XgHbe9lJMHmKIxU0INdAD2LycUR1m0mCIKF3F2dk4NvGEkxGfVLI8Af+A==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/soundcloud-scraper/-/soundcloud-scraper-5.0.3.tgz", + "integrity": "sha512-AmS9KmK7mMaPVzHzBk40rANpAttZila3+iAet6EA47EeiTBUzVwjq4B+1LCOLtgPmzDSGk0qn+LZOEd5UhnZTQ==", "requires": { "cheerio": "^1.0.0-rc.10", "m3u8stream": "^0.8.4", @@ -12230,66 +11348,121 @@ }, "dependencies": { "cheerio": { - "version": "1.0.0-rc.10", - "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.10.tgz", - "integrity": "sha512-g0J0q/O6mW8z5zxQ3A8E8J1hUgp4SMOvEoW/x84OwyHKe/Zccz83PVT4y5Crcr530FV6NgmKI1qvGTKVl9XXVw==", + "version": "1.0.0-rc.12", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.12.tgz", + "integrity": "sha512-VqR8m68vM46BNnuZ5NtnGBKIE/DfN0cRIzg9n40EIq9NOv90ayxLBXA8fXC5gquFRGJSTRqBq25Jt2ECLR431Q==", "requires": { - "cheerio-select": "^1.5.0", - "dom-serializer": "^1.3.2", - "domhandler": "^4.2.0", - "htmlparser2": "^6.1.0", - "parse5": "^6.0.1", - "parse5-htmlparser2-tree-adapter": "^6.0.1", - "tslib": "^2.2.0" + "cheerio-select": "^2.1.0", + "dom-serializer": "^2.0.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1", + "htmlparser2": "^8.0.1", + "parse5": "^7.0.0", + "parse5-htmlparser2-tree-adapter": "^7.0.0" + } + }, + "cheerio-select": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cheerio-select/-/cheerio-select-2.1.0.tgz", + "integrity": "sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==", + "requires": { + "boolbase": "^1.0.0", + "css-select": "^5.1.0", + "css-what": "^6.1.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1" + } + }, + "css-select": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz", + "integrity": "sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==", + "requires": { + "boolbase": "^1.0.0", + "css-what": "^6.1.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", + "nth-check": "^2.0.1" } }, + "css-what": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", + "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==" + }, "dom-serializer": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.2.tgz", - "integrity": "sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", + "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", "requires": { - "domelementtype": "^2.0.1", - "domhandler": "^4.2.0", - "entities": "^2.0.0" + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" } }, "domelementtype": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", - "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==" + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==" }, "domhandler": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.2.tgz", - "integrity": "sha512-PzE9aBMsdZO8TK4BnuJwH0QT41wgMbRzuZrHUcpYncEjmQazq8QEaBWgLG7ZyC/DAZKEgglpIA6j4Qn/HmxS3w==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", + "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", "requires": { - "domelementtype": "^2.2.0" + "domelementtype": "^2.3.0" } }, "domutils": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", - "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.0.1.tgz", + "integrity": "sha512-z08c1l761iKhDFtfXO04C7kTdPBLi41zwOZl00WS8b5eiaebNpY00HKbztwBq+e3vyqWNwWF3mP9YLUeqIrF+Q==", "requires": { - "dom-serializer": "^1.0.1", - "domelementtype": "^2.2.0", - "domhandler": "^4.2.0" + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.1" } }, "entities": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", - "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==" + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.3.1.tgz", + "integrity": "sha512-o4q/dYJlmyjP2zfnaWDUC6A3BQFmVTX+tZPezK7k0GLSU9QYCauscf5Y+qcEPzKL+EixVouYDgLQK5H9GrLpkg==" }, "htmlparser2": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-6.1.0.tgz", - "integrity": "sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.1.tgz", + "integrity": "sha512-4lVbmc1diZC7GUJQtRQ5yBAeUCL1exyMwmForWkRLnwyzWBFxN633SALPMGYaWZvKe9j1pRZJpauvmxENSp/EA==", "requires": { - "domelementtype": "^2.0.1", - "domhandler": "^4.0.0", - "domutils": "^2.5.2", - "entities": "^2.0.0" + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", + "entities": "^4.3.0" + } + }, + "nth-check": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "requires": { + "boolbase": "^1.0.0" + } + }, + "parse5": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.0.0.tgz", + "integrity": "sha512-y/t8IXSPWTuRZqXc0ajH/UwDj4mnqLEbSttNbThcFhGrZuOyoyvNBO85PBp2jQa55wY9d07PBNjsK8ZP3K5U6g==", + "requires": { + "entities": "^4.3.0" + } + }, + "parse5-htmlparser2-tree-adapter": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.0.0.tgz", + "integrity": "sha512-B77tOZrqqfUfnVcOrUvfdLbz4pu4RopLD/4vmu3HUPswwTA8OH0EMW9BlWR2B0RCoiZRAHEUu7IxeP1Pd1UU+g==", + "requires": { + "domhandler": "^5.0.2", + "parse5": "^7.0.0" } } } @@ -12303,47 +11476,18 @@ "memory-pager": "^1.0.2" } }, - "spdx-correct": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", - "requires": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" - }, - "spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "requires": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "spdx-license-ids": { - "version": "3.0.10", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.10.tgz", - "integrity": "sha512-oie3/+gKf7QtpitB0LYLETe+k8SifzsX4KixvpOsbI6S0kRiRQ5MKOio8eMSAKQ17N06+wdEOXRiId+zOxo0hA==" - }, "spotify-uri": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/spotify-uri/-/spotify-uri-2.2.0.tgz", - "integrity": "sha512-uUybj02bfyfCoZ0MJ80MkqbKxtIVRJfbRGk05KJFq1li3zb7yNfN1f+TAw4wcXgp7jLWExeiw2wyPQXZ8PHtfg==" + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/spotify-uri/-/spotify-uri-3.0.2.tgz", + "integrity": "sha512-1RrJkUr+uVYJtJiMvh/Jq42GQikJBZN87ki3ZYzybF9452fb5EfAihdMSIAHGU55+YQUl5Vqb1VLJDzEdottAw==" }, "spotify-url-info": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/spotify-url-info/-/spotify-url-info-2.2.3.tgz", - "integrity": "sha512-cZTE5nOnaAjIiaHG9psVYqKXWOlNUIgSU2e+bNInRaYZNgmVgOcKH0D7V1nSER3gv3h5BXvOo0EJTtrMQQo1bA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/spotify-url-info/-/spotify-url-info-3.1.2.tgz", + "integrity": "sha512-YN2ory6GWuMiHL0xQQu61n4Mf3wq2rfu9HLyjMxorxjDkueouPEtv8eeyQYlT1ZgViA7ZFuY78QGjrgSvqynuA==", "requires": { - "cross-fetch": "~3.1.4", "himalaya": "~1.1.0", - "spotify-uri": "~2.2.0" + "spotify-uri": "~3.0.1" } }, "sprintf-js": { @@ -12415,24 +11559,20 @@ "ansi-regex": "^3.0.0" } }, - "strip-final-newline": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", - "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==" - }, - "strip-indent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", - "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", - "requires": { - "min-indent": "^1.0.0" - } - }, "strip-json-comments": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" }, + "strtok3": { + "version": "7.0.0-alpha.9", + "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-7.0.0-alpha.9.tgz", + "integrity": "sha512-G8WxjBFjTZ77toVElv1i7k3jCXNkBB14FVaZ/6LIOka/WGo4La5XHLrU7neFVLdKbXESZf4BejVKZu5maOmocA==", + "requires": { + "@tokenizer/token": "^0.3.0", + "peek-readable": "^5.0.0-alpha.5" + } + }, "superagent": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/superagent/-/superagent-6.1.0.tgz", @@ -12642,6 +11782,15 @@ "os-tmpdir": "~1.0.2" } }, + "token-types": { + "version": "5.0.0-alpha.2", + "resolved": "https://registry.npmjs.org/token-types/-/token-types-5.0.0-alpha.2.tgz", + "integrity": "sha512-EsG9UxAW4M6VATrEEjhPFTKEUi1OiJqTUMIZOGBN49fGxYjZB36k0p7to3HZSmWRoHm1QfZgrg3e02fpqAt5fQ==", + "requires": { + "@tokenizer/token": "^0.3.0", + "ieee754": "^1.2.1" + } + }, "tough-cookie": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", @@ -12656,20 +11805,15 @@ "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" }, - "trim-newlines": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", - "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==" - }, "ts-mixer": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/ts-mixer/-/ts-mixer-6.0.0.tgz", - "integrity": "sha512-nXIb1fvdY5CBSrDIblLn73NW0qRDk5yJ0Sk1qPBF560OdJfQp9jhl+0tzcY09OZ9U+6GpeoI9RjwoIKFIoB9MQ==" + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ts-mixer/-/ts-mixer-6.0.1.tgz", + "integrity": "sha512-hvE+ZYXuINrx6Ei6D6hz+PTim0Uf++dYbK9FFifLNwQj+RwKquhQpn868yZsCtJYiclZF1u8l6WZxxKi+vv7Rg==" }, "tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" }, "tunnel-agent": { "version": "0.6.0", @@ -12702,11 +11846,6 @@ "prelude-ls": "~1.1.2" } }, - "type-fest": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", - "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==" - }, "typed-function": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/typed-function/-/typed-function-2.0.0.tgz", @@ -12715,7 +11854,7 @@ "typedarray": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" + "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" }, "unbox-primitive": { "version": "1.0.1", @@ -12728,6 +11867,11 @@ "which-boxed-primitive": "^1.0.2" } }, + "undici": { + "version": "5.8.2", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.8.2.tgz", + "integrity": "sha512-3KLq3pXMS0Y4IELV045fTxqz04Nk9Ms7yfBBHum3yxsTR4XNn+ZCaUbf/mWitgYDAhsplQ0B1G4S5D345lMO3A==" + }, "unique-random": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unique-random/-/unique-random-1.0.0.tgz", @@ -12801,20 +11945,6 @@ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" }, - "vali-date": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/vali-date/-/vali-date-1.0.0.tgz", - "integrity": "sha1-G5BKWWCfsyjvB4E4Qgk09rhnCaY=" - }, - "validate-npm-package-license": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "requires": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, "verror": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", @@ -12903,11 +12033,6 @@ "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==" }, - "wordwrap": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", - "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=" - }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -12972,70 +12097,20 @@ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, - "yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" - }, - "youtube-dl-exec": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/youtube-dl-exec/-/youtube-dl-exec-1.2.13.tgz", - "integrity": "sha512-qMU+DQtVS3gyC+8hsdCBiU80Zoqe22p++nCN8y4DaWM4ZmXchW938ztpU2dTdl8VQqlc8UonV+chDMFfmpWofw==", - "requires": { - "bin-version-check-cli": "~3.0.0", - "dargs": "~7.0.0", - "execa": "~5.1.0", - "is-unix": "~2.0.1", - "mkdirp": "~1.0.4", - "node-fetch": "~2.6.5" - }, - "dependencies": { - "mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" - } - } - }, "youtube-sr": { - "version": "4.1.9", - "resolved": "https://registry.npmjs.org/youtube-sr/-/youtube-sr-4.1.9.tgz", - "integrity": "sha512-QAx8WCzvahVkx3RCEO+8VNCe0QhZudnz91rI1/Laj2gz/jl5481y6Tmp+MYU3oyfNtrM/2oD9kcFoNz3PO5C+Q==", - "requires": { - "node-fetch": "^2.6.5" - } + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/youtube-sr/-/youtube-sr-4.3.0.tgz", + "integrity": "sha512-cRMOeJZi/DYIRqru0R9UsBLwkj4tQvekldnCj4MZOT+ijlfesrllbUDXqKuA2RbYA4ByJlFf9wxZ1ndvuCJ5Ow==" }, "ytdl-core": { - "version": "4.9.1", - "resolved": "https://registry.npmjs.org/ytdl-core/-/ytdl-core-4.9.1.tgz", - "integrity": "sha512-6Jbp5RDhUEozlaJQAR+l8oV8AHsx3WUXxSyPxzE6wOIAaLql7Hjiy0ZM58wZoyj1YEenlEPjEqcJIjKYKxvHtQ==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/ytdl-core/-/ytdl-core-4.11.0.tgz", + "integrity": "sha512-Q3hCLiUA9AOGQXzPvno14GN+HgF9wsO1ZBHlj0COTcyxjIyFpWvMfii0UC4/cAbVaIjEdbWB71GdcGuc4J1Lmw==", "requires": { - "m3u8stream": "^0.8.3", - "miniget": "^4.0.0", + "m3u8stream": "^0.8.6", + "miniget": "^4.2.2", "sax": "^1.1.3" } - }, - "ytdl-core-discord": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/ytdl-core-discord/-/ytdl-core-discord-1.3.1.tgz", - "integrity": "sha512-KW8zYY35jRSkxZTEQtT9EiR2exFwYKhCE8QZbRg5Ge9a0YWDDhBOixSdWb8Cn41B1uHhz8FR15E4E/k0kHNX3w==", - "requires": { - "@types/node": "^15.12.2", - "prism-media": "^1.3.1", - "ytdl-core": "^4.8.2" - }, - "dependencies": { - "@types/node": { - "version": "15.14.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-15.14.7.tgz", - "integrity": "sha512-FA45p37/mLhpebgbPWWCKfOisTjxGK9lwcHlJ6XVLfu3NgfcazOJHdYUZCWPMK8QX4LhNZdmfo6iMz9FqpUbaw==" - } - } - }, - "zod": { - "version": "3.11.6", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.11.6.tgz", - "integrity": "sha512-daZ80A81I3/9lIydI44motWe6n59kRBfNzTuS2bfzVh1nAXi667TOTWWtatxyG+fwgNUiagSj/CWZwRRbevJIg==" } } } diff --git a/package.json b/package.json index 6a77268a..c4b186f0 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "An Open Source discord bot with lots of features", "main": "index.js", "engines": { - "node": ">=16.6.0", + "node": ">=16.9.0", "npm": ">=7.20.0" }, "scripts": { @@ -14,15 +14,17 @@ "author": "Tester", "license": "ISC", "dependencies": { - "@discordjs/builders": "^0.9.0", - "@discordjs/opus": "^0.7.0", - "@discordjs/voice": "^0.7.5", + "@discordjs/builders": "^1.1.0", + "@discordjs/opus": "^0.8.0", + "@discordjs/voice": "^0.11.0", "@iamtraction/google-translate": "^1.1.2", "ascii-table": "0.0.9", + "better-sqlite3": "^7.6.2", "booru": "^2.3.2", "canvas": "^2.8.0", "canvas-constructor": "^5.0.1", "chalk": "^4.1.0", + "colornames": "^1.1.1", "common-tags": "^1.8.0", "cpu-stat": "^2.0.1", "dateformat": "^5.0.0", @@ -31,13 +33,14 @@ "discord-gamecord": "^1.1.4", "discord-nsfw": "^1.3.0", "discord-nsfw-simple": "^1.1.3", - "discord-player": "^5.1.0-dev.1636095464.54bb4b0", + "discord-player": "^5.3.0", "discord-together": "^1.3.1", - "discord.js": "^13.1.0", + "discord.js": "^14.2.0", "djs-games": "^2.0.11", "dotenv": "^10.0.0", "enmap": "^5.8.7", "ffmpeg": "^0.0.4", + "ffmpeg-static": "^5.0.2", "figlet": "^1.5.0", "flip-text": "^1.1.0", "fs": "0.0.1-security", @@ -68,7 +71,7 @@ "urban": "^0.3.2", "util": "^0.12.3", "weky": "^3.1.8", - "ytdl-core": "^4.9.1" + "ytdl-core": "^4.11.0" }, "devDependencies": { "node": "16.13.0"