Update bad looking 'diff' code blocks with 'markdown' (#6152)

Co-authored-by: Jakub Kuczys <me@jacken.men>
This commit is contained in:
Ryan Ramboer
2023-05-13 12:21:27 -05:00
committed by GitHub
parent ecb60c0856
commit 6cd7a380f4
2 changed files with 11 additions and 11 deletions

View File

@@ -279,10 +279,10 @@ class TriviaSession:
async def send_table(self):
"""Send a table of scores to the session's channel."""
table = "+ Results: \n\n"
table = "Results:\n\n"
for user, score in self.scores.most_common():
table += "+ {}\t{}\n".format(user, score)
await self.ctx.send(box(table, lang="diff"))
await self.ctx.send(box(table, lang="markdown"))
def stop(self):
"""Stop the trivia session, without showing scores."""