Fix for corrupted command in cache
@@ -265,7 +265,7 @@ class Client:
await create(payload)
cached_commands: List[dict] = [command for command in self.http.cache.interactions.view]
- cached_command_names = [command["name"] for command in cached_commands]
+ cached_command_names = [command.get("name") for command in cached_commands if command.get("name")]
if cached_commands:
for command in commands:
