removed whois because it can stuck the bot
This commit is contained in:
parent
fb780ccee1
commit
22638f433e
2 changed files with 0 additions and 32 deletions
|
@ -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;
|
|
|
@ -23,7 +23,6 @@
|
||||||
"reload-json": "^0.3.1",
|
"reload-json": "^0.3.1",
|
||||||
"superagent": "^4.1.0",
|
"superagent": "^4.1.0",
|
||||||
"twitter-lite": "^0.9.4",
|
"twitter-lite": "^0.9.4",
|
||||||
"whois": "^2.10.0",
|
|
||||||
"youtube-dl": "^1.13.1",
|
"youtube-dl": "^1.13.1",
|
||||||
"ytdl-core": "^0.29.1"
|
"ytdl-core": "^0.29.1"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue