Ask coding questions

← Back to all posts
Cowcraft bot
Cowcraft (0)

Hi im creating a discord bot and when i run it it gives me: File "main.py", line 16
await message.channel.send ('hi!')
^
SyntaxError: 'await' outside function
what can i do?