We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b2f434 commit 0c6ad95Copy full SHA for 0c6ad95
1 file changed
cloudbot/util/colors.py
@@ -92,7 +92,7 @@ def get_color(colour, return_formatted=True):
92
raise KeyError("The colour '{}' is not in the list of available colours.".format(colour))
93
94
if colour == "random": # Special keyword for a random colour
95
- rand = randint(0, 16)
+ rand = randint(0, 15)
96
if rand < 10: # Prepend '0' before colour so it always is double digits.
97
rand = "0" + str(rand)
98
rand = str(rand)
0 commit comments