Add support for voice channel parties #33

Closed
wasi-master wants to merge 277 commits from master into 2.0
128 changed files with 12220 additions and 18795 deletions
Showing only changes of commit e91a0d62f7 - Show all commits

View File

@ -111,6 +111,8 @@ class Embed:
except KeyError:
default_colour = kwargs.get('color', EmptyEmbed)
colour = os.getenv("DEFAULT_EMBED_COLOR", default=default_colour)
if isinstance(colour, str):
colour = int(colour, 16)
self.colour = colour