Skip to content

Commit

Permalink
fixed characters button, it you know... actually works now
Browse files Browse the repository at this point in the history
  • Loading branch information
THEGOLDENPRO committed Sep 7, 2023
1 parent f3d83af commit a2bd883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ async def send_anime(self, platter: GoldyBot.GoldPlatter, search_id: int) -> Non
label = x["character"]["name"],
value = x["character"]["mal_id"],
description = f"Role: {x['role']} | Favorites: {x['favorites']}"
) for x in characters_result["data"]
) for x in sorted(characters_result["data"], key = lambda d: d["favorites"], reverse = True)
]
)
],
Expand Down

0 comments on commit a2bd883

Please sign in to comment.