1
0
mirror of https://github.com/MrDetonia/Maki.git synced 2024-11-22 11:54:16 -05:00

v1.0.9 updated roll response

This commit is contained in:
Zac Herd 2018-01-27 12:09:56 +00:00
parent 20a314362d
commit d6f7638b2c
2 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ def cmd_roll(client, msg):
for i in range(nums[0]): for i in range(nums[0]):
rollsum += random.randint(1, nums[1]) rollsum += random.randint(1, nums[1])
response = "Using `{}d{}` you rolled: `{}`".format(nums[0], nums[1], rollsum) response = "Using `{}d{}`, {} rolled: `{}`".format(nums[0], nums[1], msg.author.display_name, rollsum)
else: else:
response = "Expected format: `<num>d<value>`" response = "Expected format: `<num>d<value>`"

View File

@ -13,7 +13,7 @@ import json
# bot version # bot version
version = "v1.0.8" version = "v1.0.9"
# TODO: generate this on the fly and make it look acceptable # TODO: generate this on the fly and make it look acceptable