syntax error with Async
Archived 4 years ago
T
bagel catboy
syntax error, need help
#The function
@tree.command(name = "username", description = "Generate a random Username")
async def username(interaction):
#code here
#The error
async def username(interaction):
^
SyntaxError: invalid syntax
#Info:
#Visual Studio Code Insiders, 3.8.2 64 bit python, Code Runner
