From 0a96a79077d82de51533d914296b7a51ca19eb3b Mon Sep 17 00:00:00 2001 From: dngfx Date: Sat, 1 Sep 2018 10:52:04 +0100 Subject: Cosmetic enhancement for ducks and dice. --- modules/dice.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/dice.py') diff --git a/modules/dice.py b/modules/dice.py index 9862b172..2829cf48 100644 --- a/modules/dice.py +++ b/modules/dice.py @@ -1,5 +1,5 @@ import random - +import Utils class Module(object): def __init__(self, bot, events): @@ -38,6 +38,6 @@ class Module(object): total = sum(results) results = ', '.join(map(str, results)) - event["stdout"].write("Rolled " + str_roll + " for a total " - + "of " + str(total) - + ": [" + results + "]") + event["stdout"].write("Rolled " + Utils.bold(str_roll) + " for a total " + + "of " + Utils.bold(str(total)) + + ": " + results) -- cgit v1.3.1-10-gc9f91