From ba755729ff4a164010229bb85cc7b25fb9c5b06d Mon Sep 17 00:00:00 2001 From: Joscha Date: Sat, 25 Aug 2018 18:33:39 +0000 Subject: [PATCH] Fix replace bug --- wtf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wtf.py b/wtf.py index 837e1d1..c73070d 100644 --- a/wtf.py +++ b/wtf.py @@ -136,7 +136,7 @@ class Wtf: term = await self.db.get(aid) print(term) if term is None: - await room.send("No explanation with that od {aid} exists.") + await room.send(f"No explanation with id {aid} exists.", message.mid) else: await self.db.delete(aid) logger.info(f"{mention(message.sender.nick)} deleted explanation with id {aid}")