diff options
| author | 2018-09-01 10:52:04 +0100 | |
|---|---|---|
| committer | 2018-09-01 10:52:04 +0100 | |
| commit | 0a96a79077d82de51533d914296b7a51ca19eb3b (patch) | |
| tree | b54e7e267afb46fab572cea0d78de44529b91ee1 /modules/dice.py | |
| parent | Formatting request (#14) (diff) | |
| signature | ||
Cosmetic enhancement for ducks and dice.
Diffstat (limited to 'modules/dice.py')
| -rw-r--r-- | modules/dice.py | 8 |
1 files changed, 4 insertions, 4 deletions
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) |
