Due to bug in HTML formatting in emotes with element.io, removing it for now.

This commit is contained in:
Josh W 2024-07-12 23:44:26 -04:00
parent 7941dd5619
commit da183a97ae

View file

@ -169,10 +169,9 @@ class ChanceModule(Module):
await ctx.client.send_message( await ctx.client.send_message(
ctx.room, ctx.room,
( (
f"rolls <strong>{dice_parts[0]}d{dice_parts[1]}</strong> " f"rolls {dice_parts[0]}d{dice_parts[1]} with a count of "
f"with a count of <strong>{total}</strong>. He then " f"{total}. He then {action} {modifier} for a final count "
f"<strong>{action} {modifier}</strong> for a final count " f"of {new_total}."
f"of <strong>{new_total}</strong>."
), ),
reply_to=ctx.message, reply_to=ctx.message,
message_type="m.emote", message_type="m.emote",
@ -183,8 +182,8 @@ class ChanceModule(Module):
await ctx.client.send_message( await ctx.client.send_message(
ctx.room, ctx.room,
( (
f"rolls <strong>{dice_parts[0]}d{dice_parts[1]}</strong> " f"rolls {dice_parts[0]}d{dice_parts[1]} and the final count "
f"and the final count is <strong>{total}</strong>." f"is {total}."
), ),
reply_to=ctx.message, reply_to=ctx.message,
message_type="m.emote", message_type="m.emote",