Add support for voice channel parties #33

Closed
wasi-master wants to merge 277 commits from master into 2.0
112 changed files with 10134 additions and 6513 deletions
Showing only changes of commit 777c95aab2 - Show all commits

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):