Przeglądaj źródła

Merge branch 'development' into alpha

# Conflicts:
#	roxbot/__init__.py
tags/v2.0.0
Roxie Gibson 6 lat temu
rodzic
commit
db97b27cbb
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      roxbot/cogs/fun.py

+ 1
- 1
roxbot/cogs/fun.py Wyświetl plik

@@ -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

Ładowanie…
Anuluj
Zapisz