From one autistic person to another, I’m going to make it extremely clear. The primary issue here is not that you used AI to write part of your project (although it is a legitimate source of concern for some). The issue, where you fucked up, is your response. You were unnecessarily rude, offensive, and confrontational in your initial reaction, and continued acting like that once people pointed it out after you asked.
Also, as a person with ASD myself: how dare you use your condition as an excuse for your behaviour. It’s fucking shameful, and that’s the most polite I’m willing to be about it.