async def on_ready():
    """Run post-launch setup."""
    ut.log(f'{bot.user.name} has successfully connected to Discord!')

    # Ensure all guilds are in the DB (In case we joined one while not running)

    for guild in bot.guilds:
        Guild.first_or_create(id=guild.id)
    async def on_guild_join(self, guild):
        registering_id = None
        member_id = None
        for role in guild.roles:
            if role.name.lower() == "registering":
                registering_id = role.id
            if role.name.lower() == "member":
                member_id = role.id

        Guild.first_or_create(id=guild.id,
                              registering_id=registering_id,
                              member_id=member_id)