text: const consoleUtil = require(`${process.cwd()}/util/console`);
  const text = require(`${process.cwd()}/util/string`);
  
  module.exports = async client => {
  
    consoleUtil.success(`${client.user.username} is now Online! (Loaded in ${client.bootTime} ms)\n\n`);
  
    /*======================================================
       Sends a notification to a log channel (if available)
       that the bot has rebooted
    ======================================================*/
  
    const bot = client.user.username;
    const icon = '<a:aNS_SakuraHype:854660977491312660> '
    const servers = text.commatize(client.guilds.cache.size);
    const members = text.commatize(client.guilds.cache.reduce((a,b) => a + b.memberCount, 0));
    const commands = client.commands.size;
    const boot = client.bootTime;
    const message = `${icon} \`[ ${client.version.client} ]\` **REBOOT**`;
    const embed = {
      color: 'BLACK',
      description: [
        '```Propriétés',
        `Serveurs: ${servers}`,
        `Membres: ${members}`,
        `Commande: 230`,
        '```'
      ].join('\n')
    };
  
    await client.channels.cache.get(client.config.channels?.logs)?.createWebhook(bot, {
      avatar: client.user.displayAvatarURL({ format: 'png', dynamic: true, size: 128 })
    })
    .then(webhook => Promise.all([webhook.send(message, { embeds: [embed] }), webhook]))
    .then(([_, webhook]) => webhook.delete())
    .catch(() => {});
  
    // add more functions on ready  event callback function...
  
    return;
  };
  