Whether or not you did the right thing depends on the context of your previous relationship and your intentions moving forward. Here are some considerations:
Respecting the No Contact Period: The fact that you didn't respond immediately shows that you respected the 10 days of no contact. This can be beneficial as it gives both of you space to process emotions and gain perspective.
Positive and Casual Response: Responding in an upbeat and casual manner can be a good approach, especially if you're trying to keep things light and friendly. It avoids escalating any potential tension and leaves room for a casual conversation.
Your Intentions: Consider why your ex reached out and why you responded the way you did. If you're genuinely open to communication and a friendly connection, your response might be appropriate. However, if you're still hurt or have reservations about reconnecting, you should be cautious in your interactions.
Communication Boundaries: Set clear boundaries for yourself and your interactions with your ex. If you don't want to rekindle the relationship or feel uncomfortable with the contact, be honest about it. If you're unsure about your feelings, take things slowly.
Emotional Readiness: Reflect on whether you are emotionally ready to engage with your ex again. Take time to consider your feelings and whether reopening communication is a healthy choice for you.
Avoid Playing Games: While waiting for 24 hours to respond might not be a significant issue, deliberately playing games or employing manipulative tactics in communication can lead to misunderstandings and hurt feelings.
Ultimately, the "right thing" is subjective and depends on your specific situation and desires. If you're unsure about how to proceed, it might be helpful to talk to a trusted friend or a professional counselor to gain some clarity. Keep in mind that healthy relationships require open communication, mutual respect, and honesty.