I\'m new to python. I keep getting this error in an async function. I assume it has to do with scoping errors but I cannot figure out how to fix it.
My code: