blueprints.guilds: use default value for roles.color

This commit is contained in:
Luna 2018-12-02 22:49:08 -03:00
parent a0129da198
commit a36ea4a117
1 changed files with 3 additions and 3 deletions

View File

@ -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("""