effects of THC edibles

does anyone know if THC edibles affect epileptics? i’m 19 and have epilepsy which is controlled by meds, and recently ate my first edible with my friend. i got really paranoid a few hours later, really dizzy and shaky, heart was racing. and my friend said i was just having a “bad trip” but the whole time i felt really weird and genuinely felt like i was going to have a seizure. i usually know and feel when a seizure is coming on, and i felt like i was about to have one but didn’t end up having one. my friend calmed me down for a bit and i ended up sleeping it off, woke up to take my meds, and felt fine the morning. but does anyone know if THC edibles affect epilepsy? it was a 2oz. rice crispy treat with 100mg of THC for reference. i was also hitting my nicotine vape which i don’t know if nicotine can cause negative affects when using THC🤷‍♀️