const Command = require('../../structures/Command'); const request = require('node-superfetch'); module.exports = class NeverHaveIEverCommand extends Command { constructor(client) { super(client, { name: 'never-have-i-ever', aliases: ['nhie', 'never-have-i', 'never-have', 'never-ever'], group: 'random-res', memberName: 'never-have-i-ever', description: 'Responds with a random "Never Have I Ever..." statement.', credit: [ { name: 'Gerhard Jordan', url: 'http://www.gerhardjordan.com/', reason: 'Statement Data', reasonURL: 'http://www.neverhaveiever.org/' } ] }); } async run(msg) { try { const { text } = await request.get('http://www.neverhaveiever.org/randomtext.php'); return msg.say(text.match(/