I am trying to make a hug command when a user @ another user but it shows a syntax error that 'await' is outside function. Here is the code :-
async def hug(ctx, member):
username = ctx.message.author.display_name
embed = discord.Embed(title = (f'{username} has sent a hug to {member}!'), description = ('comforting isn't it <3'), color = 0x83B5E3)
image = ('https://tenor.com/N4Sj.gif')
embed.set_image(url=image)
await ctx.channel.send(embed=embed)```