discord py owner only commands

Solutions on MaxInterview for discord py owner only commands by the best coders in the world

showing results for - "discord py owner only commands"
Paulina
28 Apr 2019
1# Make sure you don't have a command called "commands"
2@client.command() # As usual
3@commands.is_owner() # Making sure the person executing the command is the owner
4async def foo(ctx):
5	await ctx.send("Hello")
6    #ect