From 90d0687513e1ab5a6b72f1df6ab40ac682693c9a Mon Sep 17 00:00:00 2001 From: Stijn De Clercq Date: Tue, 7 Sep 2021 18:03:18 +0200 Subject: [PATCH] Make slash error message ephemeral --- cogs/slash/football_slash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/slash/football_slash.py b/cogs/slash/football_slash.py index d5a7283..b6580c1 100644 --- a/cogs/slash/football_slash.py +++ b/cogs/slash/football_slash.py @@ -33,7 +33,7 @@ class FootballSlash(commands.Cog): @_jpl_group.sub_command(name="update", description="Update de code voor deze competitie (owner-only)") async def _jpl_update_slash(self, interaction: SlashInteraction): if not await checks.isMe(interaction): - return await interaction.reply(f"Je hebt geen toegang tot dit commando.") + return await interaction.reply(f"Je hebt geen toegang tot dit commando.", ephemeral=True) code = get_jpl_code() config.config("jpl", code)