From 0396911c5625b907792c740ab11a4c8916da711d Mon Sep 17 00:00:00 2001
From: projectmoon tags in dice roll outputs.
---
src/commands/basic_rolling.rs | 2 +-
src/commands/cofd.rs | 2 +-
src/commands/cthulhu.rs | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/commands/basic_rolling.rs b/src/commands/basic_rolling.rs
index 4375e55..ed74619 100644
--- a/src/commands/basic_rolling.rs
+++ b/src/commands/basic_rolling.rs
@@ -15,7 +15,7 @@ impl Command for RollCommand {
async fn execute(&self, _ctx: &Context<'_>) -> ExecutionResult {
let roll = self.0.roll();
let html = format!(
- " Dice: {} Result: {}
Result: {}", self.0, roll ); diff --git a/src/commands/cofd.rs b/src/commands/cofd.rs index 781f364..fed3b63 100644 --- a/src/commands/cofd.rs +++ b/src/commands/cofd.rs @@ -16,7 +16,7 @@ impl Command for PoolRollCommand { let rolled_pool = roll_pool(&pool_with_ctx).await?; let html = format!( - "
Pool: {}
Result: {}
", + "Pool: {}Result: {}", rolled_pool, rolled_pool.roll ); diff --git a/src/commands/cthulhu.rs b/src/commands/cthulhu.rs index 11f99ca..86a83de 100644 --- a/src/commands/cthulhu.rs +++ b/src/commands/cthulhu.rs @@ -19,7 +19,7 @@ impl Command for CthRoll { let executed_roll = regular_roll(&roll_with_ctx).await?; let html = format!( - "
Roll: {}
Result: {}
", + "Roll: {}Result: {}", executed_roll, executed_roll.roll ); @@ -39,7 +39,7 @@ impl Command for CthAdvanceRoll { let roll_with_ctx = AdvancementRollWithContext(&self.0, ctx); let executed_roll = advancement_roll(&roll_with_ctx).await?; let html = format!( - "
Roll: {}
Result: {}
", + "Roll: {}Result: {}", executed_roll, executed_roll.roll );