From 0da18aa86dc55a6517e3aee0b318529b247e6526 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sat, 17 Nov 2018 12:26:21 +0000 Subject: now i see why it was %s not %d --- modules/dice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/dice.py b/modules/dice.py index 48c0f920..6eed276e 100644 --- a/modules/dice.py +++ b/modules/dice.py @@ -25,5 +25,5 @@ class Module(ModuleManager.BaseModule): if len(results) > 1: total = " (total: %d)" % total_n - event["stdout"].write("Rolled %s and got %d%s" % ( - roll, total_n, ", ".join(str(r) for r in results))) + event["stdout"].write("Rolled %s and got %s%s" % ( + roll, ", ".join(str(r) for r in results), total)) -- cgit v1.3.1-10-gc9f91