Skip to content
Snippets Groups Projects
Commit cdb91aaa authored by dnns01's avatar dnns01
Browse files

Fix leaderboard

parent 1a2f3715
No related branches found
No related tags found
No related merge requests found
......@@ -546,13 +546,14 @@ class ElmStreet(commands.GroupCog, name="elm"):
if 0 < max_entries < place:
if ready:
break
message += f"{str(place).rjust(4)}. | {str(value).rjust(5)} | {member.display_name}#{member.discriminator}\n"
message += escape_markdown(f"{str(place).rjust(4)}. | {str(value).rjust(5)} | "
f"{member.display_name}#{member.discriminator}\n")
except:
pass
message += f"```"
return escape_markdown(message)
return message
async def get_group_stats_embed(self, thread_id):
thread = await self.bot.fetch_channel(thread_id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment