├── .github └── FUNDING.yml ├── LICENSE ├── README.md ├── commands ├── fun │ ├── ascii.js │ ├── avatar.js │ ├── badges.js │ ├── clyde.js │ ├── coinflip.js │ ├── comment.js │ ├── emojify.js │ ├── howgay.js │ ├── meme.js │ ├── rate.js │ └── trivia.js ├── info │ ├── help.js │ ├── ping.js │ ├── serverinfo.js │ ├── userinfo.js │ └── weather.js └── moderation │ ├── ban.js │ ├── captcha.js │ ├── clear.js │ ├── kick.js │ ├── mute.js │ ├── tempmute.js │ ├── unban.js │ ├── unmute.js │ ├── warn.js │ └── warnings.js ├── config.js ├── index.js ├── package-lock.json └── package.json /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | ko_fi: # ko-fi.com/discordtricks 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # discord.js-ModerationBot_V2 2 | ModerationBot_V2 is an advanced version of ModerationB_V1 with a lot of Awesome features added commands!! This include a dynamic help commands and some fixed bugs.. This is the 2nd Version of ModerationBot and further updates will be made soon.. So make sure to follow me on **[GitHub](https://github.com/drstrangegithub)** for latest updates!! 3 | 4 | # Setup 5 | Import the project into repl.it and then fill out your bot token in config.js file.. Then type npm install in the console and let repl.it install all the packages.. 6 | Next put Your Bot token in the client secret option.. And then just run the bot!! Yes it's that easy to make your bot safe and Setting it up :) 7 | 8 | # Video setup guide 9 | Check out this **[Video](https://www.youtube.com/watch?v=S0_E9YdTGis&t=69s)** For explained setup guide.. 10 | And if you want more easy bot tutorials Subscribe to the **[CHANNEL](https://www.youtube.com/channel/UCmTSEzt4h1S4MiCM1grWu9g)** That will support me a lot!! 11 | 12 | **Thanks for Choosing MODERATION_V2** 13 | -------------------------------------------------------------------------------- /commands/fun/ascii.js: -------------------------------------------------------------------------------- 1 | const Discord = require("discord.js"); 2 | const { MessageEmbed } = require("discord.js"); 3 | const { Color } = require("../../config.js"); 4 | const figlet = require("figlet"); 5 | const { promisify } = require("util"); 6 | const figletAsync = promisify(figlet); 7 | 8 | module.exports = { 9 | name: "ascii", 10 | aliases: [], 11 | description: "Ascii Art!", 12 | usage: "Ascii ", 13 | run: async (client, message, args) => { 14 | //Start 15 | 16 | message.delete(); 17 | 18 | let Content = args.join(" "); 19 | 20 | if (!Content) return message.channel.send(`Please Give Me Text!`); 21 | 22 | let Result = await figletAsync(Content); 23 | 24 | let embed = new MessageEmbed() 25 | .setColor(Color) 26 | .setDescription("```" + Result + "```") 27 | .setTimestamp(); 28 | 29 | if (Content.length > 20) 30 | return message.channel.send(`Please Make Shorter! | Limit : 20`); 31 | 32 | message.channel.send(embed); 33 | 34 | message.delete(); 35 | 36 | //End 37 | } 38 | }; -------------------------------------------------------------------------------- /commands/fun/avatar.js: -------------------------------------------------------------------------------- 1 | const Discord = require("discord.js"); 2 | const { MessageEmbed } = require("discord.js"); 3 | const { Color } = require("../../config.js"); 4 | 5 | module.exports = { 6 | name: "avatar", 7 | aliases: ["icon", "pfp"], 8 | description: "Show Member Avatar!", 9 | usage: "Avatar | ", 10 | run: async (client, message, args) => { 11 | //Start 12 | let Member = 13 | message.mentions.members.first() || 14 | message.guild.members.cache.get(args[0]) || 15 | message.member; 16 | 17 | let embed = new Discord.MessageEmbed() 18 | .setColor(Color) 19 | .addField( 20 | "Links", 21 | `[png](${Member.user.displayAvatarURL({ 22 | format: "png", 23 | dynamic: true 24 | })}) | [jpg](${Member.user.displayAvatarURL({ 25 | format: "jpg", 26 | dynamic: true 27 | })}) | [webp](${Member.user.displayAvatarURL({ 28 | format: "webp", 29 | dynamic: true 30 | })})` 31 | ) 32 | .setImage(Member.user.displayAvatarURL({ dynamic: true })) 33 | .setTimestamp(); 34 | 35 | message.channel.send(embed); 36 | 37 | //End 38 | } 39 | }; -------------------------------------------------------------------------------- /commands/fun/badges.js: -------------------------------------------------------------------------------- 1 | const { Client, Message, MessageEmbed } = require('discord.js'); 2 | 3 | module.exports = { 4 | name: "badge", 5 | aliases: ["icon", "pfp"], 6 | description: "Show Member HypeSquad Badge", 7 | usage: "Badge | ", 8 | run: async (client, message, args) => { 9 | const user = message.mentions.users.first() || message.author; 10 | 11 | const flags = user.flags.toArray(); 12 | 13 | console.log(flags); 14 | 15 | message.channel.send(`**${user}'s badges: ${flags.join(', ')}**`) 16 | } 17 | } -------------------------------------------------------------------------------- /commands/fun/clyde.js: -------------------------------------------------------------------------------- 1 | const Discord = require('discord.js'); 2 | const config = require('../../config.js'); 3 | const { MessageAttachment } = require('discord.js') 4 | const fetch = require('node-fetch'); 5 | 6 | module.exports = { 7 | name: "clyde", 8 | aliases: ["cl"], 9 | description: "Show Member Avatar!", 10 | usage: "Clyde | ", 11 | run: async (client, message, args) => { 12 | }, 13 | run: async (bot, message, args) => { 14 | 15 | const text = args.slice().join(' '); 16 | if (!text) { 17 | return message.channel.send( 18 | '❎ Please provide valid text.', 19 | ); 20 | } 21 | 22 | const url = `https://nekobot.xyz/api/imagegen?type=clyde&text=${text}`; 23 | 24 | let response; 25 | try { 26 | response = await fetch(url).then(res => res.json()); 27 | } 28 | catch (e) { 29 | return message.channel.send('❎ An error occured, please try again!'); 30 | } 31 | const attachment = new MessageAttachment(response.message, 'clyde.png'); 32 | return message.channel.send(attachment); 33 | 34 | } 35 | }; -------------------------------------------------------------------------------- /commands/fun/coinflip.js: -------------------------------------------------------------------------------- 1 | const Discord = require("discord.js"); 2 | const { MessageEmbed } = require("discord.js"); 3 | const { Color } = require("../../config.js"); 4 | 5 | module.exports = { 6 | name: "coinflip", 7 | aliases: ["toss", "flip"], 8 | description: "Flip A Coin!", 9 | usage: "Coinflip", 10 | run: async (client, message, args) => { 11 | //Start 12 | message.delete(); 13 | const coins = ["Heads", "Tails", "Center"]; 14 | 15 | let result = Math.floor(Math.random() * coins.length); 16 | 17 | const embed = new MessageEmbed() 18 | .setColor(Color) 19 | .setTitle(`Coin Is`) 20 | .setDescription(coins[result]) 21 | .setFooter(`Fliped by ${message.author.username}`) 22 | .setTimestamp(); 23 | 24 | message.channel.send(embed); 25 | 26 | //End 27 | } 28 | }; -------------------------------------------------------------------------------- /commands/fun/comment.js: -------------------------------------------------------------------------------- 1 | const Discord = require("discord.js"); 2 | const {MessageEmbed} = require("discord.js"); 3 | const canvacord = require("canvacord"); 4 | 5 | module.exports = { 6 | name: "comment", 7 | aliases: ['c'], 8 | description: "COMMENT!!", 9 | usage: "Comment", 10 | run: async (client, message, args) => { 11 | 12 | const comment = args.join(''); 13 | if(!comment) return message.channel.send(`${bot.emotes.error} Provide something to Comment!`) 14 | try { 15 | let yt = await canvacord.Canvas.youtube({"avatar":message.author.displayAvatarURL({format: "png"}),"username":message.author.username, "content":args.join(" ")}) 16 | let attachment = new Discord.MessageAttachment(yt, 'comment.png') 17 | message.channel.send(attachment); 18 | }catch(err) { 19 | const embed2 = new Discord.MessageEmbed() 20 | .setTitle(`${bot.emotes.error} Something went wrong.\n${bot.emotes.error}Note : It won't work if the User contains Unwanted characters in his Username.`) 21 | .setColor(config.embedcolor); 22 | message.channel.send(embed2); 23 | } 24 | 25 | } 26 | }; -------------------------------------------------------------------------------- /commands/fun/emojify.js: -------------------------------------------------------------------------------- 1 | const { Client, Message, MessageEmbed } = require('discord.js'); 2 | 3 | module.exports = { 4 | name: "emojify", 5 | aliases: ["icon", "pfp"], 6 | description: "Emojify!!", 7 | usage: "Emojify ", 8 | run: async (client, message, args) => { 9 | if(!args.length) return message.reply('Please specify a text to translate.') 10 | const specialCodes = { 11 | '0': ':zero:', 12 | '1': ':one:', 13 | '2': ':two:', 14 | '3': ':three:', 15 | '4': ':four:', 16 | '5': ':five:', 17 | '6': ':six:', 18 | '7': ':seven:', 19 | '8': ':eight:', 20 | '9': ':nine:', 21 | '#': ':hash:', 22 | '*': ':asterisk:', 23 | '?': ':grey_question:', 24 | '!': ':grey_exclamation:', 25 | ' ': ' ' 26 | } 27 | const text = args.join(" ").toLowerCase().split('').map(letter => { 28 | if(/[a-z]/g.test(letter)) { 29 | return `:regional_indicator_${letter}:` 30 | } else if (specialCodes[letter]) { 31 | return `${specialCodes[letter]}` 32 | } 33 | return letter; 34 | }).join(''); 35 | 36 | message.channel.send(text) 37 | } 38 | } -------------------------------------------------------------------------------- /commands/fun/howgay.js: -------------------------------------------------------------------------------- 1 | const Discord = require("discord.js"); 2 | const { MessageEmbed } = require("discord.js"); 3 | const { Color } = require("../../config.js"); 4 | 5 | module.exports = { 6 | name: "howgay", 7 | aliases: [], 8 | description: "Show How Gay Member Is!", 9 | usage: "Howgay ", 10 | run: async (client, message, args) => { 11 | //Start 12 | message.delete(); 13 | let Member = 14 | message.mentions.members.first() || 15 | message.guild.members.cache.get(args[0]) || 16 | message.member; 17 | 18 | let Result = Math.floor(Math.random() * 101); 19 | 20 | let embed = new MessageEmbed() 21 | .setColor(Color) 22 | .setTitle(`Gay v2 Machine`) 23 | .setDescription(`${Member.user.username} Is ${Result}% Gay 🏳️‍🌈`) 24 | .setFooter(`Requested by ${message.author.username}`) 25 | .setTimestamp(); 26 | 27 | message.channel.send(embed); 28 | 29 | //End 30 | } 31 | }; -------------------------------------------------------------------------------- /commands/fun/meme.js: -------------------------------------------------------------------------------- 1 | const Discord = require("discord.js"); 2 | const { MessageEmbed } = require("discord.js"); 3 | const { Color } = require("../../config.js"); 4 | const fetch = require("node-fetch"); 5 | 6 | module.exports = { 7 | name: "meme", 8 | aliases: [], 9 | description: "Send A Meme!", 10 | usage: "Meme", 11 | run: async (client, message, args) => { 12 | //Start 13 | message.delete(); 14 | fetch("https://meme-api.herokuapp.com/gimme") 15 | .then(res => res.json()) 16 | .then(json => { 17 | let embed = new MessageEmbed() 18 | .setColor(Color) 19 | .setTitle(`${json.title}`) 20 | .setURL(json.postLink) 21 | .setImage(json.url) 22 | .setFooter(`From /r/${json.subreddit}`); 23 | 24 | message.channel.send(embed); 25 | }); 26 | 27 | //End 28 | } 29 | }; -------------------------------------------------------------------------------- /commands/fun/rate.js: -------------------------------------------------------------------------------- 1 | const Discord = require("discord.js"); 2 | const { MessageEmbed } = require("discord.js"); 3 | const { Color } = require("../../config.js"); 4 | 5 | module.exports = { 6 | name: "rate", 7 | aliases: [], 8 | description: "Bot Rate Your Given Thing!", 9 | usage: "Rate ", 10 | run: async (client, message, args) => { 11 | //Start 12 | message.delete(); 13 | let Content = args.join(" "); 14 | 15 | if (!Content) 16 | return message.channel.send(`Please Give Me Something To Rate!`); 17 | 18 | let embed = new Discord.MessageEmbed() 19 | .setColor(Color) 20 | .setTitle(`I Rate`) 21 | .setDescription(`${Math.floor(Math.random() * 11)}/10 To ${Content}`) 22 | .setFooter(`Requested by ${message.author.username}`) 23 | .setTimestamp(); 24 | 25 | message.channel.send(embed); 26 | 27 | //End 28 | } 29 | }; -------------------------------------------------------------------------------- /commands/fun/trivia.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | name: "trivia", 3 | aliases: ["t"], 4 | description: "Trivia!!", 5 | usage: "Trivia", 6 | run: async (client, message, args) => { 7 | 8 | const discord = require('discord.js') 9 | const fetch = require("node-fetch"); 10 | const atob = require('atob') 11 | class Game { 12 | constructor(message, args) { // Defining vars and running the game logic 13 | this.message = message 14 | this.args = args 15 | this.player = message.author.id 16 | this.reactions = ['🇦', '🇧', '🇨', '🇩'] 17 | this.question 18 | this.init() 19 | } 20 | async init() { 21 | if (!this.args.length) this.get_data() 22 | if (this.args[0] && !this.args[1]) this.get_data(this.args[0]) 23 | if (this.args[0] && this.args[1]) this.get_data(this.args[0], this.args[1])// checks what fields have been filled in 24 | } 25 | async get_data(dif, cat) { 26 | if (!dif && !cat) { 27 | let question 28 | await fetch('https://opentdb.com/api.php?amount=1&encode=base64') 29 | .then(response => response.json()) 30 | .then(data => question = data); 31 | this.question = question 32 | return this.show_question(); 33 | } 34 | if (dif && !cat) { 35 | let question 36 | if (dif.toLowerCase() == 'any') return this.get_data() 37 | if (dif.toLowerCase() != 'easy' && dif.toLowerCase() != 'medium' && dif.toLowerCase() != 'hard') return this.message.channel.send('Please enter a valid Difficulty\nUse .trivia categories to view a list of categories and difficulties'); 38 | await fetch('https://opentdb.com/api.php?amount=1&difficulty=' + dif.toLowerCase() + '&encode=base64') 39 | .then(response => response.json()) 40 | .then(data => question = data); 41 | this.question = question 42 | return this.show_question(); 43 | } 44 | if (dif && cat) { 45 | let question 46 | for (let i in id_list) { 47 | if (id_list[i].name.toLowerCase().replace(' ', '').replace(' ', '').replace(' ', '').replace(' ', '') == cat.toLowerCase()) { 48 | this.question_id = id_list[i].id 49 | } 50 | } 51 | if (dif.toLowerCase() != 'easy' && dif.toLowerCase() != 'medium' && dif.toLowerCase() != 'hard' && dif.toLowerCase() != 'any') return this.message.channel.send('Please enter a valid Difficulty\nUse .trivia categories to view a list of categories and difficulties'); 52 | if (!this.question_id) return this.message.channel.send('Please enter a valid Category\nUse .trivia categories to view a list of categories and difficulties'); 53 | if (dif.toLowerCase() == 'any') { 54 | await fetch('https://opentdb.com/api.php?amount=1&category=' + this.question_id + '&encode=base64') 55 | .then(response => response.json()) 56 | .then(data => question = data); 57 | this.question = question 58 | return this.show_question(); 59 | } 60 | await fetch('https://opentdb.com/api.php?amount=1&category=' + this.question_id + '&difficulty=' + dif.toLowerCase() + '&encode=base64') 61 | .then(response => response.json()) 62 | .then(data => question = data); 63 | this.question = question 64 | return this.show_question(); 65 | } 66 | } 67 | async show_question() { 68 | if (atob(this.question.results[0].type) == 'multiple') { 69 | this.question_length = 3 70 | this.correct_answer = Math.floor((Math.random() * 4) + 1) 71 | if (this.correct_answer == 1) { 72 | this.answer_array = [ 73 | 'A - ' + atob(this.question.results[0].correct_answer), 74 | 'B - ' + atob(this.question.results[0].incorrect_answers[0]), 75 | 'C - ' + atob(this.question.results[0].incorrect_answers[1]), 76 | 'D - ' + atob(this.question.results[0].incorrect_answers[2]) 77 | ] 78 | } 79 | if (this.correct_answer == 2) { 80 | this.answer_array = [ 81 | 'A - ' + atob(this.question.results[0].incorrect_answers[0]), 82 | 'B - ' + atob(this.question.results[0].correct_answer), 83 | 'C - ' + atob(this.question.results[0].incorrect_answers[1]), 84 | 'D - ' + atob(this.question.results[0].incorrect_answers[2]) 85 | ] 86 | } 87 | if (this.correct_answer == 3) { 88 | this.answer_array = [ 89 | 'A - ' + atob(this.question.results[0].incorrect_answers[0]), 90 | 'B - ' + atob(this.question.results[0].incorrect_answers[1]), 91 | 'C - ' + atob(this.question.results[0].correct_answer), 92 | 'D - ' + atob(this.question.results[0].incorrect_answers[2]) 93 | ] 94 | } 95 | if (this.correct_answer == 4) { 96 | this.answer_array = [ 97 | 'A - ' + atob(this.question.results[0].incorrect_answers[0]), 98 | 'B - ' + atob(this.question.results[0].incorrect_answers[1]), 99 | 'C - ' + atob(this.question.results[0].incorrect_answers[2]), 100 | 'D - ' + atob(this.question.results[0].correct_answer) 101 | ] 102 | } 103 | this.question_embed = new discord.MessageEmbed() 104 | .setColor('#0099ff') 105 | .setTitle(atob(this.question.results[0].question)) 106 | .setDescription(this.answer_array) 107 | .setFooter('Category - ' + atob(this.question.results[0].category) + ', Difficulty - ' + atob(this.question.results[0].difficulty)) 108 | } 109 | if (atob(this.question.results[0].type) == 'boolean') { 110 | this.question_length = 1 111 | if (this.question.results[0].correct_answer == 'true') { 112 | this.correct_answer = 1 113 | } 114 | else { 115 | this.correct_answer = 2 116 | } 117 | this.answer_array = [ 118 | 'A - ' + 'True', 119 | 'B - ' + 'False' 120 | ] 121 | this.question_embed = new discord.MessageEmbed() 122 | .setColor('#0099ff') 123 | .setTitle(atob(this.question.results[0].question)) 124 | .setDescription(this.answer_array) 125 | .setFooter('Category - ' + atob(this.question.results[0].category) + ', Difficulty - ' + atob(this.question.results[0].difficulty)) 126 | } 127 | this.question_message = await this.message.channel.send(this.question_embed) 128 | let step = -1 129 | while (step < this.question_length) { 130 | step++ 131 | await this.question_message.react(this.reactions[step]) 132 | } 133 | return this.await_reactions() 134 | } 135 | async await_reactions() { 136 | this.question_message.awaitReactions((reaction, user) => user.id == message.author.id && (reaction.emoji.name == '🇦' || reaction.emoji.name == '🇧' || reaction.emoji.name == '🇨' || reaction.emoji.name == '🇩'), 137 | { max: 1, time: 30000 }).then(collected => { 138 | this.reaction = collected.first().emoji.name 139 | if (this.reaction == '🇦') this.input_answer = 1 140 | if (this.reaction == '🇧') this.input_answer = 2 141 | if (this.reaction == '🇨') this.input_answer = 3 142 | if (this.reaction == '🇩') this.input_answer = 4 143 | if (this.input_answer == this.correct_answer) { 144 | this.answer_array[this.input_answer - 1] = this.answer_array[this.input_answer - 1] + ' ✅' 145 | this.question_embed = new discord.MessageEmbed() 146 | .setColor('#0099ff') 147 | .setTitle(atob(this.question.results[0].question)) 148 | .setDescription(this.answer_array) 149 | .setFooter('Category - ' + atob(this.question.results[0].category) + ', Difficulty - ' + atob(this.question.results[0].difficulty)) 150 | this.question_message.edit(this.question_embed) 151 | this.question_message.edit('You got it correct! :smile:') 152 | this.end_game() 153 | } 154 | else { 155 | this.answer_array[this.input_answer - 1] = this.answer_array[this.input_answer - 1] + ' ❌' 156 | this.question_embed = new discord.MessageEmbed() 157 | .setColor('#0099ff') 158 | .setTitle(atob(this.question.results[0].question)) 159 | .setDescription(this.answer_array) 160 | .setFooter('Category - ' + atob(this.question.results[0].category) + ', Difficulty - ' + atob(this.question.results[0].difficulty)) 161 | this.question_message.edit(this.question_embed) 162 | this.question_message.edit('You got it wrong. The correct answer was ' + this.reactions[this.correct_answer - 1]) 163 | this.end_game() 164 | } 165 | }).catch(() => { 166 | this.question_message.edit('You took to long to answer! Game has timed out. The answer was ' + this.reactions[this.correct_answer - 1]) 167 | this.end_game() 168 | }) 169 | } 170 | async end_game() { 171 | this.question_message.reactions.removeAll() 172 | game = null 173 | } 174 | } 175 | var game = new Game(message, args) 176 | }, 177 | }; -------------------------------------------------------------------------------- /commands/info/help.js: -------------------------------------------------------------------------------- 1 | const { MessageEmbed } = require("discord.js"); 2 | const { readdirSync } = require("fs"); 3 | const prefix = require("../../config.js").prefix; 4 | 5 | module.exports = { 6 | name: "help", 7 | aliases: ["h"], 8 | description: "Show help cmmd!!", 9 | usage: "help", 10 | run: async (client, message, args) => { 11 | 12 | 13 | const roleColor = 14 | message.guild.me.displayHexColor === "#000000" 15 | ? "#ffffff" 16 | : message.guild.me.displayHexColor; 17 | 18 | if (!args[0]) { 19 | let categories = []; 20 | 21 | readdirSync("./commands/").forEach((dir) => { 22 | const commands = readdirSync(`./commands/${dir}/`).filter((file) => 23 | file.endsWith(".js") 24 | ); 25 | 26 | const cmds = commands.map((command) => { 27 | let file = require(`../../commands/${dir}/${command}`); 28 | 29 | if (!file.name) return "No command name."; 30 | 31 | let name = file.name.replace(".js", ""); 32 | 33 | return `\`${name}\``; 34 | }); 35 | 36 | let data = new Object(); 37 | 38 | data = { 39 | name: dir.toUpperCase(), 40 | value: cmds.length === 0 ? "In progress." : cmds.join(" "), 41 | }; 42 | 43 | categories.push(data); 44 | }); 45 | 46 | const embed = new MessageEmbed() 47 | .setTitle("`📚` Need help? Here are all of my commands:") 48 | .addFields(categories) 49 | .setDescription( 50 | `Use \`help\` followed by a command name to get more additional information on a command. For example: \`help ban\`.` 51 | ) 52 | .setThumbnail( 53 | message.author.displayAvatarURL({ dynamic: true }) 54 | ) 55 | .setFooter(` 56 | Requested by ${message.author.tag}`) 57 | .setTimestamp() 58 | .setColor('RANDOM'); 59 | return message.channel.send(embed); 60 | } else { 61 | const command = 62 | client.commands.get(args[0].toLowerCase()) || 63 | client.commands.find( 64 | (c) => c.aliases && c.aliases.includes(args[0].toLowerCase()) 65 | ); 66 | 67 | if (!command) { 68 | const embed = new MessageEmbed() 69 | .setTitle(`Invalid command! Use \`${prefix}help\` for all of my commands!`) 70 | .setColor("FF0000"); 71 | return message.channel.send(embed); 72 | } 73 | 74 | const embed = new MessageEmbed() 75 | .setTitle("Command Details:") 76 | .addField("PREFIX:", `\`${prefix}\``) 77 | .addField( 78 | "COMMAND:", 79 | command.name ? `\`${command.name}\`` : "No name for this command." 80 | ) 81 | .addField( 82 | "ALIASES:", 83 | command.aliases 84 | ? `\`${command.aliases.join("` `")}\`` 85 | : "No aliases for this command." 86 | ) 87 | .addField( 88 | "USAGE:", 89 | command.usage 90 | ? `\`${prefix}${command.name} ${command.usage}\`` 91 | : `\`${prefix}${command.name}\`` 92 | ) 93 | .addField( 94 | "DESCRIPTION:", 95 | command.description 96 | ? command.description 97 | : "No description for this command." 98 | ) 99 | .setFooter( 100 | `Requested by ${message.author.tag}`, 101 | message.author.displayAvatarURL({ dynamic: true }) 102 | ) 103 | .setTimestamp() 104 | .setColor(roleColor); 105 | return message.channel.send(embed); 106 | } 107 | }, 108 | }; 109 | -------------------------------------------------------------------------------- /commands/info/ping.js: -------------------------------------------------------------------------------- 1 | const Discord = require("discord.js"); 2 | const { MessageEmbed } = require("discord.js"); 3 | const { Color } = require("../../config.js"); 4 | 5 | module.exports = { 6 | name: "ping", 7 | aliases: [], 8 | description: "Pong!", 9 | usage: "Ping", 10 | run: async (client, message, args) => { 11 | //Start 12 | 13 | const embed = new MessageEmbed() 14 | .setColor(Color) 15 | .setDescription(`Pong - ${client.ws.ping}`) 16 | .setFooter(`Requested By ${message.author.username}`) 17 | .setTimestamp(); 18 | 19 | message.channel.send(embed); 20 | 21 | //End 22 | } 23 | }; 24 | -------------------------------------------------------------------------------- /commands/info/serverinfo.js: -------------------------------------------------------------------------------- 1 | const Discord = require("discord.js"); 2 | const { MessageEmbed } = require("discord.js"); 3 | const { Color } = require("../../config.js"); 4 | 5 | module.exports = { 6 | name: "serverinfo", 7 | aliases: ["serverinformation"], 8 | description: "Show Server Information!", 9 | usage: "Serverinfo", 10 | run: async (client, message, args) => { 11 | //Start 12 | const guild = message.guild; 13 | const Emojis = guild.emojis.cache.size || "No Emoji!"; 14 | const Roles = guild.roles.cache.size || "No Roles!"; 15 | const Members = guild.memberCount; 16 | const Humans = guild.members.cache.filter(member => !member.user.bot).size; 17 | const Bots = guild.members.cache.filter(member => member.user.bot).size; 18 | 19 | const embed = new MessageEmbed() 20 | .setTitle(guild.name + " Information!") 21 | .setColor(Color) 22 | .setThumbnail(guild.iconURL()) 23 | .addField(`Name`, guild.name, true) 24 | .addField(`ID`, `${guild.id}`, true) 25 | .addField(`Owner`, `${guild.owner.user.tag}`, true) 26 | .addField(`Roles Count`, Roles, true) 27 | .addField(`Emojis Count`, Emojis, true) 28 | .addField(`Members Count`, Members, true) 29 | .addField(`Humans Count`, Humans, true) 30 | .addField(`Bots Count`, Bots, true) 31 | .addField(`Server Created At`, guild.createdAt.toDateString()) 32 | .setFooter(`Requested by ${message.author.username}`) 33 | .setTimestamp(); 34 | 35 | message.channel.send(embed); 36 | 37 | //End 38 | } 39 | }; -------------------------------------------------------------------------------- /commands/info/userinfo.js: -------------------------------------------------------------------------------- 1 | const Discord = require("discord.js"); 2 | const { MessageEmbed } = require("discord.js"); 3 | const { Color } = require("../../config.js"); 4 | 5 | module.exports = { 6 | name: "userinfo", 7 | aliases: ["memberinfo", "whois"], 8 | description: "Show User Information!", 9 | usage: "Userinfo | ", 10 | run: async (client, message, args) => { 11 | //Start 12 | let member = message.mentions.users.first() || message.member; 13 | 14 | const statuses = { 15 | online: "Online", 16 | dnd: "Do Not Disturb", 17 | idle: "Idle", 18 | offline: "Offline/Invisible" 19 | }; 20 | 21 | const embed = new MessageEmbed() 22 | .setTitle(member.user.username + " Information!") 23 | .setColor(Color) 24 | .setThumbnail(member.user.displayAvatarURL()) 25 | .addField("Full Name", member.user.tag, true) 26 | .addField("ID", `${member.id}`, true) 27 | .addField("Status", statuses[member.presence.status], true) 28 | .addField( 29 | `Roles Count`, 30 | message.guild.members.cache.get(member.user.id).roles.cache.size || 31 | "No Roles!", 32 | true 33 | ) 34 | .addField(`Avatar Url`, `[Link](${member.user.displayAvatarURL()})`, true) 35 | .addField("Joined Server At", member.joinedAt.toDateString()) 36 | .addField("Joined Discord At", member.user.createdAt.toDateString()) 37 | .setFooter(`Requested by ${message.author.username}`) 38 | .setTimestamp(); 39 | 40 | message.channel.send(embed); 41 | 42 | //End 43 | } 44 | }; -------------------------------------------------------------------------------- /commands/info/weather.js: -------------------------------------------------------------------------------- 1 | const Discord = require("discord.js"); 2 | const weather = require("weather-js"); 3 | const { MessageEmbed } = require("discord.js"); 4 | const { Color } = require("../../config.js"); 5 | 6 | module.exports = { 7 | name: "weather", 8 | aliases: [], 9 | description: "Show Given Location Weather Information!", 10 | usage: "Weather ", 11 | run: async (client, message, args) => { 12 | //Start 13 | 14 | if (!args[0]) return message.channel.send("Please Give Location!"); 15 | 16 | weather.find({ search: args.join(" ") }, function(error, result) { 17 | if (error) return message.channel.send(`Something Went Wrong, Try Again Later!`); 18 | 19 | if (result === undefined || result.length === 0) 20 | return message.channel.send( 21 | `Invalid Location, Please Give Valid Location!` 22 | ); 23 | 24 | var current = result[0].current; 25 | var location = result[0].location; 26 | 27 | const Weather = new Discord.MessageEmbed() 28 | .setColor(Color) 29 | .setTitle(`${location.name} Weather!`) 30 | .setDescription(`${current.skytext}`) 31 | .setThumbnail(current.imageUrl) 32 | .addField("Degree Type", location.degreetype, true) 33 | .addField("Temperature", `${current.temperature}°`, true) 34 | .addField("Humidity", `${current.humidity}%`, true) 35 | .addField("Wind", current.winddisplay, true) 36 | .addField("Feels Like", `${current.feelslike}°`, true) 37 | .addField("Timezone", `UTC${location.timezone}`, true) 38 | .setTimestamp(); 39 | 40 | message.channel.send(Weather); 41 | }); 42 | 43 | //End 44 | } 45 | }; 46 | -------------------------------------------------------------------------------- /commands/moderation/ban.js: -------------------------------------------------------------------------------- 1 | const db = require("old-wio.db") 2 | const { MessageEmbed } = require("discord.js"); 3 | const { measureMemory } = require("vm"); 4 | 5 | module.exports = { 6 | name: "ban", 7 | aliases: ["b"], 8 | description: "Ban", 9 | usage: "Ban <@user>", 10 | run: async (client, message, args) => { 11 | }, 12 | 13 | run: async(bot, message, args) => { 14 | 15 | if(!message.channel.permissionsFor(message.member).has("BAN_MEMBERS") && !ownerID.includes(message.author.id)) return; 16 | 17 | const target = args[0]; 18 | if (isNaN(target)) return message.reply(`Please specify an ID`); 19 | 20 | const reason = args.splice(1, args.length).join(' '); 21 | 22 | try { 23 | message.guild.members.ban(target, {reason: reason.length < 1 ? 'No reason supplied.': reason}); 24 | const embed2 = new MessageEmbed() 25 | .setColor("GREEN") 26 | .setDescription("**They were successfully banned. User was not notified!**"); 27 | await message.channel.send(embed2); 28 | const channel = db.fetch(`modlog_${message.guild.id}`); 29 | if (!channel) return; 30 | const embed = new MessageEmbed() 31 | .setAuthor(`${message.guild.name} Modlogs`, message.guild.iconURL()) 32 | .setColor("#ff0000") 33 | .setFooter(message.guild.name, message.guild.iconURL()) 34 | .addField("**Moderation**", "ban") 35 | .addField("**ID**", `${target}`) 36 | .addField("**Banned By**", message.author.username) 37 | .addField("**Reason**", `${reason || "**No Reason**"}`) 38 | .addField("**Date**", message.createdAt.toLocaleString()) 39 | .setTimestamp(); 40 | 41 | var sChannel = message.guild.channels.cache.get(channel) 42 | if (!sChannel) return; 43 | sChannel.send(embed) 44 | 45 | } catch (error) { console.log(error)} 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /commands/moderation/captcha.js: -------------------------------------------------------------------------------- 1 | const db = require('quick.db') 2 | 3 | module.exports = { 4 | name: "captcha", 5 | aliases: [], 6 | description: "Verify A Member!", 7 | usage: "captcha", 8 | run: async (client, message, args) => { 9 | if(args[0] === 'on') { 10 | await db.set(`captcha-${message.guild.id}`, true) 11 | message.channel.send('Turned on captcha feature') 12 | } else if(args[0] === 'off') { 13 | await db.delete(`captcha-${message.guild.id}`) 14 | message.channel.send('Turned off captcha feature') 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /commands/moderation/clear.js: -------------------------------------------------------------------------------- 1 | const Discord = require("discord.js"); 2 | const { MessageEmbed } = require("discord.js"); 3 | const { Color } = require("../../config.js"); 4 | 5 | module.exports = { 6 | name: "clear", 7 | aliases: ["purge", "clearmsgs"], 8 | description: "Clear Your Messages!", 9 | usage: "Clear ", 10 | run: async (client, message, args) => { 11 | //Start 12 | if (!message.member.hasPermission("MANAGE_MESSAGES")) 13 | return message.channel.send( 14 | "You Don't Have Permission To Use This Command!" 15 | ); 16 | if(!args[0]) return message.channel.send('Please specify a number of messages to delete ranging from 1 - 99') 17 | if(isNaN(args[0])) return message.channel.send('Numbers are only allowed') 18 | if(parseInt(args[0]) > 99) return message.channel.send('The max amount of messages that I can delete is 99') 19 | await message.channel.bulkDelete(parseInt(args[0]) + 1) 20 | .catch(err => console.log(err)) 21 | message.channel.send('**Deleted** ' + args[0] + " **messages..**") 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /commands/moderation/kick.js: -------------------------------------------------------------------------------- 1 | const Discord = require("discord.js"); 2 | const { MessageEmbed } = require("discord.js"); 3 | const { Color } = require("../../config.js"); 4 | 5 | module.exports = { 6 | name: "kick", 7 | aliases: [], 8 | description: "Kick A Member!", 9 | usage: "Kick ", 10 | run: async (client, message, args) => { 11 | //Start 12 | if (!message.member.hasPermission("KICK_MEMBERS")) 13 | return message.channel.send( 14 | `You Don't Have Permission To Use This Command!` 15 | ); 16 | 17 | let Member = message.mentions.users.first(); 18 | 19 | if (!Member) 20 | return message.channel.send( 21 | `Please Mention A Member That You Want To Kick!` 22 | ); 23 | 24 | if (!message.guild.members.cache.get(Member.id)) 25 | return message.channel.send(`Please Mention A Valid Member!`); 26 | 27 | if (Member.id === message.author.id) 28 | return message.channel.send(`You Can't Kick Your Self!`); 29 | 30 | if (Member.id === client.user.id) 31 | return message.channel.send(`Please Don't Kick Me ;-;`); 32 | 33 | if (Member.id === message.guild.owner.user.id) 34 | return message.channel.send(`You Can't Kick Owner Of Server!`); 35 | 36 | let Reason = args.slice(1).join(" "); 37 | 38 | let User = message.guild.member(Member); 39 | 40 | if (!User.kickable) 41 | return message.channel.send(`I Can't Kick That Member!`); 42 | 43 | try { 44 | console.log(`Member Is Going To Get Kick!`); 45 | 46 | setTimeout(function() { 47 | User.kick({ reason: `${Reason || "No Reason Provided!"}` }); 48 | }, 2000); 49 | let embed = new Discord.MessageEmbed() 50 | .setColor(Color) 51 | .setTitle(`Member Kicked!`) 52 | .addField(`Moderator`, `${message.author.tag} (${message.author.id}`) 53 | .addField(`Kicked Member`, `${Member.tag} (${Member.id})`) 54 | .addField(`Reason`, `${Reason || "No Reason Provided!"}`) 55 | .setFooter(`Requested by ${message.author.username}`) 56 | .setTimestamp(); 57 | if (User && Member.bot === false) 58 | Member.send( 59 | `You Have Been Kicked From **${message.guild.name}** For ${Reason || 60 | "No Reason Provided!"}` 61 | ); 62 | message.channel.send(embed); 63 | console.log( 64 | `User: ${Member.tag} (${Member.id}) Just Got Kicked From ${ 65 | message.guild.name 66 | } For ${Reason || "No Reason Provided!"}` 67 | ); 68 | } catch (error) { 69 | return message.channel 70 | .send( 71 | `I Can't Kick That Member Maybe Member Has Higher Role Than Me & My Role Is Lower Than Member!` 72 | ) 73 | .then(() => console.log(error)); 74 | } 75 | 76 | //End 77 | } 78 | }; 79 | -------------------------------------------------------------------------------- /commands/moderation/mute.js: -------------------------------------------------------------------------------- 1 | const Discord = require('discord.js'); 2 | const ms = require('ms'); 3 | 4 | module.exports = { 5 | name: "mute", 6 | aliases: [], 7 | description: "Mute!!", 8 | usage: "mute ", 9 | run: async (client, message, args) => { 10 | 11 | const Member = message.mentions.members.first() || message.guild.members.cache.get(args[0]) 12 | if(!Member) return message.channel.send('Member is not found.') 13 | const role = message.guild.roles.cache.find(role => role.name.toLowerCase() === 'muted') 14 | if(!role) { 15 | try { 16 | message.channel.send('**Muted role is not found, attempting to create muted role..**') 17 | 18 | let muterole = await message.guild.roles.create({ 19 | data : { 20 | name : 'muted', 21 | permissions: [] 22 | } 23 | }); 24 | message.guild.channels.cache.filter(c => c.type === 'text').forEach(async (channel, id) => { 25 | await channel.createOverwrite(muterole, { 26 | SEND_MESSAGES: false, 27 | ADD_REACTIONS: false 28 | }) 29 | }); 30 | message.channel.send('**Muted role has sucessfully been created..**') 31 | } catch (error) { 32 | console.log(error) 33 | } 34 | }; 35 | let role2 = message.guild.roles.cache.find(r => r.name.toLowerCase() === 'muted') 36 | if(Member.roles.cache.has(role2.id)) return message.channel.send(`${Member.displayName} has already been muted.`) 37 | await Member.roles.add(role2) 38 | message.channel.send(`**${Member.displayName} is now muted..**`) 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /commands/moderation/tempmute.js: -------------------------------------------------------------------------------- 1 | const {Message, MessageEmbed}= require('discord.js') 2 | const ms = require('ms') 3 | 4 | module.exports = { 5 | name: "tempmute", 6 | aliases: ["tm"], 7 | description: "Tempmute A Member!", 8 | usage: "Tempmute ", 9 | run: async (client, message, args) => { 10 | const Member = message.mentions.members.first() || message.guild.members.cache.get(args[0]) 11 | const time = args[1] 12 | if(!Member) return message.channel.send('**Member is not found..**') 13 | if(!time) return message.channel.send('**Please specify a time..**') 14 | const role = message.guild.roles.cache.find(role => role.name.toLowerCase() === 'muted') 15 | if(!role) { 16 | try { 17 | message.channel.send('**Muted role is not found, attempting to create muted role..**') 18 | 19 | let muterole = await message.guild.roles.create({ 20 | data : { 21 | name : 'muted', 22 | permissions: [] 23 | } 24 | }); 25 | message.guild.channels.cache.filter(c => c.type === 'text').forEach(async (channel, id) => { 26 | await channel.createOverwrite(muterole, { 27 | SEND_MESSAGES: false, 28 | ADD_REACTIONS: false 29 | }) 30 | }); 31 | message.channel.send('**Muted role has sucessfully been created..**') 32 | } catch (error) { 33 | console.log(error) 34 | } 35 | }; 36 | let role2 = message.guild.roles.cache.find(r => r.name.toLowerCase() === 'muted') 37 | if(Member.roles.cache.has(role2.id)) return message.channel.send(`**${Member.displayName} has already been muted..**`) 38 | await Member.roles.add(role2) 39 | message.channel.send(`**${Member.displayName} is now muted..**`) 40 | 41 | setTimeout(async () => { 42 | await Member.roles.remove(role2) 43 | message.channel.send(`**${Member.displayName} is now unmuted**`) 44 | }, ms(time)) 45 | } 46 | } -------------------------------------------------------------------------------- /commands/moderation/unban.js: -------------------------------------------------------------------------------- 1 | const Discord = require("discord.js"); 2 | const { MessageEmbed } = require("discord.js"); 3 | const { Color } = require("../../config.js"); 4 | 5 | module.exports = { 6 | name: "unban", 7 | aliases: [], 8 | description: "Unban A Member!", 9 | usage: "Unban ", 10 | run: async (client, message, args) => { 11 | //Start 12 | if (!message.member.hasPermission("BAN_MEMBERS")) 13 | return message.channel.send( 14 | `You Don't Have Permission To Use This Command!` 15 | ); 16 | 17 | if (!args[0]) 18 | return message.channel.send( 19 | `Please Give Me Member ID That You Want To Unban!` 20 | ); 21 | 22 | if (isNaN(args[0])) return message.channel.send(`Please Give Me Valid ID!`); 23 | 24 | if (args[0] === message.author.id) 25 | return message.channel.send(`You Are Already Unban!`); 26 | 27 | if (args[0] === message.guild.owner.user.id) 28 | return message.channel.send(`Server Owner Is Already Unban!`); 29 | 30 | if (args[0] === client.user.id) 31 | return message.channel.send(`I Am Already Unban!`); 32 | 33 | let FetchBan = await message.guild.fetchBans(); 34 | 35 | let Member; 36 | Member = 37 | FetchBan.find( 38 | b => b.user.username.toLowerCase() === args[0].toLocaleLowerCase() 39 | ) || 40 | FetchBan.get(args[0]) || 41 | FetchBan.find( 42 | bm => bm.user.tag.toLowerCase() === args[0].toLocaleLowerCase() 43 | ); 44 | 45 | if (!Member) 46 | return message.channel.send( 47 | "Please Give Valid Member ID Or Member Is Not Banned!" 48 | ); 49 | 50 | let Reason = args.slice(1).join(" ") || "No Reason Provided!"; 51 | 52 | try { 53 | message.guild.members.unban(Member.user.id, Reason); 54 | } catch (error) { 55 | return message.channel.send( 56 | `I Can't Unban That Member Maybe Member Is Not Banned Or Some Error!` 57 | ); 58 | } 59 | 60 | let embed = new MessageEmbed() 61 | .setColor(Color) 62 | .setTitle(`Member Unbanned!`) 63 | .addField(`Moderator`, `${message.author.tag} (${message.author.id}}`) 64 | .addField(`Unbanned Member`, `${Member.user.tag} (${Member.user.id}`) 65 | .addField(`Reason`, `${Reason || "No Reason Provided!"}`) 66 | .setFooter(`Requested by ${message.author.username}`) 67 | .setTimestamp(); 68 | 69 | return message.channel.send(embed); 70 | 71 | //End 72 | } 73 | }; -------------------------------------------------------------------------------- /commands/moderation/unmute.js: -------------------------------------------------------------------------------- 1 | const { Message } = require('discord.js') 2 | 3 | module.exports = { 4 | name: "unmute", 5 | aliases: ["u"], 6 | description: "Unmute!!", 7 | usage: "Unmute ", 8 | run: async (client, message, args) => { 9 | 10 | run : async(client, message, args) => { 11 | const Member = message.mentions.members.first() || message.guild.members.cache.get(args[0]) 12 | 13 | if(!Member) return message.channel.send('**Member not found**') 14 | 15 | const role = message.guild.roles.cache.find(r => r.name.toLowerCase() === 'muted'); 16 | 17 | await Member.roles.remove(role) 18 | 19 | message.channel.send(`**${Member.displayName} is now unmuted successfully**`) 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /commands/moderation/warn.js: -------------------------------------------------------------------------------- 1 | const Discord = require("discord.js"); 2 | const { MessageEmbed } = require("discord.js"); 3 | const { Color } = require("../../config.js"); 4 | 5 | module.exports = { 6 | name: "warn", 7 | aliases: [], 8 | description: "Warn A User!", 9 | usage: "Warn | ", 10 | run: async (client, message, args) => { 11 | //Start 12 | 13 | if (!message.member.hasPermission("BAN_MEMBERS")) 14 | return message.channel.send( 15 | `You Don't Have Permission To Use This Command!` 16 | ); 17 | 18 | let Member = 19 | message.mentions.members.first() || 20 | message.guild.members.cache.get(args[0]); 21 | 22 | if (!Member) return message.channel.send(`Please Mention A User!`); 23 | 24 | let Reason = args.slice(1).join(" "); 25 | 26 | client.db.add(`Warnings_${message.guild.id}_${Member.user.id}`, 1); 27 | 28 | let Warnings = client.db.get( 29 | `Warnings_${message.guild.id}_${Member.user.id}` 30 | ); 31 | 32 | let embed = new MessageEmbed() 33 | .setColor(Color) 34 | .setTitle(`Member Warned!`) 35 | .addField(`Moderator`, `${message.author.tag} (${message.author.id}`) 36 | .addField(`Warned Member`, `${Member.user.tag} (${Member.user.id})`) 37 | .addField(`Now Member Warnings`, Warnings) 38 | .addField(`Reason`, `${Reason || "No Reason Provided!"}`) 39 | .setFooter(`Requested by ${message.author.username}`) 40 | .setTimestamp(); 41 | 42 | message.channel.send(embed); 43 | 44 | //End 45 | } 46 | }; 47 | -------------------------------------------------------------------------------- /commands/moderation/warnings.js: -------------------------------------------------------------------------------- 1 | const Discord = require("discord.js"); 2 | const { MessageEmbed } = require("discord.js"); 3 | const { Color } = require("../../config.js"); 4 | 5 | module.exports = { 6 | name: "warnings", 7 | aliases: ["warning"], 8 | description: "Show User Warnings!", 9 | usage: "Warnings ", 10 | run: async (client, message, args) => { 11 | //Start 12 | 13 | let Member = 14 | message.mentions.members.first() || 15 | message.guild.members.cache.get(args[0]); 16 | 17 | if (!Member) return message.channel.send(`Please Mention A User!`); 18 | 19 | let Warnings = client.db.get( 20 | `Warnings_${message.guild.id}_${Member.user.id}` 21 | ); 22 | 23 | let embed = new MessageEmbed() 24 | .setColor(Color) 25 | .setTitle(`Member Warnings!`) 26 | .setDescription(`${Member.user.username} Has ${Warnings || "0"} Warnings!`) 27 | .setFooter(`Requested by ${message.author.username}`) 28 | .setTimestamp(); 29 | 30 | message.channel.send(embed); 31 | 32 | //End 33 | } 34 | }; -------------------------------------------------------------------------------- /config.js: -------------------------------------------------------------------------------- 1 | exports.Prefix = `'`; 2 | exports.Color = `RANDOM`; 3 | 4 | //Put the Token in Client secrets LOCK Button 5 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | const express = require('express') 2 | const app = express(); 3 | const port = 3000 4 | 5 | app.get('/', (req, res) => res.send('Yo boi!! I am ALIVE!!')) 6 | 7 | app.listen(port, () => 8 | console.log(`Your app is listening to http://localhost:${port}`) 9 | ); 10 | 11 | const Discord = require("discord.js"); 12 | const fs = require("fs"); 13 | const client = new Discord.Client(); 14 | const { Prefix, Color } = require("./config.js"); 15 | client.commands = new Discord.Collection(); 16 | client.aliases = new Discord.Collection(); 17 | client.db = require("quick.db"); 18 | 19 | client.on("ready", async () => { 20 | console.log(`Yo boii!! Moderation.V2 has been deployed!! 🚀 Coded by 365 ɢᴀᴍɪɴɢ ɴ ᴍᴏʀᴇ_2.0#0002`); 21 | client.user 22 | .setActivity(`Discord Tricks`, { type: "LISTENING" }) 23 | .catch(error => console.log(error)); 24 | }); 25 | 26 | client.on("message", async message => { 27 | if (message.channel.type === "dm") return; 28 | if (message.author.bot) return; 29 | if (!message.guild) return; 30 | if (!message.member) 31 | message.member = await message.guild.fetchMember(message); 32 | 33 | if (message.content.match(new RegExp(`^<@!?${client.user.id}>`))) { 34 | return message.channel.send(`Bot Prefix : ${Prefix}`); 35 | } 36 | }); 37 | 38 | let modules = ["fun", "info", "moderation"]; 39 | 40 | modules.forEach(function(module) { 41 | fs.readdir(`./commands/${module}`, function(err, files) { 42 | if (err) 43 | return new Error( 44 | "Missing Folder Of Commands! Example : Commands//.js" 45 | ); 46 | files.forEach(function(file) { 47 | if (!file.endsWith(".js")) return; 48 | let command = require(`./commands/${module}/${file}`); 49 | console.log(`${command.name} Command Has Been Loaded - ✅`); 50 | if (command.name) client.commands.set(command.name, command); 51 | if (command.aliases) { 52 | command.aliases.forEach(alias => 53 | client.aliases.set(alias, command.name) 54 | ); 55 | } 56 | if (command.aliases.length === 0) command.aliases = null; 57 | }); 58 | }); 59 | }); 60 | 61 | client.on("message", async message => { 62 | if (message.channel.type === "dm") return; 63 | if (message.author.bot) return; 64 | if (!message.guild) return; 65 | if (!message.member) 66 | message.member = await message.guild.fetchMember(message); 67 | 68 | if (!message.content.startsWith(Prefix)) return; 69 | 70 | const args = message.content 71 | .slice(Prefix.length) 72 | .trim() 73 | .split(" "); 74 | const cmd = args.shift().toLowerCase(); 75 | 76 | if (cmd.length === 0) return; 77 | 78 | let command = 79 | client.commands.get(cmd) || client.commands.get(client.aliases.get(cmd)); 80 | 81 | if (!command) return; 82 | 83 | if (command) { 84 | if (!message.guild.me.hasPermission("ADMINISTRATOR")) 85 | return message.channel.send( 86 | "I Don't Have Enough Permission To Use This Or Any Of My Commands | Require : Administrator" 87 | ); 88 | command.run(client, message, args); 89 | } 90 | console.log( 91 | `User : ${message.author.tag} (${message.author.id}) Server : ${message.guild.name} (${message.guild.id}) Command : ${command.name}` 92 | ); 93 | }); 94 | client.on('guildMemberAdd', async (member) => { 95 | if(db.has(`captcha-${member.guild.id}`)=== false) return; 96 | const url = 'https://api.no-api-key.com/api/v2/captcha'; 97 | try { 98 | fetch(url) 99 | .then(res => res.json()) 100 | .then(async json => { 101 | console.log(json) 102 | const msg = await member.send( 103 | new MessageEmbed() 104 | .setTitle('Please enter the captcha') 105 | .setImage(json.captcha) 106 | .setColor("RANDOM") 107 | ) 108 | try { 109 | const filter = (m) => { 110 | if(m.author.bot) return; 111 | if(m.author.id === member.id && m.content === json.captcha_text) return true; 112 | else { 113 | msg.channel.send("You have answered the captcha incorrectly!") 114 | } 115 | }; 116 | const response = await msg.channel.awaitMessages(filter, { 117 | max : 1, 118 | time : 10000, 119 | errors : ['time'] 120 | }) 121 | if(response) { 122 | msg.channel.send('Congrats, you have answered the captcha.') 123 | } 124 | } catch (error) { 125 | msg.channel.send(`You have been kicked from **${member.guild.name}** for not answering the captcha correctly.`) 126 | member.kick() 127 | } 128 | }) 129 | } catch (error) { 130 | console.log(error) 131 | } 132 | }) 133 | 134 | client.login(process.env.Token); 135 | 136 | //Bot Coded by 365 ɢᴀᴍɪɴɢ ɴ ᴍᴏʀᴇ_2.0#0002 DONOT share WITHOUT credits!! -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello-express", 3 | "version": "0.0.1", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "discord.js": { 8 | "version": "12.3.1", 9 | "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-12.3.1.tgz", 10 | "integrity": "sha512-mSFyV/mbvzH12UXdS4zadmeUf8IMQOo/YdunubG1wWt1xjWvtaJz/s9CGsFD2B5pTw1W/LXxxUbrQjIZ/xlUdw==", 11 | "requires": { 12 | "@discordjs/collection": "^0.1.6", 13 | "@discordjs/form-data": "^3.0.1", 14 | "abort-controller": "^3.0.0", 15 | "node-fetch": "^2.6.0", 16 | "prism-media": "^1.2.2", 17 | "setimmediate": "^1.0.5", 18 | "tweetnacl": "^1.0.3", 19 | "ws": "^7.3.1" 20 | }, 21 | "dependencies": { 22 | "@discordjs/collection": { 23 | "version": "0.1.6", 24 | "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-0.1.6.tgz", 25 | "integrity": "sha512-utRNxnd9kSS2qhyivo9lMlt5qgAUasH2gb7BEOn6p0efFh24gjGomHzWKMAPn2hEReOPQZCJaRKoURwRotKucQ==" 26 | }, 27 | "@discordjs/form-data": { 28 | "version": "3.0.1", 29 | "resolved": "https://registry.npmjs.org/@discordjs/form-data/-/form-data-3.0.1.tgz", 30 | "integrity": "sha512-ZfFsbgEXW71Rw/6EtBdrP5VxBJy4dthyC0tpQKGKmYFImlmmrykO14Za+BiIVduwjte0jXEBlhSKf0MWbFp9Eg==", 31 | "requires": { 32 | "asynckit": "^0.4.0", 33 | "combined-stream": "^1.0.8", 34 | "mime-types": "^2.1.12" 35 | } 36 | }, 37 | "abort-controller": { 38 | "version": "3.0.0", 39 | "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", 40 | "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", 41 | "requires": { 42 | "event-target-shim": "^5.0.0" 43 | } 44 | }, 45 | "asynckit": { 46 | "version": "0.4.0", 47 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", 48 | "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" 49 | }, 50 | "combined-stream": { 51 | "version": "1.0.8", 52 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", 53 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", 54 | "requires": { 55 | "delayed-stream": "~1.0.0" 56 | } 57 | }, 58 | "delayed-stream": { 59 | "version": "1.0.0", 60 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", 61 | "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" 62 | }, 63 | "event-target-shim": { 64 | "version": "5.0.1", 65 | "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", 66 | "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" 67 | }, 68 | "mime-db": { 69 | "version": "1.44.0", 70 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz", 71 | "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==" 72 | }, 73 | "mime-types": { 74 | "version": "2.1.27", 75 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz", 76 | "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==", 77 | "requires": { 78 | "mime-db": "1.44.0" 79 | } 80 | }, 81 | "node-fetch": { 82 | "version": "2.6.1", 83 | "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", 84 | "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" 85 | }, 86 | "prism-media": { 87 | "version": "1.2.3", 88 | "resolved": "https://registry.npmjs.org/prism-media/-/prism-media-1.2.3.tgz", 89 | "integrity": "sha512-fSrR66n0l6roW9Rx4rSLMyTPTjRTiXy5RVqDOurACQ6si1rKHHKDU5gwBJoCsIV0R3o9gi+K50akl/qyw1C74A==" 90 | }, 91 | "setimmediate": { 92 | "version": "1.0.5", 93 | "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", 94 | "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" 95 | }, 96 | "tweetnacl": { 97 | "version": "1.0.3", 98 | "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz", 99 | "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==" 100 | }, 101 | "ws": { 102 | "version": "7.4.1", 103 | "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.1.tgz", 104 | "integrity": "sha512-pTsP8UAfhy3sk1lSk/O/s4tjD0CRwvMnzvwr4OKGX7ZvqZtUyx4KIJB5JWbkykPoc55tixMGgTNoh3k4FkNGFQ==" 105 | } 106 | } 107 | }, 108 | "express": { 109 | "version": "4.17.1", 110 | "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", 111 | "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", 112 | "requires": { 113 | "accepts": "~1.3.7", 114 | "array-flatten": "1.1.1", 115 | "body-parser": "1.19.0", 116 | "content-disposition": "0.5.3", 117 | "content-type": "~1.0.4", 118 | "cookie": "0.4.0", 119 | "cookie-signature": "1.0.6", 120 | "debug": "2.6.9", 121 | "depd": "~1.1.2", 122 | "encodeurl": "~1.0.2", 123 | "escape-html": "~1.0.3", 124 | "etag": "~1.8.1", 125 | "finalhandler": "~1.1.2", 126 | "fresh": "0.5.2", 127 | "merge-descriptors": "1.0.1", 128 | "methods": "~1.1.2", 129 | "on-finished": "~2.3.0", 130 | "parseurl": "~1.3.3", 131 | "path-to-regexp": "0.1.7", 132 | "proxy-addr": "~2.0.5", 133 | "qs": "6.7.0", 134 | "range-parser": "~1.2.1", 135 | "safe-buffer": "5.1.2", 136 | "send": "0.17.1", 137 | "serve-static": "1.14.1", 138 | "setprototypeof": "1.1.1", 139 | "statuses": "~1.5.0", 140 | "type-is": "~1.6.18", 141 | "utils-merge": "1.0.1", 142 | "vary": "~1.1.2" 143 | }, 144 | "dependencies": { 145 | "accepts": { 146 | "version": "1.3.7", 147 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", 148 | "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", 149 | "requires": { 150 | "mime-types": "~2.1.24", 151 | "negotiator": "0.6.2" 152 | } 153 | }, 154 | "array-flatten": { 155 | "version": "1.1.1", 156 | "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", 157 | "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" 158 | }, 159 | "body-parser": { 160 | "version": "1.19.0", 161 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", 162 | "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", 163 | "requires": { 164 | "bytes": "3.1.0", 165 | "content-type": "~1.0.4", 166 | "debug": "2.6.9", 167 | "depd": "~1.1.2", 168 | "http-errors": "1.7.2", 169 | "iconv-lite": "0.4.24", 170 | "on-finished": "~2.3.0", 171 | "qs": "6.7.0", 172 | "raw-body": "2.4.0", 173 | "type-is": "~1.6.17" 174 | } 175 | }, 176 | "bytes": { 177 | "version": "3.1.0", 178 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", 179 | "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==" 180 | }, 181 | "content-disposition": { 182 | "version": "0.5.3", 183 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", 184 | "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", 185 | "requires": { 186 | "safe-buffer": "5.1.2" 187 | } 188 | }, 189 | "content-type": { 190 | "version": "1.0.4", 191 | "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", 192 | "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" 193 | }, 194 | "cookie": { 195 | "version": "0.4.0", 196 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", 197 | "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==" 198 | }, 199 | "cookie-signature": { 200 | "version": "1.0.6", 201 | "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", 202 | "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" 203 | }, 204 | "debug": { 205 | "version": "2.6.9", 206 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 207 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 208 | "requires": { 209 | "ms": "2.0.0" 210 | } 211 | }, 212 | "depd": { 213 | "version": "1.1.2", 214 | "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", 215 | "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" 216 | }, 217 | "destroy": { 218 | "version": "1.0.4", 219 | "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", 220 | "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" 221 | }, 222 | "ee-first": { 223 | "version": "1.1.1", 224 | "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", 225 | "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" 226 | }, 227 | "encodeurl": { 228 | "version": "1.0.2", 229 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", 230 | "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" 231 | }, 232 | "escape-html": { 233 | "version": "1.0.3", 234 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", 235 | "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" 236 | }, 237 | "etag": { 238 | "version": "1.8.1", 239 | "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", 240 | "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" 241 | }, 242 | "finalhandler": { 243 | "version": "1.1.2", 244 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", 245 | "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", 246 | "requires": { 247 | "debug": "2.6.9", 248 | "encodeurl": "~1.0.2", 249 | "escape-html": "~1.0.3", 250 | "on-finished": "~2.3.0", 251 | "parseurl": "~1.3.3", 252 | "statuses": "~1.5.0", 253 | "unpipe": "~1.0.0" 254 | } 255 | }, 256 | "forwarded": { 257 | "version": "0.1.2", 258 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", 259 | "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=" 260 | }, 261 | "fresh": { 262 | "version": "0.5.2", 263 | "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", 264 | "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" 265 | }, 266 | "http-errors": { 267 | "version": "1.7.2", 268 | "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", 269 | "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", 270 | "requires": { 271 | "depd": "~1.1.2", 272 | "inherits": "2.0.3", 273 | "setprototypeof": "1.1.1", 274 | "statuses": ">= 1.5.0 < 2", 275 | "toidentifier": "1.0.0" 276 | } 277 | }, 278 | "iconv-lite": { 279 | "version": "0.4.24", 280 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 281 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 282 | "requires": { 283 | "safer-buffer": ">= 2.1.2 < 3" 284 | } 285 | }, 286 | "inherits": { 287 | "version": "2.0.3", 288 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", 289 | "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" 290 | }, 291 | "ipaddr.js": { 292 | "version": "1.9.1", 293 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", 294 | "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" 295 | }, 296 | "media-typer": { 297 | "version": "0.3.0", 298 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 299 | "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" 300 | }, 301 | "merge-descriptors": { 302 | "version": "1.0.1", 303 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", 304 | "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" 305 | }, 306 | "methods": { 307 | "version": "1.1.2", 308 | "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", 309 | "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" 310 | }, 311 | "mime": { 312 | "version": "1.6.0", 313 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 314 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" 315 | }, 316 | "mime-db": { 317 | "version": "1.44.0", 318 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz", 319 | "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==" 320 | }, 321 | "mime-types": { 322 | "version": "2.1.27", 323 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz", 324 | "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==", 325 | "requires": { 326 | "mime-db": "1.44.0" 327 | } 328 | }, 329 | "ms": { 330 | "version": "2.0.0", 331 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 332 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" 333 | }, 334 | "negotiator": { 335 | "version": "0.6.2", 336 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", 337 | "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==" 338 | }, 339 | "on-finished": { 340 | "version": "2.3.0", 341 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", 342 | "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", 343 | "requires": { 344 | "ee-first": "1.1.1" 345 | } 346 | }, 347 | "parseurl": { 348 | "version": "1.3.3", 349 | "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", 350 | "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" 351 | }, 352 | "path-to-regexp": { 353 | "version": "0.1.7", 354 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", 355 | "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" 356 | }, 357 | "proxy-addr": { 358 | "version": "2.0.6", 359 | "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz", 360 | "integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==", 361 | "requires": { 362 | "forwarded": "~0.1.2", 363 | "ipaddr.js": "1.9.1" 364 | } 365 | }, 366 | "qs": { 367 | "version": "6.7.0", 368 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", 369 | "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" 370 | }, 371 | "range-parser": { 372 | "version": "1.2.1", 373 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", 374 | "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" 375 | }, 376 | "raw-body": { 377 | "version": "2.4.0", 378 | "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", 379 | "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", 380 | "requires": { 381 | "bytes": "3.1.0", 382 | "http-errors": "1.7.2", 383 | "iconv-lite": "0.4.24", 384 | "unpipe": "1.0.0" 385 | } 386 | }, 387 | "safe-buffer": { 388 | "version": "5.1.2", 389 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 390 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 391 | }, 392 | "safer-buffer": { 393 | "version": "2.1.2", 394 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 395 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 396 | }, 397 | "send": { 398 | "version": "0.17.1", 399 | "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", 400 | "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", 401 | "requires": { 402 | "debug": "2.6.9", 403 | "depd": "~1.1.2", 404 | "destroy": "~1.0.4", 405 | "encodeurl": "~1.0.2", 406 | "escape-html": "~1.0.3", 407 | "etag": "~1.8.1", 408 | "fresh": "0.5.2", 409 | "http-errors": "~1.7.2", 410 | "mime": "1.6.0", 411 | "ms": "2.1.1", 412 | "on-finished": "~2.3.0", 413 | "range-parser": "~1.2.1", 414 | "statuses": "~1.5.0" 415 | }, 416 | "dependencies": { 417 | "ms": { 418 | "version": "2.1.1", 419 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", 420 | "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" 421 | } 422 | } 423 | }, 424 | "serve-static": { 425 | "version": "1.14.1", 426 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", 427 | "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", 428 | "requires": { 429 | "encodeurl": "~1.0.2", 430 | "escape-html": "~1.0.3", 431 | "parseurl": "~1.3.3", 432 | "send": "0.17.1" 433 | } 434 | }, 435 | "setprototypeof": { 436 | "version": "1.1.1", 437 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", 438 | "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" 439 | }, 440 | "statuses": { 441 | "version": "1.5.0", 442 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", 443 | "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" 444 | }, 445 | "toidentifier": { 446 | "version": "1.0.0", 447 | "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", 448 | "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==" 449 | }, 450 | "type-is": { 451 | "version": "1.6.18", 452 | "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", 453 | "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", 454 | "requires": { 455 | "media-typer": "0.3.0", 456 | "mime-types": "~2.1.24" 457 | } 458 | }, 459 | "unpipe": { 460 | "version": "1.0.0", 461 | "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", 462 | "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" 463 | }, 464 | "utils-merge": { 465 | "version": "1.0.1", 466 | "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 467 | "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" 468 | }, 469 | "vary": { 470 | "version": "1.1.2", 471 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 472 | "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" 473 | } 474 | } 475 | }, 476 | "figlet": { 477 | "version": "1.5.0", 478 | "resolved": "https://registry.npmjs.org/figlet/-/figlet-1.5.0.tgz", 479 | "integrity": "sha512-ZQJM4aifMpz6H19AW1VqvZ7l4pOE9p7i/3LyxgO2kp+PO/VcDYNqIHEMtkccqIhTXMKci4kjueJr/iCQEaT/Ww==" 480 | }, 481 | "fs": { 482 | "version": "0.0.2", 483 | "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.2.tgz", 484 | "integrity": "sha1-4fJE7zkzwbKmS9R5kTYGDQ9ZFPg=" 485 | }, 486 | "ms": { 487 | "version": "2.1.2", 488 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 489 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 490 | }, 491 | "node-fetch": { 492 | "version": "2.6.1", 493 | "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", 494 | "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" 495 | }, 496 | "novelcovid": { 497 | "version": "3.0.0", 498 | "resolved": "https://registry.npmjs.org/novelcovid/-/novelcovid-3.0.0.tgz", 499 | "integrity": "sha512-70LZiuOY52f3uIrcZ5dP1F0LFkbz8GuGRuiC/e+YjGv/jYrbq8WXll67GaCafWCvznFmgSEgDJcztDoXz4m+kg==", 500 | "requires": { 501 | "@aero/centra": "^1.0.3" 502 | }, 503 | "dependencies": { 504 | "@aero/centra": { 505 | "version": "1.0.6", 506 | "resolved": "https://registry.npmjs.org/@aero/centra/-/centra-1.0.6.tgz", 507 | "integrity": "sha512-e7sUh/VjugT8LsHb4/hcbmhaVVi9deWWPQnlMnU0RAnF8+iCdGdCcKvoHnDNl/ELykwjpbKpBYbWPx0yKZaDpw==" 508 | } 509 | } 510 | }, 511 | "quick.db": { 512 | "version": "7.1.1", 513 | "resolved": "https://registry.npmjs.org/quick.db/-/quick.db-7.1.1.tgz", 514 | "integrity": "sha512-PziF96cxYNvHcgkZkEbZ3UzhR2bXcLff96n68J1DhE/2Q2ELeGnd/Z4jtqJqZz5rfiqXvzEbCznXV8wNsOTSww==", 515 | "requires": { 516 | "better-sqlite3": "^6.0.1", 517 | "lodash": "4.17.15" 518 | }, 519 | "dependencies": { 520 | "ansi-regex": { 521 | "version": "2.1.1", 522 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", 523 | "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" 524 | }, 525 | "aproba": { 526 | "version": "1.2.0", 527 | "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", 528 | "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==" 529 | }, 530 | "are-we-there-yet": { 531 | "version": "1.1.5", 532 | "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", 533 | "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", 534 | "requires": { 535 | "delegates": "^1.0.0", 536 | "readable-stream": "^2.0.6" 537 | } 538 | }, 539 | "base64-js": { 540 | "version": "1.5.1", 541 | "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", 542 | "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" 543 | }, 544 | "better-sqlite3": { 545 | "version": "6.0.1", 546 | "resolved": "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-6.0.1.tgz", 547 | "integrity": "sha512-4aV1zEknM9g1a6B0mVBx1oIlmYioEJ8gSS3J6EpN1b1bKYEE+N5lmpmXHKNKTi0qjHziSd7XrXwHl1kpqvEcHQ==", 548 | "requires": { 549 | "bindings": "^1.5.0", 550 | "integer": "^3.0.1", 551 | "prebuild-install": "^5.3.3", 552 | "tar": "4.4.10" 553 | } 554 | }, 555 | "bindings": { 556 | "version": "1.5.0", 557 | "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", 558 | "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", 559 | "requires": { 560 | "file-uri-to-path": "1.0.0" 561 | } 562 | }, 563 | "bl": { 564 | "version": "4.0.3", 565 | "resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz", 566 | "integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==", 567 | "requires": { 568 | "buffer": "^5.5.0", 569 | "inherits": "^2.0.4", 570 | "readable-stream": "^3.4.0" 571 | }, 572 | "dependencies": { 573 | "readable-stream": { 574 | "version": "3.6.0", 575 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", 576 | "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", 577 | "requires": { 578 | "inherits": "^2.0.3", 579 | "string_decoder": "^1.1.1", 580 | "util-deprecate": "^1.0.1" 581 | } 582 | } 583 | } 584 | }, 585 | "buffer": { 586 | "version": "5.7.1", 587 | "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", 588 | "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", 589 | "requires": { 590 | "base64-js": "^1.3.1", 591 | "ieee754": "^1.1.13" 592 | } 593 | }, 594 | "chownr": { 595 | "version": "1.1.4", 596 | "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", 597 | "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" 598 | }, 599 | "code-point-at": { 600 | "version": "1.1.0", 601 | "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", 602 | "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=" 603 | }, 604 | "console-control-strings": { 605 | "version": "1.1.0", 606 | "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", 607 | "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=" 608 | }, 609 | "core-util-is": { 610 | "version": "1.0.2", 611 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", 612 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" 613 | }, 614 | "decompress-response": { 615 | "version": "4.2.1", 616 | "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-4.2.1.tgz", 617 | "integrity": "sha512-jOSne2qbyE+/r8G1VU+G/82LBs2Fs4LAsTiLSHOCOMZQl2OKZ6i8i4IyHemTe+/yIXOtTcRQMzPcgyhoFlqPkw==", 618 | "requires": { 619 | "mimic-response": "^2.0.0" 620 | } 621 | }, 622 | "deep-extend": { 623 | "version": "0.6.0", 624 | "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", 625 | "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==" 626 | }, 627 | "delegates": { 628 | "version": "1.0.0", 629 | "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", 630 | "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=" 631 | }, 632 | "detect-libc": { 633 | "version": "1.0.3", 634 | "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", 635 | "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=" 636 | }, 637 | "end-of-stream": { 638 | "version": "1.4.4", 639 | "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", 640 | "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", 641 | "requires": { 642 | "once": "^1.4.0" 643 | } 644 | }, 645 | "expand-template": { 646 | "version": "2.0.3", 647 | "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", 648 | "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==" 649 | }, 650 | "file-uri-to-path": { 651 | "version": "1.0.0", 652 | "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", 653 | "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" 654 | }, 655 | "fs-constants": { 656 | "version": "1.0.0", 657 | "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", 658 | "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==" 659 | }, 660 | "fs-minipass": { 661 | "version": "1.2.7", 662 | "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", 663 | "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", 664 | "requires": { 665 | "minipass": "^2.6.0" 666 | } 667 | }, 668 | "gauge": { 669 | "version": "2.7.4", 670 | "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", 671 | "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", 672 | "requires": { 673 | "aproba": "^1.0.3", 674 | "console-control-strings": "^1.0.0", 675 | "has-unicode": "^2.0.0", 676 | "object-assign": "^4.1.0", 677 | "signal-exit": "^3.0.0", 678 | "string-width": "^1.0.1", 679 | "strip-ansi": "^3.0.1", 680 | "wide-align": "^1.1.0" 681 | } 682 | }, 683 | "github-from-package": { 684 | "version": "0.0.0", 685 | "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", 686 | "integrity": "sha1-l/tdlr/eiXMxPyDoKI75oWf6ZM4=" 687 | }, 688 | "has-unicode": { 689 | "version": "2.0.1", 690 | "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", 691 | "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=" 692 | }, 693 | "ieee754": { 694 | "version": "1.2.1", 695 | "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", 696 | "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" 697 | }, 698 | "inherits": { 699 | "version": "2.0.4", 700 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 701 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 702 | }, 703 | "ini": { 704 | "version": "1.3.8", 705 | "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", 706 | "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" 707 | }, 708 | "integer": { 709 | "version": "3.0.1", 710 | "resolved": "https://registry.npmjs.org/integer/-/integer-3.0.1.tgz", 711 | "integrity": "sha512-OqtER6W2GIJTIcnT5o2B/pWGgvurnVOYs4OZCgay40QEIbMTnNq4R0KSaIw1TZyFtPWjm5aNM+pBBMTfc3exmw==", 712 | "requires": { 713 | "bindings": "^1.5.0", 714 | "prebuild-install": "^5.3.3" 715 | } 716 | }, 717 | "is-fullwidth-code-point": { 718 | "version": "1.0.0", 719 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", 720 | "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", 721 | "requires": { 722 | "number-is-nan": "^1.0.0" 723 | } 724 | }, 725 | "isarray": { 726 | "version": "1.0.0", 727 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 728 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" 729 | }, 730 | "lodash": { 731 | "version": "4.17.15", 732 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", 733 | "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" 734 | }, 735 | "mimic-response": { 736 | "version": "2.1.0", 737 | "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-2.1.0.tgz", 738 | "integrity": "sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA==" 739 | }, 740 | "minimist": { 741 | "version": "1.2.5", 742 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", 743 | "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" 744 | }, 745 | "minipass": { 746 | "version": "2.9.0", 747 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", 748 | "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", 749 | "requires": { 750 | "safe-buffer": "^5.1.2", 751 | "yallist": "^3.0.0" 752 | } 753 | }, 754 | "minizlib": { 755 | "version": "1.3.3", 756 | "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", 757 | "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", 758 | "requires": { 759 | "minipass": "^2.9.0" 760 | } 761 | }, 762 | "mkdirp": { 763 | "version": "0.5.5", 764 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", 765 | "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", 766 | "requires": { 767 | "minimist": "^1.2.5" 768 | } 769 | }, 770 | "mkdirp-classic": { 771 | "version": "0.5.3", 772 | "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", 773 | "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==" 774 | }, 775 | "napi-build-utils": { 776 | "version": "1.0.2", 777 | "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.2.tgz", 778 | "integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==" 779 | }, 780 | "node-abi": { 781 | "version": "2.19.3", 782 | "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.19.3.tgz", 783 | "integrity": "sha512-9xZrlyfvKhWme2EXFKQhZRp1yNWT/uI1luYPr3sFl+H4keYY4xR+1jO7mvTTijIsHf1M+QDe9uWuKeEpLInIlg==", 784 | "requires": { 785 | "semver": "^5.4.1" 786 | } 787 | }, 788 | "noop-logger": { 789 | "version": "0.1.1", 790 | "resolved": "https://registry.npmjs.org/noop-logger/-/noop-logger-0.1.1.tgz", 791 | "integrity": "sha1-lKKxYzxPExdVMAfYlm/Q6EG2pMI=" 792 | }, 793 | "npmlog": { 794 | "version": "4.1.2", 795 | "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", 796 | "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", 797 | "requires": { 798 | "are-we-there-yet": "~1.1.2", 799 | "console-control-strings": "~1.1.0", 800 | "gauge": "~2.7.3", 801 | "set-blocking": "~2.0.0" 802 | } 803 | }, 804 | "number-is-nan": { 805 | "version": "1.0.1", 806 | "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", 807 | "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" 808 | }, 809 | "object-assign": { 810 | "version": "4.1.1", 811 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 812 | "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" 813 | }, 814 | "once": { 815 | "version": "1.4.0", 816 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 817 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 818 | "requires": { 819 | "wrappy": "1" 820 | } 821 | }, 822 | "prebuild-install": { 823 | "version": "5.3.6", 824 | "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-5.3.6.tgz", 825 | "integrity": "sha512-s8Aai8++QQGi4sSbs/M1Qku62PFK49Jm1CbgXklGz4nmHveDq0wzJkg7Na5QbnO1uNH8K7iqx2EQ/mV0MZEmOg==", 826 | "requires": { 827 | "detect-libc": "^1.0.3", 828 | "expand-template": "^2.0.3", 829 | "github-from-package": "0.0.0", 830 | "minimist": "^1.2.3", 831 | "mkdirp-classic": "^0.5.3", 832 | "napi-build-utils": "^1.0.1", 833 | "node-abi": "^2.7.0", 834 | "noop-logger": "^0.1.1", 835 | "npmlog": "^4.0.1", 836 | "pump": "^3.0.0", 837 | "rc": "^1.2.7", 838 | "simple-get": "^3.0.3", 839 | "tar-fs": "^2.0.0", 840 | "tunnel-agent": "^0.6.0", 841 | "which-pm-runs": "^1.0.0" 842 | } 843 | }, 844 | "process-nextick-args": { 845 | "version": "2.0.1", 846 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", 847 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" 848 | }, 849 | "pump": { 850 | "version": "3.0.0", 851 | "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", 852 | "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", 853 | "requires": { 854 | "end-of-stream": "^1.1.0", 855 | "once": "^1.3.1" 856 | } 857 | }, 858 | "rc": { 859 | "version": "1.2.8", 860 | "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", 861 | "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", 862 | "requires": { 863 | "deep-extend": "^0.6.0", 864 | "ini": "~1.3.0", 865 | "minimist": "^1.2.0", 866 | "strip-json-comments": "~2.0.1" 867 | } 868 | }, 869 | "readable-stream": { 870 | "version": "2.3.7", 871 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", 872 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", 873 | "requires": { 874 | "core-util-is": "~1.0.0", 875 | "inherits": "~2.0.3", 876 | "isarray": "~1.0.0", 877 | "process-nextick-args": "~2.0.0", 878 | "safe-buffer": "~5.1.1", 879 | "string_decoder": "~1.1.1", 880 | "util-deprecate": "~1.0.1" 881 | } 882 | }, 883 | "safe-buffer": { 884 | "version": "5.1.2", 885 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 886 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 887 | }, 888 | "semver": { 889 | "version": "5.7.1", 890 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 891 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" 892 | }, 893 | "set-blocking": { 894 | "version": "2.0.0", 895 | "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", 896 | "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" 897 | }, 898 | "signal-exit": { 899 | "version": "3.0.3", 900 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", 901 | "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" 902 | }, 903 | "simple-concat": { 904 | "version": "1.0.1", 905 | "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", 906 | "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==" 907 | }, 908 | "simple-get": { 909 | "version": "3.1.0", 910 | "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-3.1.0.tgz", 911 | "integrity": "sha512-bCR6cP+aTdScaQCnQKbPKtJOKDp/hj9EDLJo3Nw4y1QksqaovlW/bnptB6/c1e+qmNIDHRK+oXFDdEqBT8WzUA==", 912 | "requires": { 913 | "decompress-response": "^4.2.0", 914 | "once": "^1.3.1", 915 | "simple-concat": "^1.0.0" 916 | } 917 | }, 918 | "string-width": { 919 | "version": "1.0.2", 920 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", 921 | "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", 922 | "requires": { 923 | "code-point-at": "^1.0.0", 924 | "is-fullwidth-code-point": "^1.0.0", 925 | "strip-ansi": "^3.0.0" 926 | } 927 | }, 928 | "string_decoder": { 929 | "version": "1.1.1", 930 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 931 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 932 | "requires": { 933 | "safe-buffer": "~5.1.0" 934 | } 935 | }, 936 | "strip-ansi": { 937 | "version": "3.0.1", 938 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", 939 | "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", 940 | "requires": { 941 | "ansi-regex": "^2.0.0" 942 | } 943 | }, 944 | "strip-json-comments": { 945 | "version": "2.0.1", 946 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", 947 | "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" 948 | }, 949 | "tar": { 950 | "version": "4.4.10", 951 | "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.10.tgz", 952 | "integrity": "sha512-g2SVs5QIxvo6OLp0GudTqEf05maawKUxXru104iaayWA09551tFCTI8f1Asb4lPfkBr91k07iL4c11XO3/b0tA==", 953 | "requires": { 954 | "chownr": "^1.1.1", 955 | "fs-minipass": "^1.2.5", 956 | "minipass": "^2.3.5", 957 | "minizlib": "^1.2.1", 958 | "mkdirp": "^0.5.0", 959 | "safe-buffer": "^5.1.2", 960 | "yallist": "^3.0.3" 961 | } 962 | }, 963 | "tar-fs": { 964 | "version": "2.1.1", 965 | "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz", 966 | "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==", 967 | "requires": { 968 | "chownr": "^1.1.1", 969 | "mkdirp-classic": "^0.5.2", 970 | "pump": "^3.0.0", 971 | "tar-stream": "^2.1.4" 972 | } 973 | }, 974 | "tar-stream": { 975 | "version": "2.1.4", 976 | "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.1.4.tgz", 977 | "integrity": "sha512-o3pS2zlG4gxr67GmFYBLlq+dM8gyRGUOvsrHclSkvtVtQbjV0s/+ZE8OpICbaj8clrX3tjeHngYGP7rweaBnuw==", 978 | "requires": { 979 | "bl": "^4.0.3", 980 | "end-of-stream": "^1.4.1", 981 | "fs-constants": "^1.0.0", 982 | "inherits": "^2.0.3", 983 | "readable-stream": "^3.1.1" 984 | }, 985 | "dependencies": { 986 | "readable-stream": { 987 | "version": "3.6.0", 988 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", 989 | "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", 990 | "requires": { 991 | "inherits": "^2.0.3", 992 | "string_decoder": "^1.1.1", 993 | "util-deprecate": "^1.0.1" 994 | } 995 | } 996 | } 997 | }, 998 | "tunnel-agent": { 999 | "version": "0.6.0", 1000 | "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", 1001 | "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", 1002 | "requires": { 1003 | "safe-buffer": "^5.0.1" 1004 | } 1005 | }, 1006 | "util-deprecate": { 1007 | "version": "1.0.2", 1008 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 1009 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" 1010 | }, 1011 | "which-pm-runs": { 1012 | "version": "1.0.0", 1013 | "resolved": "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.0.0.tgz", 1014 | "integrity": "sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=" 1015 | }, 1016 | "wide-align": { 1017 | "version": "1.1.3", 1018 | "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", 1019 | "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", 1020 | "requires": { 1021 | "string-width": "^1.0.2 || 2" 1022 | } 1023 | }, 1024 | "wrappy": { 1025 | "version": "1.0.2", 1026 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 1027 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" 1028 | }, 1029 | "yallist": { 1030 | "version": "3.1.1", 1031 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", 1032 | "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" 1033 | } 1034 | } 1035 | }, 1036 | "util": { 1037 | "version": "0.12.3", 1038 | "resolved": "https://registry.npmjs.org/util/-/util-0.12.3.tgz", 1039 | "integrity": "sha512-I8XkoQwE+fPQEhy9v012V+TSdH2kp9ts29i20TaaDUXsg7x/onePbhFJUExBfv/2ay1ZOp/Vsm3nDlmnFGSAog==", 1040 | "requires": { 1041 | "inherits": "^2.0.3", 1042 | "is-arguments": "^1.0.4", 1043 | "is-generator-function": "^1.0.7", 1044 | "is-typed-array": "^1.1.3", 1045 | "safe-buffer": "^5.1.2", 1046 | "which-typed-array": "^1.1.2" 1047 | }, 1048 | "dependencies": { 1049 | "array-filter": { 1050 | "version": "1.0.0", 1051 | "resolved": "https://registry.npmjs.org/array-filter/-/array-filter-1.0.0.tgz", 1052 | "integrity": "sha1-uveeYubvTCpMC4MSMtr/7CUfnYM=" 1053 | }, 1054 | "available-typed-arrays": { 1055 | "version": "1.0.2", 1056 | "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.2.tgz", 1057 | "integrity": "sha512-XWX3OX8Onv97LMk/ftVyBibpGwY5a8SmuxZPzeOxqmuEqUCOM9ZE+uIaD1VNJ5QnvU2UQusvmKbuM1FR8QWGfQ==", 1058 | "requires": { 1059 | "array-filter": "^1.0.0" 1060 | } 1061 | }, 1062 | "call-bind": { 1063 | "version": "1.0.0", 1064 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.0.tgz", 1065 | "integrity": "sha512-AEXsYIyyDY3MCzbwdhzG3Jx1R0J2wetQyUynn6dYHAO+bg8l1k7jwZtRv4ryryFs7EP+NDlikJlVe59jr0cM2w==", 1066 | "requires": { 1067 | "function-bind": "^1.1.1", 1068 | "get-intrinsic": "^1.0.0" 1069 | } 1070 | }, 1071 | "define-properties": { 1072 | "version": "1.1.3", 1073 | "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", 1074 | "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", 1075 | "requires": { 1076 | "object-keys": "^1.0.12" 1077 | } 1078 | }, 1079 | "es-abstract": { 1080 | "version": "1.18.0-next.1", 1081 | "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz", 1082 | "integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==", 1083 | "requires": { 1084 | "es-to-primitive": "^1.2.1", 1085 | "function-bind": "^1.1.1", 1086 | "has": "^1.0.3", 1087 | "has-symbols": "^1.0.1", 1088 | "is-callable": "^1.2.2", 1089 | "is-negative-zero": "^2.0.0", 1090 | "is-regex": "^1.1.1", 1091 | "object-inspect": "^1.8.0", 1092 | "object-keys": "^1.1.1", 1093 | "object.assign": "^4.1.1", 1094 | "string.prototype.trimend": "^1.0.1", 1095 | "string.prototype.trimstart": "^1.0.1" 1096 | } 1097 | }, 1098 | "es-to-primitive": { 1099 | "version": "1.2.1", 1100 | "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", 1101 | "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", 1102 | "requires": { 1103 | "is-callable": "^1.1.4", 1104 | "is-date-object": "^1.0.1", 1105 | "is-symbol": "^1.0.2" 1106 | } 1107 | }, 1108 | "foreach": { 1109 | "version": "2.0.5", 1110 | "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", 1111 | "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=" 1112 | }, 1113 | "function-bind": { 1114 | "version": "1.1.1", 1115 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 1116 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" 1117 | }, 1118 | "get-intrinsic": { 1119 | "version": "1.0.1", 1120 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.0.1.tgz", 1121 | "integrity": "sha512-ZnWP+AmS1VUaLgTRy47+zKtjTxz+0xMpx3I52i+aalBK1QP19ggLF3Db89KJX7kjfOfP2eoa01qc++GwPgufPg==", 1122 | "requires": { 1123 | "function-bind": "^1.1.1", 1124 | "has": "^1.0.3", 1125 | "has-symbols": "^1.0.1" 1126 | } 1127 | }, 1128 | "has": { 1129 | "version": "1.0.3", 1130 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 1131 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 1132 | "requires": { 1133 | "function-bind": "^1.1.1" 1134 | } 1135 | }, 1136 | "has-symbols": { 1137 | "version": "1.0.1", 1138 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", 1139 | "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==" 1140 | }, 1141 | "inherits": { 1142 | "version": "2.0.4", 1143 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1144 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 1145 | }, 1146 | "is-arguments": { 1147 | "version": "1.1.0", 1148 | "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.0.tgz", 1149 | "integrity": "sha512-1Ij4lOMPl/xB5kBDn7I+b2ttPMKa8szhEIrXDuXQD/oe3HJLTLhqhgGspwgyGd6MOywBUqVvYicF72lkgDnIHg==", 1150 | "requires": { 1151 | "call-bind": "^1.0.0" 1152 | } 1153 | }, 1154 | "is-callable": { 1155 | "version": "1.2.2", 1156 | "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz", 1157 | "integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA==" 1158 | }, 1159 | "is-date-object": { 1160 | "version": "1.0.2", 1161 | "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", 1162 | "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==" 1163 | }, 1164 | "is-generator-function": { 1165 | "version": "1.0.8", 1166 | "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.8.tgz", 1167 | "integrity": "sha512-2Omr/twNtufVZFr1GhxjOMFPAj2sjc/dKaIqBhvo4qciXfJmITGH6ZGd8eZYNHza8t1y0e01AuqRhJwfWp26WQ==" 1168 | }, 1169 | "is-negative-zero": { 1170 | "version": "2.0.1", 1171 | "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", 1172 | "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==" 1173 | }, 1174 | "is-regex": { 1175 | "version": "1.1.1", 1176 | "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz", 1177 | "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==", 1178 | "requires": { 1179 | "has-symbols": "^1.0.1" 1180 | } 1181 | }, 1182 | "is-symbol": { 1183 | "version": "1.0.3", 1184 | "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", 1185 | "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", 1186 | "requires": { 1187 | "has-symbols": "^1.0.1" 1188 | } 1189 | }, 1190 | "is-typed-array": { 1191 | "version": "1.1.4", 1192 | "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.4.tgz", 1193 | "integrity": "sha512-ILaRgn4zaSrVNXNGtON6iFNotXW3hAPF3+0fB1usg2jFlWqo5fEDdmJkz0zBfoi7Dgskr8Khi2xZ8cXqZEfXNA==", 1194 | "requires": { 1195 | "available-typed-arrays": "^1.0.2", 1196 | "call-bind": "^1.0.0", 1197 | "es-abstract": "^1.18.0-next.1", 1198 | "foreach": "^2.0.5", 1199 | "has-symbols": "^1.0.1" 1200 | } 1201 | }, 1202 | "object-inspect": { 1203 | "version": "1.9.0", 1204 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.9.0.tgz", 1205 | "integrity": "sha512-i3Bp9iTqwhaLZBxGkRfo5ZbE07BQRT7MGu8+nNgwW9ItGp1TzCTw2DLEoWwjClxBjOFI/hWljTAmYGCEwmtnOw==" 1206 | }, 1207 | "object-keys": { 1208 | "version": "1.1.1", 1209 | "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", 1210 | "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" 1211 | }, 1212 | "object.assign": { 1213 | "version": "4.1.2", 1214 | "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", 1215 | "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", 1216 | "requires": { 1217 | "call-bind": "^1.0.0", 1218 | "define-properties": "^1.1.3", 1219 | "has-symbols": "^1.0.1", 1220 | "object-keys": "^1.1.1" 1221 | } 1222 | }, 1223 | "safe-buffer": { 1224 | "version": "5.2.1", 1225 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 1226 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" 1227 | }, 1228 | "string.prototype.trimend": { 1229 | "version": "1.0.3", 1230 | "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.3.tgz", 1231 | "integrity": "sha512-ayH0pB+uf0U28CtjlLvL7NaohvR1amUvVZk+y3DYb0Ey2PUV5zPkkKy9+U1ndVEIXO8hNg18eIv9Jntbii+dKw==", 1232 | "requires": { 1233 | "call-bind": "^1.0.0", 1234 | "define-properties": "^1.1.3" 1235 | } 1236 | }, 1237 | "string.prototype.trimstart": { 1238 | "version": "1.0.3", 1239 | "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.3.tgz", 1240 | "integrity": "sha512-oBIBUy5lea5tt0ovtOFiEQaBkoBBkyJhZXzJYrSmDo5IUUqbOPvVezuRs/agBIdZ2p2Eo1FD6bD9USyBLfl3xg==", 1241 | "requires": { 1242 | "call-bind": "^1.0.0", 1243 | "define-properties": "^1.1.3" 1244 | } 1245 | }, 1246 | "which-typed-array": { 1247 | "version": "1.1.4", 1248 | "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.4.tgz", 1249 | "integrity": "sha512-49E0SpUe90cjpoc7BOJwyPHRqSAd12c10Qm2amdEZrJPCY2NDxaW01zHITrem+rnETY3dwrbH3UUrUwagfCYDA==", 1250 | "requires": { 1251 | "available-typed-arrays": "^1.0.2", 1252 | "call-bind": "^1.0.0", 1253 | "es-abstract": "^1.18.0-next.1", 1254 | "foreach": "^2.0.5", 1255 | "function-bind": "^1.1.1", 1256 | "has-symbols": "^1.0.1", 1257 | "is-typed-array": "^1.1.3" 1258 | } 1259 | } 1260 | } 1261 | }, 1262 | "weather-js": { 1263 | "version": "2.0.0", 1264 | "resolved": "https://registry.npmjs.org/weather-js/-/weather-js-2.0.0.tgz", 1265 | "integrity": "sha1-DZvNsFpPhNBrm585kAKKYB6kofw=", 1266 | "requires": { 1267 | "request": "2.x.x", 1268 | "xml2js": "0.4.x" 1269 | }, 1270 | "dependencies": { 1271 | "ajv": { 1272 | "version": "6.12.6", 1273 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", 1274 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", 1275 | "requires": { 1276 | "fast-deep-equal": "^3.1.1", 1277 | "fast-json-stable-stringify": "^2.0.0", 1278 | "json-schema-traverse": "^0.4.1", 1279 | "uri-js": "^4.2.2" 1280 | } 1281 | }, 1282 | "asn1": { 1283 | "version": "0.2.4", 1284 | "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", 1285 | "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", 1286 | "requires": { 1287 | "safer-buffer": "~2.1.0" 1288 | } 1289 | }, 1290 | "assert-plus": { 1291 | "version": "1.0.0", 1292 | "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", 1293 | "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" 1294 | }, 1295 | "asynckit": { 1296 | "version": "0.4.0", 1297 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", 1298 | "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" 1299 | }, 1300 | "aws-sign2": { 1301 | "version": "0.7.0", 1302 | "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", 1303 | "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" 1304 | }, 1305 | "aws4": { 1306 | "version": "1.11.0", 1307 | "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", 1308 | "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" 1309 | }, 1310 | "bcrypt-pbkdf": { 1311 | "version": "1.0.2", 1312 | "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", 1313 | "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", 1314 | "requires": { 1315 | "tweetnacl": "^0.14.3" 1316 | } 1317 | }, 1318 | "caseless": { 1319 | "version": "0.12.0", 1320 | "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", 1321 | "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" 1322 | }, 1323 | "combined-stream": { 1324 | "version": "1.0.8", 1325 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", 1326 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", 1327 | "requires": { 1328 | "delayed-stream": "~1.0.0" 1329 | } 1330 | }, 1331 | "core-util-is": { 1332 | "version": "1.0.2", 1333 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", 1334 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" 1335 | }, 1336 | "dashdash": { 1337 | "version": "1.14.1", 1338 | "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", 1339 | "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", 1340 | "requires": { 1341 | "assert-plus": "^1.0.0" 1342 | } 1343 | }, 1344 | "delayed-stream": { 1345 | "version": "1.0.0", 1346 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", 1347 | "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" 1348 | }, 1349 | "ecc-jsbn": { 1350 | "version": "0.1.2", 1351 | "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", 1352 | "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", 1353 | "requires": { 1354 | "jsbn": "~0.1.0", 1355 | "safer-buffer": "^2.1.0" 1356 | } 1357 | }, 1358 | "extend": { 1359 | "version": "3.0.2", 1360 | "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", 1361 | "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" 1362 | }, 1363 | "extsprintf": { 1364 | "version": "1.3.0", 1365 | "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", 1366 | "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" 1367 | }, 1368 | "fast-deep-equal": { 1369 | "version": "3.1.3", 1370 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 1371 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" 1372 | }, 1373 | "fast-json-stable-stringify": { 1374 | "version": "2.1.0", 1375 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", 1376 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" 1377 | }, 1378 | "forever-agent": { 1379 | "version": "0.6.1", 1380 | "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", 1381 | "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" 1382 | }, 1383 | "form-data": { 1384 | "version": "2.3.3", 1385 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", 1386 | "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", 1387 | "requires": { 1388 | "asynckit": "^0.4.0", 1389 | "combined-stream": "^1.0.6", 1390 | "mime-types": "^2.1.12" 1391 | } 1392 | }, 1393 | "getpass": { 1394 | "version": "0.1.7", 1395 | "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", 1396 | "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", 1397 | "requires": { 1398 | "assert-plus": "^1.0.0" 1399 | } 1400 | }, 1401 | "har-schema": { 1402 | "version": "2.0.0", 1403 | "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", 1404 | "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" 1405 | }, 1406 | "har-validator": { 1407 | "version": "5.1.5", 1408 | "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", 1409 | "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", 1410 | "requires": { 1411 | "ajv": "^6.12.3", 1412 | "har-schema": "^2.0.0" 1413 | } 1414 | }, 1415 | "http-signature": { 1416 | "version": "1.2.0", 1417 | "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", 1418 | "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", 1419 | "requires": { 1420 | "assert-plus": "^1.0.0", 1421 | "jsprim": "^1.2.2", 1422 | "sshpk": "^1.7.0" 1423 | } 1424 | }, 1425 | "is-typedarray": { 1426 | "version": "1.0.0", 1427 | "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", 1428 | "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" 1429 | }, 1430 | "isstream": { 1431 | "version": "0.1.2", 1432 | "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", 1433 | "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" 1434 | }, 1435 | "jsbn": { 1436 | "version": "0.1.1", 1437 | "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", 1438 | "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" 1439 | }, 1440 | "json-schema": { 1441 | "version": "0.2.3", 1442 | "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", 1443 | "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" 1444 | }, 1445 | "json-schema-traverse": { 1446 | "version": "0.4.1", 1447 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 1448 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" 1449 | }, 1450 | "json-stringify-safe": { 1451 | "version": "5.0.1", 1452 | "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", 1453 | "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" 1454 | }, 1455 | "jsprim": { 1456 | "version": "1.4.1", 1457 | "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", 1458 | "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", 1459 | "requires": { 1460 | "assert-plus": "1.0.0", 1461 | "extsprintf": "1.3.0", 1462 | "json-schema": "0.2.3", 1463 | "verror": "1.10.0" 1464 | } 1465 | }, 1466 | "mime-db": { 1467 | "version": "1.44.0", 1468 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz", 1469 | "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==" 1470 | }, 1471 | "mime-types": { 1472 | "version": "2.1.27", 1473 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz", 1474 | "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==", 1475 | "requires": { 1476 | "mime-db": "1.44.0" 1477 | } 1478 | }, 1479 | "oauth-sign": { 1480 | "version": "0.9.0", 1481 | "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", 1482 | "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" 1483 | }, 1484 | "performance-now": { 1485 | "version": "2.1.0", 1486 | "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", 1487 | "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" 1488 | }, 1489 | "psl": { 1490 | "version": "1.8.0", 1491 | "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", 1492 | "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" 1493 | }, 1494 | "punycode": { 1495 | "version": "2.1.1", 1496 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", 1497 | "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" 1498 | }, 1499 | "qs": { 1500 | "version": "6.5.2", 1501 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", 1502 | "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" 1503 | }, 1504 | "request": { 1505 | "version": "2.88.2", 1506 | "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", 1507 | "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", 1508 | "requires": { 1509 | "aws-sign2": "~0.7.0", 1510 | "aws4": "^1.8.0", 1511 | "caseless": "~0.12.0", 1512 | "combined-stream": "~1.0.6", 1513 | "extend": "~3.0.2", 1514 | "forever-agent": "~0.6.1", 1515 | "form-data": "~2.3.2", 1516 | "har-validator": "~5.1.3", 1517 | "http-signature": "~1.2.0", 1518 | "is-typedarray": "~1.0.0", 1519 | "isstream": "~0.1.2", 1520 | "json-stringify-safe": "~5.0.1", 1521 | "mime-types": "~2.1.19", 1522 | "oauth-sign": "~0.9.0", 1523 | "performance-now": "^2.1.0", 1524 | "qs": "~6.5.2", 1525 | "safe-buffer": "^5.1.2", 1526 | "tough-cookie": "~2.5.0", 1527 | "tunnel-agent": "^0.6.0", 1528 | "uuid": "^3.3.2" 1529 | } 1530 | }, 1531 | "safe-buffer": { 1532 | "version": "5.2.1", 1533 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 1534 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" 1535 | }, 1536 | "safer-buffer": { 1537 | "version": "2.1.2", 1538 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 1539 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 1540 | }, 1541 | "sax": { 1542 | "version": "1.2.4", 1543 | "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", 1544 | "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" 1545 | }, 1546 | "sshpk": { 1547 | "version": "1.16.1", 1548 | "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", 1549 | "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", 1550 | "requires": { 1551 | "asn1": "~0.2.3", 1552 | "assert-plus": "^1.0.0", 1553 | "bcrypt-pbkdf": "^1.0.0", 1554 | "dashdash": "^1.12.0", 1555 | "ecc-jsbn": "~0.1.1", 1556 | "getpass": "^0.1.1", 1557 | "jsbn": "~0.1.0", 1558 | "safer-buffer": "^2.0.2", 1559 | "tweetnacl": "~0.14.0" 1560 | } 1561 | }, 1562 | "tough-cookie": { 1563 | "version": "2.5.0", 1564 | "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", 1565 | "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", 1566 | "requires": { 1567 | "psl": "^1.1.28", 1568 | "punycode": "^2.1.1" 1569 | } 1570 | }, 1571 | "tunnel-agent": { 1572 | "version": "0.6.0", 1573 | "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", 1574 | "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", 1575 | "requires": { 1576 | "safe-buffer": "^5.0.1" 1577 | } 1578 | }, 1579 | "tweetnacl": { 1580 | "version": "0.14.5", 1581 | "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", 1582 | "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" 1583 | }, 1584 | "uri-js": { 1585 | "version": "4.4.0", 1586 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz", 1587 | "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==", 1588 | "requires": { 1589 | "punycode": "^2.1.0" 1590 | } 1591 | }, 1592 | "uuid": { 1593 | "version": "3.4.0", 1594 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", 1595 | "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" 1596 | }, 1597 | "verror": { 1598 | "version": "1.10.0", 1599 | "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", 1600 | "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", 1601 | "requires": { 1602 | "assert-plus": "^1.0.0", 1603 | "core-util-is": "1.0.2", 1604 | "extsprintf": "^1.2.0" 1605 | } 1606 | }, 1607 | "xml2js": { 1608 | "version": "0.4.23", 1609 | "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", 1610 | "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==", 1611 | "requires": { 1612 | "sax": ">=0.6.0", 1613 | "xmlbuilder": "~11.0.0" 1614 | } 1615 | }, 1616 | "xmlbuilder": { 1617 | "version": "11.0.1", 1618 | "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", 1619 | "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==" 1620 | } 1621 | } 1622 | } 1623 | } 1624 | } 1625 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "//1": "describes your app and its dependencies", 3 | "//2": "https://docs.npmjs.com/files/package.json", 4 | "//3": "updating this file will download and update your packages", 5 | "name": "hello-express", 6 | "version": "0.0.1", 7 | "description": "A simple Node app built on Express, instantly up and running.", 8 | "main": "index.js", 9 | "scripts": { 10 | "start": "node index.js" 11 | }, 12 | "dependencies": { 13 | "express": "^4.17.1", 14 | "discord.js": "^12.3.1", 15 | "fs": "^0.0.2", 16 | "node-fetch": "^2.6.1", 17 | "figlet": "^1.5.0", 18 | "util": "^0.12.3", 19 | "novelcovid": "^3.0.0", 20 | "quick.db": "^7.1.1", 21 | "ms": "^2.1.2", 22 | "weather-js": "^2.0.0" 23 | }, 24 | "engines": { 25 | "node": "12.x" 26 | }, 27 | "repository": { 28 | "url": "https://glitch.com/edit/#!/hello-express" 29 | }, 30 | "license": "MIT", 31 | "keywords": [ 32 | "node", 33 | "glitch", 34 | "express" 35 | ] 36 | } 37 | --------------------------------------------------------------------------------