fix class func missing self
This commit is contained in:
1 file changed
+1
-1
@@ -48,7 +48,7 @@ class ReforgerStats(commands.Bot):
|
|||||||
exception = f"{type(e).__name__}: {e}"
|
exception = f"{type(e).__name__}: {e}"
|
||||||
print(exception)
|
print(exception)
|
||||||
|
|
||||||
async def createLeaderboardEmbed(players: list[dict]) -> dict:
|
async def createLeaderboardEmbed(self, players: list[dict]) -> dict:
|
||||||
sorted_players = sorted(players, key=lambda a: a["kills"], reverse=True)
|
sorted_players = sorted(players, key=lambda a: a["kills"], reverse=True)
|
||||||
description = ""
|
description = ""
|
||||||
rank = 1
|
rank = 1
|
||||||
|
|||||||
Reference in new issue
Block a user