I have added this code:
@client.command(pass_context=True)
async def name(ctx):
username = ctx.message.author.display_name
On to the end of my line of code, and I get this error when trying to get the bot online:
AttributeError: 'Client' object has no attribute 'command'