Don't cache SoundboardSound when Intents.expressions is disabled

This commit is contained in:
Rapptz
2026-03-14 11:29:38 -04:00
parent 108e9abb52
commit 14b2c1afd3
2 changed files with 2 additions and 2 deletions

View File

@@ -279,7 +279,7 @@ class ConnectionState(Generic[ClientT]):
# So this is checked instead, it's a small penalty to pay
@property
def cache_guild_expressions(self) -> bool:
return self._intents.emojis_and_stickers
return self._intents.expressions
async def close(self) -> None:
for voice in self.voice_clients: