Why does it say await is an invalid syntax?
For some reason, even though I have been using 'await' in all the code from lines 15-72, it says await is an invalid syntax. I found the lines
76-80 online and if you see anything wrong with lines 76-80 in the image below please tell me. I have taken the code off my script as it isn't working at the moment but the code is in this picture
seems like you forgot an
) at the end of line
80. Try doing that.
'role' == discord.utils.get(server.roles, name="Admin") # added )
That should work