@bot.slash()
async def counter(ctx: commands.Context):
    'Starts a counter for pressing.'
    (await ctx.send('Press!', view=EphemeralCounter()))
Starts a counter for pressing.
@bot.slash()
async def counter(ctx: commands.Context):
    
    (await ctx.send('Press!', view=EphemeralCounter()))