if(isNaN(amountToPurge)||parseInt(amountToPurge)<1||parseInt(amountToPurge)>100)returnconsole.log(`You need to set a valid amount of messages to purge (beetween 1 and 100) in the configuration file (config.json)`);
if(isNaN(amountToPurge)||parseInt(amountToPurge)<1||parseInt(amountToPurge)>100)returnconsole.log(`You need to set a valid amount of messages to purge (beetween 1 and 100) in the configuration file (config.json)`);
// If purgeOnRestart is set to true in the config bulkDelete the channel
// If purgeOnRestart is set to true in the config bulkDelete the channel