From da183a97ae38e6bd9b07ba883145c19634165ede Mon Sep 17 00:00:00 2001 From: jodhus Date: Fri, 12 Jul 2024 23:44:26 -0400 Subject: [PATCH] Due to bug in HTML formatting in emotes with element.io, removing it for now. --- src/tomservobot/chance.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/tomservobot/chance.py b/src/tomservobot/chance.py index 79b7ee6..8ba7a6c 100644 --- a/src/tomservobot/chance.py +++ b/src/tomservobot/chance.py @@ -169,10 +169,9 @@ class ChanceModule(Module): await ctx.client.send_message( ctx.room, ( - f"rolls {dice_parts[0]}d{dice_parts[1]} " - f"with a count of {total}. He then " - f"{action} {modifier} for a final count " - f"of {new_total}." + f"rolls {dice_parts[0]}d{dice_parts[1]} with a count of " + f"{total}. He then {action} {modifier} for a final count " + f"of {new_total}." ), reply_to=ctx.message, message_type="m.emote", @@ -183,8 +182,8 @@ class ChanceModule(Module): await ctx.client.send_message( ctx.room, ( - f"rolls {dice_parts[0]}d{dice_parts[1]} " - f"and the final count is {total}." + f"rolls {dice_parts[0]}d{dice_parts[1]} and the final count " + f"is {total}." ), reply_to=ctx.message, message_type="m.emote",