This commit is contained in:
iDutchy 2020-11-24 17:17:25 -06:00
parent b058b4730c
commit 777c95aab2
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ __title__ = 'discord'
__author__ = 'Rapptz'
__license__ = 'MIT'
__copyright__ = 'Copyright 2015-2020 Rapptz'
__version__ = '1.5.1.6a'
__version__ = '1.5.1.6'
__path__ = __import__('pkgutil').extend_path(__path__, __name__)

View File

@ -122,7 +122,7 @@ class Colour:
@classmethod
def random(cls):
"""A factory method that returns a :class:`Colour` with a random value."""
return cls.from_hsv(random.random(), 1, 1)
return cls(random.randint(0x000000,0xffffff))
@classmethod
def default(cls):