how to let only admins do a command in discord.py code example
Example: how to let only admins do a command in discord.py
@commands.has_permissions(administrator=True)
@client.command()
async def admins_only_command(ctx, *, args):
# ur code
@commands.has_permissions(administrator=True)
@client.command()
async def admins_only_command(ctx, *, args):
# ur code