@client.command( pass_context = True )
@commands.has_permissions( administrator = True )
async def clear( ctx, amount = 1000 ):
await ctx.channel.purge( Limit = amount + 1 )
Traceback (most recent call last):
File "allax.py", line 9, in <module>
@client.command( pass_context = True )
NameError: name 'client' is not defined