瀏覽代碼

Merge branch 'development' into alpha

# Conflicts:
#	roxbot/__init__.py
tags/v2.0.0
Roxie Gibson 6 年之前
父節點
當前提交
db97b27cbb
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      roxbot/cogs/fun.py

+ 1
- 1
roxbot/cogs/fun.py 查看文件

@@ -92,7 +92,7 @@ class Fun:

m = re.findall('(-?)((?:(\d*)d(\d+))|\d+)(r\d+)?([h,l]{1}\d+)?', parts[0])

if m: # either no arguments, or the expression contained nothing that could be seen as a number or roll
if not m: # either no arguments, or the expression contained nothing that could be seen as a number or roll
return await ctx.send("Expression missing. If you are unsure of what the format should be, please use `{}help roll`".format(ctx.prefix))

dice = [] # this is the list of all dice sets to be rolled

Loading…
取消
儲存