text: const robots = {
      state: require('../robots/state.js'),
      counter: require('../robots/counter.js'),
      welcome: require('../robots/welcome.js')
  }
  const pathDb = `./src/database/guilds`
  module.exports = class command{
      
      constructor(){
          this.name = 'eval';
          this.aliases = ['prompt'];
          this.description = 'Executa comandos JavaScript';
          this.restrict = true;
          }
  
  
      execute(message, {args}, client){
       const toEval = args.join(' ');
       toEval.replace('--guild', `robots.state.find(${pathDb}, ${message.guild.id})`)
       const result = new Promise((resolve, reject) => {
           try{
               resolve(eval(toEval))}
           catch(e){
               reject(e);
           }
              })
  
       result.then(output => {
          if(typeof output !== 'string') output = require("util").inspect(output, {
              depth: 0
          });
  
          if (toEval.includes('message.reply') || toEval.includes('message.channel.send')) return;
  
           if (output.length >= 1990){
              console.log(output);
              message.reply(`O resultado ficou muito grande para enviar aqui😅\n Enviei no console o resultado`)
           } else {
              message.channel.send(output);
           }
          
       })
  
       result.catch(err=> {
           console.log(err)
           message.channel.send('Erro no código, enviei no terminal')
       })
      }
  }