discord.py make command admin only

# Make sure you don't have a command called "commands"
@client.command() # As usual
@commands.has_permissions(administrator=True) # Making sure the person executing the command has the permissions
async def foo(ctx):
	await ctx.send("Hello")
    #ect

Here is what the above code is Doing:
1. It’s creating a command called “foo”
2. It’s making sure that the person executing the command has the administrator permission
3. It’s sending a message saying “Hello”

Now, you can do this with any command you want.

I hope this helped!

-Kaz