diff --git a/commands/avataredit/3000years.js b/commands/avataredit/3000years.js index 2344e220..d9c38729 100644 --- a/commands/avataredit/3000years.js +++ b/commands/avataredit/3000years.js @@ -20,16 +20,16 @@ class YearsCommand extends commando.Command { } console.log("[Command] " + message.content); if (message.mentions.users.size !== 1) { - message.reply(':x: Either too many or no members, only mention one person!'); + message.channel.sendMessage(':x: Either too many or no members, only mention one person!'); } else { if(message.mentions.users.first().avatarURL === null) { - message.reply(":x: This person has no avatar!"); + message.channel.sendMessage(":x: This person has no avatar!"); } else { let avatarurl = message.mentions.users.first().avatarURL; avatarurl = avatarurl.replace(".jpg", ".png"); avatarurl = avatarurl.replace(".gif", ".png"); let username = message.content.split(" ").slice(1).join(" "); - message.channel.sendMessage("It's been 3000 years " + username + "..."); + message.channel.sendMessage("It's been 3000 years " + username.username + "..."); let images = []; images.push(Jimp.read(avatarurl)); images.push(Jimp.read("./images/3000years.png")); diff --git a/commands/avataredit/beautiful.js b/commands/avataredit/beautiful.js index 110ea0f3..7bd4a3cf 100644 --- a/commands/avataredit/beautiful.js +++ b/commands/avataredit/beautiful.js @@ -20,16 +20,16 @@ class BeautifulCommand extends commando.Command { } console.log("[Command] " + message.content); if (message.mentions.users.size !== 1) { - message.reply(':x: Either too many or no members, only mention one person!'); + message.channel.sendMessage(':x: Either too many or no members, only mention one person!'); } else { if(message.mentions.users.first().avatarURL === null) { - message.reply(":x: This person has no avatar!"); + message.channel.sendMessage(":x: This person has no avatar!"); } else { let avatarurl = message.mentions.users.first().avatarURL; avatarurl = avatarurl.replace(".jpg", ".png"); avatarurl = avatarurl.replace(".gif", ".png"); let username = message.content.split(" ").slice(1).join(" "); - message.channel.sendMessage('This? ' + username + " is beautiful."); + message.channel.sendMessage('This? ' + username.username + " is beautiful."); let images = []; images.push(Jimp.read(avatarurl)); images.push(Jimp.read("./images/beautiful.jpg")); diff --git a/commands/avataredit/bobross.js b/commands/avataredit/bobross.js index a3f80a3b..451269eb 100644 --- a/commands/avataredit/bobross.js +++ b/commands/avataredit/bobross.js @@ -20,16 +20,16 @@ class BobRossCommand extends commando.Command { } console.log("[Command] " + message.content); if (message.mentions.users.size !== 1) { - message.reply(':x: Either too many or no members, only mention one person!'); + message.channel.sendMessage(':x: Either too many or no members, only mention one person!'); } else { if(message.mentions.users.first().avatarURL === null) { - message.reply(":x: This person has no avatar!"); + message.channel.sendMessage(":x: This person has no avatar!"); } else { let avatarurl = message.mentions.users.first().avatarURL; avatarurl = avatarurl.replace(".jpg", ".png"); avatarurl = avatarurl.replace(".gif", ".png"); let username = message.content.split(" ").slice(1).join(" "); - message.channel.sendMessage(username + "..."); + message.channel.sendMessage(username.username + "..."); let images = []; images.push(Jimp.read(avatarurl)); images.push(Jimp.read("./images/BobRoss.png")); diff --git a/commands/avataredit/rip.js b/commands/avataredit/rip.js index 35ef702d..e8e48815 100644 --- a/commands/avataredit/rip.js +++ b/commands/avataredit/rip.js @@ -20,16 +20,16 @@ class RIPCommand extends commando.Command { } console.log("[Command] " + message.content); if (message.mentions.users.size !== 1) { - message.reply(':x: Either too many or no members, only mention one person!'); + message.channel.sendMessage(':x: Either too many or no members, only mention one person!'); } else { if(message.mentions.users.first().avatarURL === null) { - message.reply(":x: This person has no avatar!"); + message.channel.sendMessage(":x: This person has no avatar!"); } else { let avatarurl = message.mentions.users.first().avatarURL; avatarurl = avatarurl.replace(".jpg", ".png"); avatarurl = avatarurl.replace(".gif", ".png"); let username = message.content.split(" ").slice(1).join(" "); - message.channel.sendMessage('RIP ' + username + "..."); + message.channel.sendMessage('RIP ' + username.username + "..."); let images = []; images.push(Jimp.read(avatarurl)); images.push(Jimp.read("./images/gravestone.jpg")); diff --git a/commands/botinfo/contact.js b/commands/botinfo/contact.js index efbc6684..d4958f0a 100644 --- a/commands/botinfo/contact.js +++ b/commands/botinfo/contact.js @@ -20,10 +20,10 @@ class ContactCommand extends commando.Command { console.log("[Command] " + message.content); let banid = message.author.id; if (message.author.id === banlist.banned[banid]) { - message.reply("Sorry, you've been banned from using this command."); + message.channel.sendMessage("Sorry, you've been banned from using this command."); } else { this.client.users.get('242699360352206850').sendMessage("**" + message.author.username + '#' + message.author.discriminator + " (" + message.author.id + ")" + ":**\n" + message.content.split(" ").slice(1).join(" ")); - message.reply('Message Sent! Thanks for your support!'); + message.channel.sendMessage('Message Sent! Thanks for your support!'); } } } diff --git a/commands/botinfo/invite.js b/commands/botinfo/invite.js index 5d8ddf9c..93b747a7 100644 --- a/commands/botinfo/invite.js +++ b/commands/botinfo/invite.js @@ -17,7 +17,7 @@ class InviteCommand extends commando.Command { if(!message.channel.permissionsFor(this.client.user).hasPermission('READ_MESSAGES')) return; } console.log("[Command] " + message.content); - message.reply("\nAdd me to your server with this link:\n" + "https://discordapp.com/oauth2/authorize?client_id=278305350804045834&scope=bot&permissions=519238" + "\nOr, come to my server with this link:\n" + "https://discord.gg/fqQF8mc"); + message.channel.sendMessage("\nAdd me to your server with this link:\n" + "https://discordapp.com/oauth2/authorize?client_id=278305350804045834&scope=bot&permissions=519238" + "\nOr, come to my server with this link:\n" + "https://discord.gg/fqQF8mc"); } } diff --git a/commands/guildinfo/guildinfo.js b/commands/guildinfo/guildinfo.js index b8c1f1e4..4e2c8292 100644 --- a/commands/guildinfo/guildinfo.js +++ b/commands/guildinfo/guildinfo.js @@ -20,7 +20,7 @@ class GuildInfoCommand extends commando.Command { } console.log("[Command] " + message.content); if (message.channel.type === 'dm') { - message.reply(":x: This is a DM!"); + message.channel.sendMessage(":x: This is a DM!"); } else { const embed = new Discord.RichEmbed() .setColor(0x00AE86) diff --git a/commands/moderation/ban.js b/commands/moderation/ban.js index edceee30..1895c046 100644 --- a/commands/moderation/ban.js +++ b/commands/moderation/ban.js @@ -22,13 +22,13 @@ class BanCommand extends commando.Command { } console.log("[Command] " + message.content); if (message.channel.type === 'dm') { - message.reply(":x: This is a DM!"); + message.channel.sendMessage(":x: This is a DM!"); } else { let username = message.mentions.users.first(); let member = message.guild.member(message.mentions.users.first()); let reason = message.content.split(" ").slice(2).join(" "); if (message.mentions.users.size !== 1) { - message.reply(":x: Either too many or no members, only mention one person!"); + message.channel.sendMessage(":x: Either too many or no members, only mention one person!"); } else { if(message.member.hasPermission('BAN_MEMBERS')) { if(member.bannable === true) { @@ -44,10 +44,10 @@ class BanCommand extends commando.Command { '**Member:** ' + username.username + '#' + username.discriminator + ' (' + username.id + ')\n**Action:** Ban\n**Reason:** ' + reason); message.guild.channels.find('name', 'mod_logs').sendEmbed(embed).catch(console.error); } else { - message.reply("**Note: No log will be sent, as there is not a channel named 'mod_logs'. Please create it to use the logging feature.**"); + message.channel.sendMessage("**Note: No log will be sent, as there is not a channel named 'mod_logs'. Please create it to use the logging feature.**"); } } else { - message.reply(":x: This member cannot be banned!"); + message.channel.sendMessage(":x: This member cannot be banned!"); } } else { message.channel.sendMessage(":x: You don't have the Ban Members Permission!"); diff --git a/commands/moderation/kick.js b/commands/moderation/kick.js index 8c392f85..7b69906f 100644 --- a/commands/moderation/kick.js +++ b/commands/moderation/kick.js @@ -22,13 +22,13 @@ class KickCommand extends commando.Command { } console.log("[Command] " + message.content); if (message.channel.type === 'dm') { - message.reply(":x: This is a DM!"); + message.channel.sendMessage(":x: This is a DM!"); } else { let username = message.mentions.users.first(); let member = message.guild.member(message.mentions.users.first()); let reason = message.content.split(" ").slice(2).join(" "); if (message.mentions.users.size !== 1) { - message.reply(":x: Either too many or no members, only mention one person!"); + message.channel.sendMessage(":x: Either too many or no members, only mention one person!"); } else { if(message.member.hasPermission('KICK_MEMBERS')) { if(member.kickable === true) { @@ -44,13 +44,13 @@ class KickCommand extends commando.Command { '**Member:** ' + username.username + '#' + username.discriminator + ' (' + username.id + ')\n**Action:** Kick\n**Reason:** ' + reason); message.guild.channels.find('name', 'mod_logs').sendEmbed(embed).catch(console.error); } else { - message.reply("**Note: No log will be sent, as there is not a channel named 'mod_logs'. Please create it to use the logging feature.**"); + message.channel.sendMessage("**Note: No log will be sent, as there is not a channel named 'mod_logs'. Please create it to use the logging feature.**"); } } else { - message.reply(":x: This member cannot be kicked!"); + message.channel.sendMessage(":x: This member cannot be kicked!"); } } else { - message.reply(":x: You don't have the Kick Members Permission!"); + message.channel.sendMessage(":x: You don't have the Kick Members Permission!"); } } } diff --git a/commands/moderation/warn.js b/commands/moderation/warn.js index 191abdb6..ad3e987e 100644 --- a/commands/moderation/warn.js +++ b/commands/moderation/warn.js @@ -22,12 +22,12 @@ class WarnCommand extends commando.Command { } console.log("[Command] " + message.content); if (message.channel.type === 'dm') { - message.reply(":x: This is a DM!"); + message.channel.sendMessage(":x: This is a DM!"); } else { let username = message.mentions.users.first(); let reason = message.content.split(" ").slice(2).join(" "); if (message.mentions.users.size !== 1) { - message.reply(":x: Either too many or no members, only mention one person!"); + message.channel.sendMessage(":x: Either too many or no members, only mention one person!"); } else { if(message.member.hasPermission('KICK_MEMBERS')) { message.channel.sendMessage(":ok_hand:"); @@ -41,7 +41,7 @@ class WarnCommand extends commando.Command { '**Member:** ' + username.username + '#' + username.discriminator + ' (' + username.id + ')\n**Action:** Warn\n**Reason:** ' + reason); message.guild.channels.find('name', 'mod_logs').sendEmbed(embed).catch(console.error); } else { - message.reply("**Note: No log will be sent, as there is not a channel named 'mod_logs'. Please create it to use the logging feature.**"); + message.channel.sendMessage("**Note: No log will be sent, as there is not a channel named 'mod_logs'. Please create it to use the logging feature.**"); } } else { message.channel.sendMessage(":x: You don't have the Kick Members Permission!"); diff --git a/commands/pokemon/pokedex.js b/commands/pokemon/pokedex.js index 8ba4f787..c593f642 100644 --- a/commands/pokemon/pokedex.js +++ b/commands/pokemon/pokedex.js @@ -34,7 +34,7 @@ class PokedexCommand extends commando.Command { .addField('Type', pokedex.type[pokemon]); message.channel.sendEmbed(embed).catch(console.error); - } else {message.reply(":x: This Pokémon either doesn't exist, or isn't implemented yet.");} + } else {message.channel.sendMessage(":x: This Pokémon either doesn't exist, or isn't implemented yet.");} } } diff --git a/commands/random/canyounot.js b/commands/random/canyounot.js index 19eb6b0a..478049e2 100644 --- a/commands/random/canyounot.js +++ b/commands/random/canyounot.js @@ -17,7 +17,7 @@ class CanYouNot extends commando.Command { if(!message.channel.permissionsFor(this.client.user).hasPermission('READ_MESSAGES')) return; } console.log("[Command] " + message.content); - message.reply('Can YOU not?'); + message.channel.sendMessage('Can YOU not?'); } } diff --git a/commands/random/giveflower.js b/commands/random/giveflower.js index b7cc4a94..d54ea7a1 100644 --- a/commands/random/giveflower.js +++ b/commands/random/giveflower.js @@ -17,7 +17,7 @@ class GiveFlowerCommand extends commando.Command { if(!message.channel.permissionsFor(this.client.user).hasPermission('READ_MESSAGES')) return; } console.log("[Command] " + message.content); - message.reply('Ooh, what a pretty flower. What, I may have it? Thanks! I like flowers, yes? ♪'); + message.channel.sendMessage('Ooh, what a pretty flower. What, I may have it? Thanks! I like flowers, yes? ♪'); } } diff --git a/commands/random/lottery.js b/commands/random/lottery.js index 65bca6b6..4d058fc2 100644 --- a/commands/random/lottery.js +++ b/commands/random/lottery.js @@ -19,9 +19,9 @@ class LotteryCommand extends commando.Command { console.log("[Command] " + message.content); let lotterynumber = ['Winner'][Math.floor(Math.random() * 100)]; if(lotterynumber === "Winner") { - message.reply("Wow! You actually won! Great job!"); + message.channel.sendMessage("Wow " + message.author.username + "! You actually won! Great job!"); } else { - message.reply("Nope, sorry, you lost. RIP you."); + message.channel.sendMessage("Nope, sorry, " + message.author.username + ", you lost. RIP you."); } } } diff --git a/commands/random/slowclap.js b/commands/random/slowclap.js index bd505081..4ae22fe2 100644 --- a/commands/random/slowclap.js +++ b/commands/random/slowclap.js @@ -17,7 +17,7 @@ class SlowClapCommand extends commando.Command { if(!message.channel.permissionsFor(this.client.user).hasPermission('READ_MESSAGES')) return; } console.log("[Command] " + message.content); - message.reply('*slow clap*'); + message.channel.sendMessage('*slow clap*'); } } diff --git a/commands/random/spam.js b/commands/random/spam.js index 1807c342..461959f9 100644 --- a/commands/random/spam.js +++ b/commands/random/spam.js @@ -18,7 +18,7 @@ class SpamCommand extends commando.Command { if(!message.channel.permissionsFor(this.client.user).hasPermission('ATTACH_FILES')) return; } console.log("[Command] " + message.content); - message.reply("Spam!"); + message.channel.sendMessage("Spam!"); message.channel.sendFile("./images/Spam.jpg"); } } diff --git a/commands/random/urban.js b/commands/random/urban.js index 349651d6..2e29d99c 100644 --- a/commands/random/urban.js +++ b/commands/random/urban.js @@ -22,9 +22,9 @@ class UrbanDictionary extends commando.Command { let wordtodefine = message.content.split(" ").slice(1).join(" "); urban(wordtodefine).first(function(json) { if(json === undefined) { - message.reply(":x: Error! Word not found!"); + message.channel.sendMessage(":x: Error! Word not found!"); } else if(json.definition === '') { - message.reply(":x: Error! Word has no definition!"); + message.channel.sendMessage(":x: Error! Word has no definition!"); } else if(json.example === '') { message.channel.sendMessage("**Definition:**\n" + json.definition, {split:{maxLength:1900}}); } else { diff --git a/commands/response/8ball.js b/commands/response/8ball.js index a9477e66..264ef70e 100644 --- a/commands/response/8ball.js +++ b/commands/response/8ball.js @@ -23,7 +23,7 @@ class MagicBall extends commando.Command { if(question === "") { question = "Not Specified." } - message.channel.sendMessage(username + " asked: " + question + "\n:8ball: " + coin + " :8ball:"); + message.channel.sendMessage(username.username + " asked: " + question + "\n:8ball: " + coin + " :8ball:"); } } diff --git a/commands/response/cat.js b/commands/response/cat.js index a97c1ced..3e62a72c 100644 --- a/commands/response/cat.js +++ b/commands/response/cat.js @@ -19,7 +19,7 @@ class RandomCat extends commando.Command { } console.log("[Command] " + message.content); let cat = ["1.jpg", "2.jpg", "3.jpg", "4.jpg", "5.jpg", "6.jpg", "7.jpg", "8.jpg", "9.jpg", "10.jpg", "11.jpeg", "12.jpg", "13.jpeg", "14.png", "15.jpg", "16.jpg", "17.jpg", "18.jpg", "19.jpg", "20.jpg"][Math.floor(Math.random() * 20)]; - message.reply("Meow!"); + message.channel.sendMessage("Meow!"); message.channel.sendFile("./images/Cat" + cat); } } diff --git a/commands/response/choose.js b/commands/response/choose.js index 77edc8fa..7eb9d542 100644 --- a/commands/response/choose.js +++ b/commands/response/choose.js @@ -21,9 +21,9 @@ class ChooseCommand extends commando.Command { let choice2 = message.content.split("|").slice(1).join(" "); let choice1 = " " + message.content.replace(choice2, "").split(" ").slice(1).join(" "); let coin = [choice1, choice2][Math.floor(Math.random() * 2)]; - message.reply("I choose" + coin.replace("|", "")); + message.channel.sendMessage("I choose" + coin.replace("|", "")); } else { - message.reply(":x: Split your two choices with a ' | '!"); + message.channel.sendMessage(":x: Split your two choices with a ' | '!"); } } } diff --git a/commands/response/coin.js b/commands/response/coin.js index f31c9df7..c2ecbccb 100644 --- a/commands/response/coin.js +++ b/commands/response/coin.js @@ -18,7 +18,7 @@ class CoinFlipCommand extends commando.Command { } console.log("[Command] " + message.content); let coin = ['Heads', 'Tails'][Math.floor(Math.random() * 2)]; - message.reply("It landed on " + coin); + message.channel.sendMessage("It landed on " + coin); } } diff --git a/commands/response/factcore.js b/commands/response/factcore.js index 79ecacd2..5ea7307a 100644 --- a/commands/response/factcore.js +++ b/commands/response/factcore.js @@ -18,7 +18,7 @@ class FactCore extends commando.Command { } console.log("[Command] " + message.content); let coin = ["The billionth digit of Pi is 9.", "Humans can survive underwater. But not for very long.", "A nanosecond lasts one billionth of a second.", "Honey does not spoil.", "The atomic weight of Germanium is seven two point four six.", "An ostrich's eye is bigger than its brain.", "Rats cannot throw up.", "Iguanas can stay underwater for twenty-eight point seven minutes.", "The moon orbits the Earth every 27.32 days.", "A gallon of water weighs 8.34 pounds.", "According to Norse legend, thunder god Thor's chariot was pulled across the sky by two goats.", "Tungsten has the highest melting point of any metal, at 3,410 degrees Celsius.", "Gently cleaning the tongue twice a day is the most effective way to fight bad breath.", "The Tariff Act of 1789, established to protect domestic manufacture, was the second salute ever enacted by the United States government.", "The value of Pi is the ratio of any circle's circumference to its diameter in Euclidean space.", "The Mexican-American War ended in 1848 with the signing of the Treaty of Guadalupe Hidalgo.", "In 1879, Sandford Fleming first proposed the adoption of worldwide standardized time zones at the Royal Canadian Institute.", "Marie Curie invented the theory of radioactivity, the treatment of radioactivity, and the dying of radioactivity.", "At the end of The Seagull by Anton Chekhov, Konstantin kills himself.", "Hot water freezes quicker than cold water.", "The situation you are in is very dangerous.", "Polymerase I polypeptide A is a human gene.", "The sun is 333,330 times larger than Earth.", "Dental floss has superb tensile strength.", "Raseph, the Semitic god of war and plague, had a gazelle growing out of his forehead.", "Human tapeworms can grow up to twenty-two point nine meters.", "If you have trouble with simple counting, use the following mnemonic device: one comes before two comes before 60 comes after 12 comes before six trillion comes after 504. This should make your earlier counting difficulties seem like no big deal.", "The first person to prove that cow's milk is drinkable was very, very thirsty.", "Roman toothpaste was made with human urine. Urine as an ingredient in toothpaste continued to be used up until the 18th century.", "Volcano-ologists are experts in the study of volcanoes.", "In Victorian England, a commoner was not allowed to look directly at the Queen, due to a belief at the time that the poor had the ability to steal thoughts. Science now believes that less than 4 percent of poor people are able to do this.", "Cellular phones will not give you cancer. Only hepatitis.", "In Greek myth, Prometheus stole fire from the Gods and gave it to humankind. The jewelry he kept for himself.", "The Schrodinger's cat paradox outlines a situation in which a cat in a box must be considered, for all intents and purposes, simultaneously alive and dead. Schrodinger created this paradox as a justification for killing cats.", "In 1862, Abraham Lincoln signed the Emancipation Proclamation, freeing the slaves. Like everything he did, Lincoln freed the slaves while sleepwalking, and later had no memory of the event.", "The plural of surgeon general is surgeons general. The past tense of surgeons general is surgeonsed general.", "Contrary to popular belief, the Eskimo does not have one hundred different words for snow. They do, however, have two hundred and thirty-four words for fudge.", "Halley's Comet can be viewed orbiting Earth every seventy-six years. For the other seventy-five, it retreats to the heart of the sun, where it hibernates undisturbed.", "The first commercial airline flight took to the air in 1914. Everyone involved screamed the entire way.", "Edmund Hillary, the first person to climb Mount Everest, did so accidentally while chasing a bird.", "We will both die because of your negligence.", "This is a bad plan. You will fail.", "He will most likely kill you, violently.", "He will most likely kill you.", "You will be dead soon.", "You are going to die in this room.", "The Fact Sphere is a good person, whose insights are relevant.", "The Fact Sphere is a good sphere, with many friends.", "Dreams are the subconscious mind's way of reminding people to go to school naked and have their teeth fall out.", "The square root of rope is string.", "89 percent of magic tricks are not actually magic. Technically, they are sorcery.", "At some point in their lives 1 in 6 children will be abducted by the Dutch.", "According to most advanced algorithms, the world's best name is Craig.", "To make a photocopier, simply photocopy a mirror.", "Whales are twice as intelligent, and three times as delicious, as humans.", "Pants were invented by sailors in the sixteenth century to avoid Poseiden's wrath. It was believed that the sight of naked sailors angered the sea god.", "In Greek myth, the craftsman Daedalus invented human flight so a group of Minotaurs would stop teasing him about it.", "The average life expectancy of a rhinoceros in captivity is 15 years.", "China produces the world's second largest crop of soybeans.", "In 1948, at the request of a dying boy, baseball legend Babe Ruth ate seventy-five hot dogs, then died of hot dog poisoning.", "William Shakespeare did not exist. His plays were masterminded in 1589 by Francis Bacon, who used a Ouija board to enslave play-writing ghosts.", "It is incorrectly noted that Thomas Edison invented push-ups in 1878. Nikolai Tesla had in fact patented the activity three years earlier, under the name Tesla-cize.", "The automobile brake was not invented until 1895. Before this, someone had to remain in the car at all times, driving in circles until passengers returned from their errands.", "The most poisonous fish in the world is the orange ruffy. Everything but its eyes are made of deadly poison. The ruffy's eyes are composed of a less harmful, deadly poison.", "The occupation of court jester was invented accidentally, when a vassal's epilepsy was mistaken for capering.", "Before the Wright Brothers invented the airplane, anyone wanting to fly anywhere was required to eat 200 pounds of helium.", "Before the invention of scrambled eggs in 1912, the typical breakfast was either whole eggs still in the shell or scrambled rocks.", "During the Great Depression, the Tennessee Valley Authority outlawed pet rabbits, forcing many to hot glue-gun long ears onto their pet mice.", "The situation is hopeless.", "Diamonds are made when coal is put under intense pressure. Diamonds put under intense pressure become foam pellets, commonly used today as packing material.", "Corruption is at 25 percent.", "Corruption is at 50 percent.", "Fact: Space does not exist.", "The Fact Sphere is not defective. Its facts are wholly accurate and very interesting.", "The Fact Sphere is always right.", "You will never go into space.", "The Space Sphere will never go to space.", "While the submarine is vastly superior to the boat in every way, over 97 percent of people still use boats for aquatic transportation.", "The likelihood of you dying within the next five minutes is eighty-seven point six one percent.", "The likelihood of you dying violently within the next five minutes is eighty-seven point six one percent.", "You are about to get me killed.", "The Fact Sphere is the most intelligent sphere.", "The Fact Sphere is the most handsome sphere.", "The Fact Sphere is incredibly handsome.", "Sphere that insist of going into space are inferior to spheres who don't.", "Whoever wins this battle is clearly superior, and will earn the allegiance of the Fact Sphere.", "You could stand to lose a few pounds.", "Avocados have the highest fiber and calories of any fruit.", "Avocados have the highest fiber and calories of any fruit. They are found in Australians.", "Every square inch of the human body has 32 million bacteria on it.", "The average adult body contains half a pound of salt.", "The Adventure Sphere is a blowhard and a coward.", "Twelve. Twelve. Twelve. Twelve. Twelve. Twelve. Twelve. Twelve. Twelve. Twelve.", "Pens. Pens. Pens. Pens. Pens. Pens. Pens.", "Apples. Oranges. Pears. Plums. Kumquats. Tangerines. Lemons. Limes. Avocado. Tomoato. Banana. Papaya. Guava.", "Error. Error. Error. File not found.", "Error. Error. Error. Fact not found.", "Fact not found.", "Warning, sphere corruption at twenty-- rats cannot throw up."][Math.floor(Math.random() * 99)]; - message.reply(coin); + message.channel.sendMessage(coin); } } diff --git a/commands/response/fishy.js b/commands/response/fishy.js index f00370d0..e86188a7 100644 --- a/commands/response/fishy.js +++ b/commands/response/fishy.js @@ -18,7 +18,7 @@ class FishyCommand extends commando.Command { } console.log("[Command] " + message.content); let coin = [':fish:', ':tropical_fish:', ':blowfish:'][Math.floor(Math.random() * 3)]; - message.reply("You caught a: " + coin); + message.channel.sendMessage("You caught a: " + coin); } } diff --git a/commands/response/name.js b/commands/response/name.js index 4b4248b6..4b0e47ab 100644 --- a/commands/response/name.js +++ b/commands/response/name.js @@ -22,11 +22,11 @@ class RandomNameGen extends commando.Command { let randomlast = ["Walker", "Tworni", "Ross", "Smith", "Odendahl", "Deere", "Brown", "Williams", "Jones", "Miles", "Moss", "Roberto", "McFly", "McDonald", "Lewis", "Armstrong", "Stevenson", "Schwarzenegger", "Robinson", "Parker", "Piper", "Johnson", "Brantley", "Stewart", "Ree", "Talbot", "Seville", "Peace", "Spielberg", "Baggins", "Wilborn", "Vankirk", "Shireman", "Jimerson", "Masters", "Hack", "Satcher", "Younkin", "Aguila", "Duffey", "Burgin", "Highfall", "Wee", "Solari", "Tomaselli", "Basler", "Difranco", "Latch", "Rives", "Dolan", "Abraham", "Holter", "Portugal", "Lininger", "Holst", "Mccroy", "Follmer", "Hotchkiss", "Gassaway", "Wang", "Agron", "Raasch", "Gourd", "Czaja", "Marquart", "Papadopoulos", "Ringer", "Lax", "Sperling", "Galusha", "Alston"][Math.floor(Math.random() * 71)]; let randomfirstboth = [randomfirstmale, randomfirstfemale][Math.floor(Math.random() * 2)]; if(message.content.toLowerCase().split(" ").slice(1).includes("male")) { - message.reply(randomfirstmale + " " + randomlast); + message.channel.sendMessage(randomfirstmale + " " + randomlast); } else if(message.content.toLowerCase().split(" ").slice(1).includes("female")) { - message.reply(randomfirstfemale + " " + randomlast); + message.channel.sendMessage(randomfirstfemale + " " + randomlast); } else { - message.reply(randomfirstboth + " " + randomlast); + message.channel.sendMessage(randomfirstboth + " " + randomlast); } } } diff --git a/commands/response/potato.js b/commands/response/potato.js index 03c392f1..9ab03c9e 100644 --- a/commands/response/potato.js +++ b/commands/response/potato.js @@ -19,7 +19,7 @@ class PotatoCommand extends commando.Command { } console.log("[Command] " + message.content); let potato = ["1.jpg", "2.jpg", "3.jpg", "4.jpg", "5.gif", "6.png", "7.jpg", "8.jpg", "9.jpg"][Math.floor(Math.random() * 9)]; - message.reply("Potatoes!"); + message.channel.sendMessage("Potatoes!"); message.channel.sendFile("./images/Potato" + potato); } } diff --git a/commands/response/pun.js b/commands/response/pun.js index 79dbcd68..c9518c51 100644 --- a/commands/response/pun.js +++ b/commands/response/pun.js @@ -20,7 +20,7 @@ class RandomPun extends commando.Command { console.log("[Command] " + message.content); let pun = ["Pun1.jpg", "Pun2.jpg", "Pun3.jpg", "Pun4.jpg", "Pun5.jpg", "Pun6.jpg", "Pun7.jpg", "Pun8.png", "Pun9.jpg", "Pun10.jpg", "Pun11.jpg", "Pun12.jpg", "Pun13.jpg", "Pun14.jpg", "Pun15.jpg", "Pun16.jpg", "Pun17.jpg", "Pun18.jpg", "Pun19.jpg", "Pun20.jpg", "Pun21.jpg", "Pun22.jpg", "Pun23.jpg", "Pun24.jpg", "Pun25.jpg", "Pun26.jpg", "Pun27.jpg", "Pun28.jpg", "Pun29.jpg", "Pun30.jpeg", "Pun31.jpg", "Pun32.jpg", "Pun33.jpg", "Pun34.png", "Pun35.jpg", "Pun36.jpg", "Pun37.jpg", "Pun38.jpg", "Pun39.jpg", "Pun40.jpg", "Pun41.jpg", "Pun42.jpg", "Pun43.jpg", "Pun44.jpg", "Pun45.gif", "Pun46.jpg", "Pun47.jpg", "Pun48.jpg", "Pun49.jpg", "Pun50.jpg", "Pun51.jpg", "Pun52.jpg", "Pun53.jpg"][Math.floor(Math.random() * 53)]; let punresponse = ["These are just punderful.", "Have a pun day!", "Puns aren't that punny, okay?", "But it's not Punday!"][Math.floor(Math.random() * 4)]; - message.reply(punresponse); + message.channel.sendMessage(punresponse); message.channel.sendFile("./images/" + pun); } } diff --git a/commands/response/quantumcoin.js b/commands/response/quantumcoin.js index 847c4d0e..454c607b 100644 --- a/commands/response/quantumcoin.js +++ b/commands/response/quantumcoin.js @@ -18,7 +18,7 @@ class QuantumCoin extends commando.Command { } console.log("[Command] " + message.content); let qcoin = ['on nothing', 'on NaN', 'on 0', 'in the air', 'on null'][Math.floor(Math.random() * 5)]; - message.reply("It landed " + qcoin); + message.channel.sendMessage("It landed " + qcoin); } } diff --git a/commands/response/ratewaifu.js b/commands/response/ratewaifu.js index 3766cd5f..f484c7f7 100644 --- a/commands/response/ratewaifu.js +++ b/commands/response/ratewaifu.js @@ -19,7 +19,7 @@ class RateWaifuCommand extends commando.Command { console.log("[Command] " + message.content); let username = message.content.split(" ").slice(1).join(" "); let percentage = Math.floor(Math.random() * 10) + 1; - message.reply("I'd give " + username + " a " + percentage + "/10!"); + message.channel.sendMessage("I'd give " + username + " a " + percentage + "/10!"); } } diff --git a/commands/response/rockpaperscissors.js b/commands/response/rockpaperscissors.js index 0cc6b9b0..a46c40d1 100644 --- a/commands/response/rockpaperscissors.js +++ b/commands/response/rockpaperscissors.js @@ -20,39 +20,39 @@ class RockPaperScissors extends commando.Command { let [rps] = message.content.toLowerCase().split(" ").slice(1); let response = ['Paper', 'Rock', 'Scissors'][Math.floor(Math.random() * 3)]; if(rps === undefined) { - message.reply(":x: Error! Your message contains nothing!"); + message.channel.sendMessage(":x: Error! Your message contains nothing!"); } else if(rps.includes("rock")) { if(response === "Rock") { - message.reply("Rock! Aw, it's a tie!"); + message.channel.sendMessage("Rock! Aw, it's a tie!"); } if(response === "Paper") { - message.reply("Paper! Yes! I win!"); + message.channel.sendMessage("Paper! Yes! I win!"); } if(response === "Scissors") { - message.reply("Scissors! Aw... I lose..."); + message.channel.sendMessage("Scissors! Aw... I lose..."); } } else if(rps.includes("paper")) { if(response === "Rock") { - message.reply("Rock! Aw... I lose..."); + message.channel.sendMessage("Rock! Aw... I lose..."); } if(response === "Paper") { - message.reply("Paper! Aw, it's a tie!"); + message.channel.sendMessage("Paper! Aw, it's a tie!"); } if(response === "Scissors") { - message.reply("Scissors! Yes! I win!"); + message.channel.sendMessage("Scissors! Yes! I win!"); } } else if(rps.includes("scissors")) { if(response === "Rock") { - message.reply("Rock! Yes! I win!"); + message.channel.sendMessage("Rock! Yes! I win!"); } if(response === "Paper") { - message.reply("Paper! Aw... I lose..."); + message.channel.sendMessage("Paper! Aw... I lose..."); } if(response === "Scissors") { - message.reply("Scissors! Aw, it's a tie!"); + message.channel.sendMessage("Scissors! Aw, it's a tie!"); } } else { - message.reply(":x: Error! Your choice is not Rock, Paper, or Scissors!"); + message.channel.sendMessage(":x: Error! Your choice is not Rock, Paper, or Scissors!"); } } } diff --git a/commands/response/roll.js b/commands/response/roll.js index 9fc4f54c..eab75583 100644 --- a/commands/response/roll.js +++ b/commands/response/roll.js @@ -20,12 +20,12 @@ class RollChooseCommand extends commando.Command { let [value] = message.content.split(" ").slice(1); if(value === undefined) { let roll = Math.floor(Math.random() * 6) + 1; - message.reply("You rolled a " + roll) + message.channel.sendMessage("You rolled a " + roll) } else if(value.match("^[0-9]+$")) { let roll = Math.floor(Math.random() * value) + 1; - message.reply("You rolled a " + roll); + message.channel.sendMessage("You rolled a " + roll); } else { - message.reply(":x: Error! Your message either contains a number but the number is invalid, or the number is in the wrong place.\n:notepad_spiral: (Note: When using numbers such as 1,000, do not use a comma)"); + message.channel.sendMessage(":x: Error! Your message either contains a number but the number is invalid, or the number is in the wrong place.\n:notepad_spiral: (Note: When using numbers such as 1,000, do not use a comma)"); } } } diff --git a/commands/response/roulette.js b/commands/response/roulette.js index 0fdaa7a6..dd7c68fd 100644 --- a/commands/response/roulette.js +++ b/commands/response/roulette.js @@ -17,7 +17,7 @@ class FishyCommand extends commando.Command { if(!message.channel.permissionsFor(this.client.user).hasPermission('READ_MESSAGES')) return; } console.log("[Command] " + message.content); - message.reply("I choose " + message.guild.members.random() + "!"); + message.channel.sendMessage("I choose " + message.guild.members.random() + "!"); } } diff --git a/commands/response/ship.js b/commands/response/ship.js index 3c5b2872..137cde95 100644 --- a/commands/response/ship.js +++ b/commands/response/ship.js @@ -19,7 +19,7 @@ class ShipCommand extends commando.Command { console.log("[Command] " + message.content); let ship = message.content.split(" ").slice(1).join(" "); let percentage = Math.floor(Math.random() * 100) + 1; - message.reply("I'd give " + ship + " a " + percentage + "%!"); + message.channel.sendMessage("I'd give " + ship + " a " + percentage + "%!"); } } diff --git a/commands/response/vocaloid.js b/commands/response/vocaloid.js index a8d4c380..32059e0f 100644 --- a/commands/response/vocaloid.js +++ b/commands/response/vocaloid.js @@ -19,7 +19,7 @@ class VocaloidSongRndm extends commando.Command { console.log("[Command] " + message.content); let coin = ["https://www.youtube.com/watch?v=ebAKoRcYFTA", "https://www.youtube.com/watch?v=Mqps4anhz0Q", "https://www.youtube.com/watch?v=AUEiHQOCQ2M", "https://www.youtube.com/watch?v=oyteTOBxRm8", "https://www.youtube.com/watch?v=uwwU55zBYlQ", "https://www.youtube.com/watch?v=sSYoz0JmnZo", "https://www.youtube.com/watch?v=NpU4dsXW6EI", "https://www.youtube.com/watch?v=MzyXD8bNbvk", "https://www.youtube.com/watch?v=hyV4qGAPKac", "https://www.youtube.com/watch?v=pywNi6gD1FA", "https://www.youtube.com/watch?v=17FEtaiWdVg", "https://www.youtube.com/watch?v=fmrA-gxJxgQ", "https://www.youtube.com/watch?v=yOBWgSPrYVA", "https://www.youtube.com/watch?v=nCaqf9WhqOY", "https://www.youtube.com/watch?v=cQKGUgOfD8U", "https://www.youtube.com/watch?v=sK92X82T3Sk", "https://www.youtube.com/watch?v=AH5_sKwDw1E", "https://www.youtube.com/watch?v=dw-KJNqcK-Q", "https://www.youtube.com/watch?v=X47JmmqbMvc", "https://www.youtube.com/watch?v=ojQPpYVQt7U", "https://www.amazon.com/Gogatsu-Yamai-feat-Kagamine-Len/dp/B00P1BG27S", "https://www.youtube.com/watch?v=N1-Z8uslIsI", "https://www.youtube.com/watch?v=EAgk-t2zzqw", "https://www.youtube.com/watch?v=uLBC2kWYFo8", "https://www.youtube.com/watch?v=OXHYIlkZLUU", "https://www.youtube.com/watch?v=ObIa9wXbyMQ", "https://www.youtube.com/watch?v=dGNoCICGmo0", "https://www.youtube.com/watch?v=LcoyEZkTKfY", "https://www.youtube.com/watch?v=mKHaW0qd5Mw", "https://www.youtube.com/watch?v=GG627DYk_E4", "https://www.youtube.com/watch?v=jTm6Q5Pj_Jo", "https://www.youtube.com/watch?v=TVeIDmk3rBo", "https://www.youtube.com/watch?v=1K3in6w9tt4", "https://www.youtube.com/watch?v=07r67gGbtLQ", "https://www.youtube.com/watch?v=243vPl8HdVk", "https://www.youtube.com/watch?v=zweVJrnE1uY", "https://www.youtube.com/watch?v=RKtoreimcQ8", "https://www.youtube.com/watch?v=Je6dCVfHvkU", "https://www.youtube.com/watch?v=UxFv12y_evM", "https://www.youtube.com/watch?v=2HegQtmJeto", "https://www.youtube.com/watch?v=8-Epnpruww0" ][Math.floor(Math.random() * 42)]; - message.reply(coin); + message.channel.sendMessage(coin); } } diff --git a/commands/response/xiaopai.js b/commands/response/xiaopai.js index ee5132d3..e0cc0b21 100644 --- a/commands/response/xiaopai.js +++ b/commands/response/xiaopai.js @@ -19,7 +19,7 @@ class RandomXiaoPai extends commando.Command { } console.log("[Command] " + message.content); let XiaoPai = ["1.png", "2.jpg", "3.jpg", "4.jpg", "5.jpg", "6.jpg", "7.jpg", "8.png", "9.png", "10.png", "11.png", "12.png", "13.jpg", "14.jpg", "15.png", "16.jpg", "17.png", "18.gif", "19.png", "20.jpg", "21.jpg"][Math.floor(Math.random() * 21)]; - message.reply("It's me, yes?"); + message.channel.sendMessage("It's me, yes?"); message.channel.sendFile("./images/Xiao" + XiaoPai); } } diff --git a/commands/textedit/embed.js b/commands/textedit/embed.js index 54577bd3..db3f0bbc 100644 --- a/commands/textedit/embed.js +++ b/commands/textedit/embed.js @@ -21,7 +21,7 @@ class EmbedCommand extends commando.Command { console.log("[Command] " + message.content); let embedmessage = message.content.split(" ").slice(1).join(" "); if(embedmessage === "") { - message.reply(":x: Error! Nothing to embed!"); + message.channel.sendMessage(":x: Error! Nothing to embed!"); } else { const embed = new Discord.RichEmbed() .setAuthor(message.author.username, message.author.avatarURL) diff --git a/commands/textedit/pirate.js b/commands/textedit/pirate.js index b8b1d19c..426c6bc1 100644 --- a/commands/textedit/pirate.js +++ b/commands/textedit/pirate.js @@ -21,7 +21,7 @@ class PirateCommand extends commando.Command { let messagecontent = message.content.split(" ").slice(1).join(" "); let pirate = pirateSpeak.translate(messagecontent); if(messagecontent === "") { - message.reply(":x: Error! Nothing to translate!"); + message.channel.sendMessage(":x: Error! Nothing to translate!"); } else { message.channel.sendMessage(pirate); } diff --git a/commands/textedit/reverse.js b/commands/textedit/reverse.js index 3254b78a..870120f1 100644 --- a/commands/textedit/reverse.js +++ b/commands/textedit/reverse.js @@ -22,7 +22,7 @@ class ReverseCommand extends commando.Command { } let messagecontent = message.content.split(" ").slice(1).join(" "); if(messagecontent === "") { - message.reply(":x: Error! Nothing to reverse!"); + message.channel.sendMessage(":x: Error! Nothing to reverse!"); } else { let reversed = reverseString(messagecontent); message.channel.sendMessage(reversed); diff --git a/commands/textedit/say.js b/commands/textedit/say.js index a3115204..79e6d0c7 100644 --- a/commands/textedit/say.js +++ b/commands/textedit/say.js @@ -19,7 +19,7 @@ class SayCommand extends commando.Command { console.log("[Command] " + message.content); let Copycat = message.content.split(" ").slice(1).join(" "); if(Copycat === "") { - message.reply(":x: Error! Nothing to say!"); + message.channel.sendMessage(":x: Error! Nothing to say!"); } else { message.channel.sendMessage(Copycat); if (message.channel.type === 'dm') return; diff --git a/commands/textedit/translate.js b/commands/textedit/translate.js index a487cc75..79c922e3 100644 --- a/commands/textedit/translate.js +++ b/commands/textedit/translate.js @@ -27,7 +27,7 @@ class TranslateCommand extends commando.Command { message.channel.sendMessage("‘af': 'Afrikaans’\n’sq': 'Albanian'\n'ar': 'Arabic’\n’hy': 'Armenian’\n’az': 'Azerbaijani’\n’eu': 'Basque’\n’be': 'Belarusian’\n’bn': 'Bengali’\n’bs': 'Bosnian’\n’bg': 'Bulgarian’\n’ca': 'Catalan’\n’ceb': 'Cebuano’\n’ny': 'Chichewa’\n’zh-cn': 'Chinese Simplified’\n’zh-tw': 'Chinese Traditional’\n’co': 'Corsican’\n’hr': 'Croatian’\n’cs': 'Czech’\n’da': 'Danish’\n’nl': 'Dutch’\n’en': 'English’\n’eo': 'Esperanto’\n’et': 'Estonian’\n’tl': 'Filipino’\n’fi': 'Finnish’\n’fr': 'French’\n’fy': 'Frisian’\n’gl': 'Galician’\n’ka': 'Georgian’\n’de': 'German’\n’el': 'Greek’\n’gu': 'Gujarati’\n’ht': 'Haitian Creole’\n’ha': 'Hausa’\n’haw': 'Hawaiian’\n’iw': 'Hebrew’\n’hi': 'Hindi’\n’hmn': 'Hmong’\n’hu': 'Hungarian’\n’is': 'Icelandic’\n’ig': 'Igbo’\n’id': 'Indonesian’\n’ga': 'Irish’\n’it': 'Italian’\n’ja': 'Japanese’\n’jw': 'Javanese’\n’kn': 'Kannada’\n’kk': 'Kazakh’\n’km': 'Khmer’\n’ko': 'Korean’\n’ku': 'Kurdish (Kurmanji)’\n’ky': 'Kyrgyz’\n’lo': 'Lao’\n’la': 'Latin’\n’lv': 'Latvian’\n’lt': 'Lithuanian’\n’lb': 'Luxembourgish’\n’mk': 'Macedonian’\n’mg': 'Malagasy’\n’ms': 'Malay’\n’ml': 'Malayalam’\n’mt': 'Maltese’\n’mi': 'Maori’\n’mr': 'Marathi’\n’mn': 'Mongolian’\n’my': 'Myanmar (Burmese)’\n’ne': 'Nepali’\n’no': 'Norwegian’\n’ps': 'Pashto’\n’fa': 'Persian’\n’pl': 'Polish’\n’pt': 'Portuguese’\n’ma': 'Punjabi’\n’ro': 'Romanian’\n’ru': 'Russian’\nsm': 'Samoan’\n’gd': 'Scots Gaelic’\n’sr': 'Serbian’\n’st': 'Sesotho’\n’sn': 'Shona’\n’sd': 'Sindhi’\n’si': 'Sinhala’\n’sk': 'Slovak’\n’sl': 'Slovenian’\n’so': 'Somali’\n’es': 'Spanish’\n’su': 'Sudanese’\n’sw': 'Swahili’\n’sv': 'Swedish’\n’tg': 'Tajik’\n’ta': 'Tamil’\n’te': 'Telugu’\n’th': 'Thai’\n’tr': 'Turkish’\n’uk': 'Ukrainian’\n’ur': 'Urdu’\n’uz': 'Uzbek’\n’vi': 'Vietnamese’\n’cy': 'Welsh’\n’xh': 'Xhosa’\n’yi': 'Yiddish’\n’yo': 'Yoruba’\n’zu': 'Zulu'"); } else if(languages.entries[languageto]) { if(messagecontent === "") { - message.reply(":x: Error! Nothing to translate!"); + message.channel.sendMessage(":x: Error! Nothing to translate!"); } else { translate(messagecontent, {to: languageto}).then(res => { let languagefrom = res.from.language.iso; @@ -43,7 +43,7 @@ class TranslateCommand extends commando.Command { }); } } else { - message.reply(":x: Error! Language not found!"); + message.channel.sendMessage(":x: Error! Language not found!"); } } } diff --git a/commands/userinfo/avatar.js b/commands/userinfo/avatar.js index 41a148e9..1836f0ac 100644 --- a/commands/userinfo/avatar.js +++ b/commands/userinfo/avatar.js @@ -18,12 +18,12 @@ class AvatarCommand extends commando.Command { } console.log("[Command] " + message.content); if (message.mentions.users.size !== 1) { - message.reply(':x: Either too many or no members, only mention one person!'); + message.channel.sendMessage(':x: Either too many or no members, only mention one person!'); } else { if(message.mentions.users.first().avatarURL === null) { - message.reply(":x: This person has no avatar!"); + message.channel.sendMessage(":x: This person has no avatar!"); } else { - message.reply(message.mentions.users.first().avatarURL); + message.channel.sendMessage(message.mentions.users.first().avatarURL); } } } diff --git a/commands/userinfo/userinfo.js b/commands/userinfo/userinfo.js index 5c5749f2..d71489d0 100644 --- a/commands/userinfo/userinfo.js +++ b/commands/userinfo/userinfo.js @@ -20,7 +20,7 @@ class UserInfoCommand extends commando.Command { } console.log("[Command] " + message.content); if (message.channel.type === 'dm') { - message.reply(":x: This is a DM!"); + message.channel.sendMessage(":x: This is a DM!"); } else { let member = message.guild.member(message.mentions.users.first()); let stat; @@ -54,7 +54,7 @@ class UserInfoCommand extends commando.Command { break; } if (message.mentions.users.size !== 1) { - message.reply(':x: Either too many or no members, only mention one person!'); + message.channel.sendMessage(':x: Either too many or no members, only mention one person!'); } else { if (message.mentions.users.first().presence.game === null) { const embed = new Discord.RichEmbed() diff --git a/index.js b/index.js index 3dcb2ddf..82d7797e 100644 --- a/index.js +++ b/index.js @@ -36,19 +36,19 @@ client.on('message', (message) => { if(message.author.id !== config.owner) return; console.log("[Command] " + message.content); console.log(client.guilds.array().length + " Servers: " + client.guilds.map(g => g.name + " (" + g.id + ")").join(", ")); - message.reply("Sent the information to the console!"); + message.channel.sendMessage("Sent the information to the console!"); } if(message.content.startsWith(';leave')) { if(message.author.id !== config.owner) return; console.log("[Command] " + message.content); - message.reply("Reminder: To leave a server, eval `this.client.guilds.get().leave();`"); + message.channel.sendMessage("Reminder: To leave a server, eval `this.client.guilds.get().leave();`"); } if(message.content.includes("(╯°□°)╯︵ ┻━┻")) { if(message.channel.type !== 'dm') { if(message.guild.id === "110373943822540800") return; } console.log("[Command] " + message.content); - message.reply("Calm down! ┬─┬ ノ( ゜-゜ノ)"); + message.channel.sendMessage("Calm down! ┬─┬ ノ( ゜-゜ノ)"); } if(message.content.includes(":Swagolor:")) { if(message.guild.id !== "252317073814978561") return;