update
This commit is contained in:
parent
b058b4730c
commit
777c95aab2
@ -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__)
|
||||
|
||||
|
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user