Skip to content

Caching for Voice Sessions #1441

Description

@valzargaming

public array $voice_sessions = [];

I have concerns about this implementation for bots that will need to use sharding to function. Other parts of the library use Repositories which utilize a CacheWrapper, but they also were designed to work with classes that have discriminators associated with them. An associative array isn't compatible with this system, so we'd either need to create a part out of these voice sessions or create a new structure to support them.

I'm currently leaning towards crafting a new part and implementing a new repository, but I'm open to suggestions if there is a better way.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions