SELECT guild_id, user_id, color, hoist, icon, id, managed, mentionable, name, permissions, position, tags_bot_id, tags_integration_id, tags_premium_subscriber, unicode_emoji FROM roles WHERE id IN (SELECT DISTINCT id FROM roles WHERE guild_id = $1)