Skip to content

Commit 60303e6

Browse files
committed
remove \ because escaping the — was not needed
1 parent 84b497f commit 60303e6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bot/utils/quote.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ async def random_quote(bot: Bot) -> str:
2626
async with bot.http_session.get(RANDOM_QUOTE_URL) as response:
2727
response.raise_for_status()
2828
data = await response.json()
29-
quote = f"{data[0]['q']}\n*\\{data[0]['a']}*"
29+
quote = f"{data[0]['q']}\n*— {data[0]['a']}*"
3030
return quote
3131

3232

@@ -43,7 +43,7 @@ async def daily_quote(bot: Bot) -> str:
4343
async with bot.http_session.get(DAILY_QUOTE_URL) as resp:
4444
resp.raise_for_status()
4545
data = await resp.json()
46-
quote = f"{data[0]['q']}\n*\\{data[0]['a']}*"
46+
quote = f"{data[0]['q']}\n*— {data[0]['a']}*"
4747

4848
ttl = seconds_until_midnight_utc()
4949

0 commit comments

Comments
 (0)