'await' outside function error
abriani434

I've encountered a very frustrating delay. I'm using the python environment and I'm having an error saying "SyntaxError: 'await' outside function". Does anyone know how to fix this?

You are viewing a single comment. View All
abriani434

@Coder100 @InvisibleOne @VulcanWM thanks :) i'll try these and see if they work

abriani434

ok - well, the error doesn't show up anymore, but now the bot won't respond to the ay!newr and ay!delr commands. (newr stands for 'new roast' and delr stands for 'delete roast')

Does anyone have any fixes for this?


VulcanWM

That’s because you haven’t made a function for them @abriani434

abriani434

@VulcanWM oh i see .-. im very very new at this so uh i dont know that much - how do i make a function?