info:"Refresh all client commands and events and clear most of the require cache.",
syntax:'`reload`',
asyncexecute(client,message,args,cmd){
if(!client.config.developers.has(message.author.id)){returnmessage.channel.send(`You must be a ${client.config.bot.name} developer in order to do this!`);}
asyncrun(client,message,args,cmd){
if(!client.config.developers.includes(message.author.id)){returnmessage.channel.send(`You must be a ${client.config.bot.name} developer in order to do this!`);}
returnmessage.channel.send(`Done! Reloaded **${client.commands.size}** commands with **${client.aliases.size}** aliases in **${newDate().getTime()-timer}ms**`)
if(conflictingAliases[alias]){conflictingAliases[alias].push(command.name);}//object of alias conflictions keyed by alias -> array[command names]
if(conflictingAliases[alias]){conflictingAliases[alias].push(command.name);}//object of alias conflicts keyed by alias -> array[command names]
else{conflictingAliases[alias]=[command.name];}
}
client.aliases.set(alias,command.name);
});}
client.log(`Loaded ${chalk.white(command.name)} with ${chalk.white(`${command.aliases?command.aliases.length:0}`)} alias${command.aliases&&command.aliases.length===1?'':'es'}.`,{color:'blueBright',source:'boot',sourceColor:'blue'});
if(!silent){client.log(`Loaded ${chalk.white(command.name)} with ${chalk.white(`${command.aliases?command.aliases.length:0}`)} alias${command.aliases&&command.aliases.length===1?'':'es'}.`,{color:'blueBright',source:'boot',sourceColor:'blue'});}
}
catch(e){
client.error(`Failed to read file ${chalk.white(file)}`);
client.log(`This ${chalk.blue('heap')} has ${chalk.blueBright((process.memoryUsage().heapTotal/(1024**2)).toFixed(2))}MB allocated; The ${chalk.blue('machine')} has ${chalk.blueBright((os.totalmem()/(1024**3)).toFixed(2))}GB (${chalk.blueBright((os.freemem()/(1024**3)).toFixed(2))}GB free)`);
client.log(`Running on ${chalk.blueBright(client.guilds.cache.size)}${chalk.blue("servers")} and interacting with about ${chalk.blueBright(client.users.cache.size)}${chalk.blue("users")}.`);
client.log(`Listening for prefix ${chalk.greenBright(client.basePrefix)} || ${chalk.greenBright(`${client.basePrefix}help`)} to get started!`);