Skip to content

Commit

Permalink
Warning message added
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawnDriscoll committed Oct 16, 2020
1 parent c6f0f86 commit 7305389
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/source/diceroll.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,9 @@ def roll(dice):
elif dice_type == 'D00' and num_dice == 1:
log.warning('D00 was deprecated in 1.9. Use D100 instead.')
diceroll_log.warning('D00 was deprecated in 1.9. Use D100 instead.')
print
print Fore.YELLOW + Style.BRIGHT + 'WARNING: D00 was deprecated in 1.9. Use D100 instead.'
print Fore.RESET + Back.RESET + Style.RESET_ALL
dice_type = 'D100'
roll_1 = (_dierolls(10, 1) - 1) * 10
roll_2 = _dierolls(10, 1)
Expand Down

0 comments on commit 7305389

Please sign in to comment.