Update view to support ephemeral responses

This commit is contained in:
2025-03-29 16:24:37 +01:00
parent ebf958434c
commit 09d147de9d
2 changed files with 12 additions and 9 deletions

View File

@@ -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"))