diff --git a/plugins/valuesounds.py b/plugins/valuesounds.py index 572a545..4eb60ec 100644 --- a/plugins/valuesounds.py +++ b/plugins/valuesounds.py @@ -10,7 +10,7 @@ def get_sound_info(game, search): except HTTPError as e: return "Error: " + json.loads(e.read())["error"] items = [] - for item in data: + for item in data["items"]: if "music" in game: textsplit = item["text"].split('"') text = ""