Respuesta :

Yes, you put a comma before but because there are two independent clauses that are stated.
Hope this helps!
You do. "Not to be rude or anything, but why did you text me?"