@commands.cooldown(1, 30, commands.BucketType.user)
async def test(ctx, command=None):
if command is None:
await ctx.send('I want this to ignore cooldown')
ctx.command.reset_cooldown(ctx)
# reset_cooldown is an attribute of `Command`, not `function`
elif command.lower() == '2':
await ctx.send('I want this to have a Cooldown')