Skip to content

Roles cache not setting to memory properly when it's stored outside memory but not in memory #13

@AwesomeStickz

Description

@AwesomeStickz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions