From 7c3bc34f7075965d780a842a0a22d10e940632c9 Mon Sep 17 00:00:00 2001 From: dave Date: Sat, 22 Jun 2019 18:45:00 +0100 Subject: [PATCH] don't mald quotes --- dave/modules/quote.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dave/modules/quote.py b/dave/modules/quote.py index 7116190..3e0016a 100644 --- a/dave/modules/quote.py +++ b/dave/modules/quote.py @@ -38,7 +38,7 @@ def quote(bot, args, sender, source): row = query.order_by(sqlrandom()).first() bot.reply(source, sender, assembleFormattedText(A.normal[ - "<{}> ".format(row.attributed.strip()) if row.attributed else "", A.bold[row.quote] + "<{}> ".format(row.attributed.strip()) if row.attributed else "", A.normal[row.quote] ])) @dave.module.help("Syntax: fq [search]. Search for a quote.") @@ -64,7 +64,7 @@ def find_quote(bot, args, sender, source): for quote in quotes: bot.reply(source, sender, assembleFormattedText(A.normal[ - "<{}> ".format(quote.attributed.strip()) if quote.attributed else "", A.bold[quote.quote] + "<{}> ".format(quote.attributed.strip()) if quote.attributed else "", A.normal[quote.quote] ])) @dave.module.help("Syntax: dq [uuid]. Allow the quote owner to delete a quote.") -- libgit2 1.7.2