mirror of
https://github.com/stijndcl/didier.git
synced 2026-06-29 17:39:57 +02:00
Make slash error message ephemeral
This commit is contained in:
parent
4782d16177
commit
90d0687513
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue