RadBlueDawg / Squire-Discord-Bot

MIT License
0 stars 0 forks source link

!roll disadvantage Displays the higher number #14

Closed RadBlueDawg closed 3 years ago

RadBlueDawg commented 4 years ago

Annotation 2020-08-06 204439

RadBlueDawg commented 4 years ago

In the roll_dice command, both the advantage and disadvantage handlers sort the dice rolls using the following line:

DICE_RESULT.sort(reverse=True)

For disadvantage, it should be reverse=False or that parameter shouldn't even be there. Probably a copy/paste issue when I wrote it originally.

RadBlueDawg commented 4 years ago

Fixed in dev