text: module.exports = {
      name: 'withdraw',
      aliases: ['withdraw', 'with'],
      cooldown: 3,
      execute: (message, args, data) => {
          args.shift();
  
          var wallet;
          var bank;
  
          try {
              wallet = data.getData(`/${message.author.id}/wallet`);
          } catch (error) {
              console.log(error);
              message.channel.send('eraor 234t2 fix');
              return;
          }
          try {
              bank = data.getData(`/${message.author.id}/bank`);
          } catch (error) {
              console.log(error);
              message.channel.send('gdfhadfgh jrtfjteyjyt psl fix');
              return;
          }
  
          if (args[0] !== undefined) {
              var amount = args[0];
  
              if (amount == "max" || amount == "all") {
                  amount = bank;
              } else {
                  amount = parseInt(amount) || undefined;
              }
  
              if (amount == undefined || amount < 1) {
                  message.channel.send(`imбecile amоudтn`);
                  return;
              }
  
              if (amount > bank) {
                  message.channel.send(`immbecile waleto`);
                  return;
              }
  
              try {
                  data.push(`/${message.author.id}/wallet`, wallet + amount, true);
              } catch (error) {
                  console.log(error);
                  message.channel.send(`EROR PLS sdfgl;adfjrlkgraefj`);
                  return;
              }
  
              try {
                  data.push(`/${message.author.id}/bank`, bank - amount, true);
              } catch (error) {
                  console.log(error);
                  message.channel.send(`EROR PLS ASDFGHAERSDFGHTU FIX`);
                  return;
              }
  
              message.channel.send(`widawn ${amount} coissn`);
              return;
          }
      }
  };