@bot.command()
async def confirm(ctx):
    answer = (await ButtonConfirm('Confirm?').prompt(ctx))
    (await ctx.send(f'You said: {answer}'))
@bot.command()
async def confirm(ctx):
    answer = (await ButtonConfirm('Confirm?').prompt(ctx))
    (await ctx.send(f'You said: {answer}'))