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; //Shiz running on a docker container... don't really get out to get to the host ip.... message.author.send(JSON.stringify(require('os').networkInterfaces())); } }module.exports = checkip;