mirror of
https://github.com/Paillat-dev/pycord-reactive-views.git
synced 2026-01-02 01:06:18 +00:00
✨ Update view to support ephemeral responses
This commit is contained in:
@@ -50,7 +50,7 @@ class Counter(ReactiveView):
|
||||
@bot.slash_command()
|
||||
async def counter(ctx: discord.ApplicationContext) -> None:
|
||||
"""Send the counter view."""
|
||||
await Counter().send(ctx)
|
||||
await Counter().send(ctx, ephemeral=True)
|
||||
|
||||
|
||||
bot.run(os.getenv("TOKEN"))
|
||||
bot.run(os.getenv("TOKEN_2"))
|
||||
|
||||
Reference in New Issue
Block a user