See eye doctor
Good that you rinsed your eye
out, and it's swollen from the scratch.
You need to see your eye doctor, as s/he can prescribe an eye ointment (prescription) that will help you if it remains swollen, and to protect against infection. Your tear film will help too, and if it's not better in the am, you can also go see your pcp for the eye ointment. This heals very quickly. Glad you aren't in any pain.