#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}!")