-
-
Notifications
You must be signed in to change notification settings - Fork 251
Open
Labels
enhancementfeatureshelp wantedRequesting assistance from collaboratorsRequesting assistance from collaboratorsvoice
Description
DiscordPHP/src/Discord/Discord.php
Line 217 in 113f3d0
| 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.
Metadata
Metadata
Assignees
Labels
enhancementfeatureshelp wantedRequesting assistance from collaboratorsRequesting assistance from collaboratorsvoice