[Trivia] Fix text formatting issue (#2269)

The "Question number {}" message was being emboldened twice from the left side, making the bot send messages with two redundant asterisks.
This commit is contained in:
FixedThink 2018-11-05 22:58:10 +01:00 committed by Toby Harradine
parent a59002275d
commit 451c4c9d54

View File

@ -114,7 +114,7 @@ class TriviaSession:
async with self.ctx.typing(): async with self.ctx.typing():
await asyncio.sleep(3) await asyncio.sleep(3)
self.count += 1 self.count += 1
msg = bold(_("**Question number {num}!").format(num=self.count)) + "\n\n" + question msg = bold(_("Question number {num}!").format(num=self.count)) + "\n\n" + question
await self.ctx.send(msg) await self.ctx.send(msg)
continue_ = await self.wait_for_answer(answers, delay, timeout) continue_ = await self.wait_for_answer(answers, delay, timeout)
if continue_ is False: if continue_ is False: