소스 검색

removed useless format.

tags/v1.8.0
Roxie Gibson 6 년 전
부모
커밋
11c51afd6d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      roxbot/cogs/fun.py

+ 1
- 1
roxbot/cogs/fun.py 파일 보기

@@ -114,7 +114,7 @@ class Fun:
else: # its a XdY type unknown if it has r,h,l modifyers, but they dont matter when sorting out the number and sides of dice
temp[1] = int(item[2])
if temp[1] > max_dice: # if there are an unreasonable number of dice, error out. almost no-one needs to roll 9999d20
return await ctx.send("I can't do that. (Too many dice to roll, max {})".format(ctx.author, max_dice))
return await ctx.send("I can't do that. (Too many dice to roll, max {})".format(max_dice))
if temp[1] > max_verbose and roll_verbose: # if there is a sub expression that involves lots of rolls then turn off verbose mode
roll_verbose = False
response += '*Warning:* large number of rolls detected, will not use verbose rolling.\n'

Loading…
취소
저장