syntax error with Async
Archived 3 years ago
P
1.618033988749894848204586834365
syntax error, need help
```py
#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
```
