From f848de8f9838e7595293d1af1336e716299001b1 Mon Sep 17 00:00:00 2001 From: Joscha Date: Sat, 4 Aug 2018 21:42:18 +0000 Subject: [PATCH] Change dashes to em dashes --- wtf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wtf.py b/wtf.py index 443599a..404ac66 100644 --- a/wtf.py +++ b/wtf.py @@ -87,7 +87,7 @@ class Wtf: explanations = await self.db.find(acronym) if explanations: # Acronym, Explanation - lines = [f"{a} - {e}" for a, e in explanations] + lines = [f"{a} — {e}" for a, e in explanations] text = "\n".join(lines) await room.send(text, message.mid) else: @@ -97,7 +97,7 @@ class Wtf: acronym = match_add.group(1) explanation = match_add.group(2).strip() await self.db.add(acronym, explanation, message.sender.nick) - await room.send(f"Added explanation: {acronym} - {explanation}", message.mid) + await room.send(f"Added explanation: {acronym} — {explanation}", message.mid) logger.INFO(f"{mention(message.sender.nick)} added explanation: {acronym} - {explanation}") elif match_detail: @@ -105,7 +105,7 @@ class Wtf: explanations = await self.db.find_full(acronym) if explanations: # Id, Acronym, Explanation, aUthor - lines = [f"{i}: {a} - {e} (by {mention(u, ping=False)})" for i, a, e, u in explanations] + lines = [f"{i}: {a} — {e} (by {mention(u, ping=False)})" for i, a, e, u in explanations] text = "\n".join(lines) await room.send(text, message.mid) else: