I tried the method
let mainRole = message.guild.roles.cache.find(role => role.name === \'Member\'); let warnRole = message.guild.roles.cache.find(role => ro