how to make a say command discord.py code example

Example 1: discord.py say something

#Discord.py rewrite
#python 3+
@bot.command(name='say_hi', help='Run this command when your lonely!')
async def sayhi(ctx):
	#This code will say "Hi, @username!"
	#this uses an 'f' befoe a string so I can input the username
	#ctx has many propertys, including .send .author and .content (there are more)
    await ctx.send(f"Hi, {ctx.author.mention}!")

Example 2: say something in discord discord.py

(Discord.py async)

await ctx.send("Say something here")