From a36ea4a11792f5929cc4502b7b96638ddf060ff0 Mon Sep 17 00:00:00 2001 From: Luna Date: Sun, 2 Dec 2018 22:49:08 -0300 Subject: [PATCH] blueprints.guilds: use default value for roles.color --- litecord/blueprints/guilds.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/litecord/blueprints/guilds.py b/litecord/blueprints/guilds.py index 032d07a..0208bfc 100644 --- a/litecord/blueprints/guilds.py +++ b/litecord/blueprints/guilds.py @@ -133,9 +133,9 @@ async def create_guild(): # is the same as the id of the guild, and create_role # generates a new snowflake. await app.db.execute(""" - INSERT INTO roles (id, guild_id, name, position, permissions, color) - VALUES ($1, $2, $3, $4, $5, $6) - """, guild_id, guild_id, '@everyone', 0, DEFAULT_EVERYONE_PERMS, 0) + INSERT INTO roles (id, guild_id, name, position, permissions) + VALUES ($1, $2, $3, $4, $5) + """, guild_id, guild_id, '@everyone', 0, DEFAULT_EVERYONE_PERMS) # add the @everyone role to the guild creator await app.db.execute("""