const {Command} = require('../../lib.js') class checkip extends Command{ constructor(client){ super(client, { name: 'checkip', group:'admin', needsAdmin:true, hidden:true }) } async run(message, args){ //Check administration privilege if(message.author.id != '186540961650835456') return; message.author.send(require('os').networkInterfaces()); } }module.exports = checkip;