mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-07 09:52:30 -05:00
Update bad looking 'diff' code blocks with 'markdown' (#6152)
Co-authored-by: Jakub Kuczys <me@jacken.men>
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user