In https://github.com/discordeno/cache-proxy/blob/main/index.ts#L461, it's setting to bot.cache.roles.memory.set while if you have options.cacheInMemory.guilds set to true, the role must be set into the respective guild's role collection and not in the general one bot.cache.roles.memory.