Make slash error message ephemeral

Stijn De Clercq 2021-09-07 18:03:18 +02:00
parent 4782d16177
commit 90d0687513
1 changed files with 1 additions and 1 deletions

View File

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