diff --git a/commands/utility/whois.js b/commands/utility/whois.js deleted file mode 100644 index 0a2193f..0000000 --- a/commands/utility/whois.js +++ /dev/null @@ -1,31 +0,0 @@ -const { Command } = require('discord-akairo'); -const whois = require('whois'); - -class whoisCommand extends Command { - constructor() { - super('whois', { - aliases: ['whois'], - category: 'utility', - args: [ - { - id: 'domain', - type: 'string', - match: 'rest', - } - ], - description: { - content: 'Show\'s whois data about website. (ATTENTION, CAN BE SPAMMY)', - usage: '[website]', - examples: ['namejeff.xyz'] - } - }); - } - - async exec(message, args) { - whois.lookup(args.domain, function(err, data) { - return message.channel.send(data, {split: true, code: true }); - }); - } -} - -module.exports = whoisCommand; \ No newline at end of file diff --git a/package.json b/package.json index 0c8b99b..e5d2560 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,6 @@ "reload-json": "^0.3.1", "superagent": "^4.1.0", "twitter-lite": "^0.9.4", - "whois": "^2.10.0", "youtube-dl": "^1.13.1", "ytdl-core": "^0.29.1" },