The defer needs to be ephemeral too.
This commit is contained in:
@@ -29,6 +29,6 @@ class RefreshCog(commands.Cog, name="Refresh Commands"):
|
||||
Args:
|
||||
interaction (nextcord.Interaction): Interaction with the command.
|
||||
"""
|
||||
await interaction.response.defer()
|
||||
await interaction.response.defer(ephemeral=True)
|
||||
await update_clan_messages(interaction.guild)
|
||||
await interaction.followup.send("Messages have been refreshed.", ephemeral=True)
|
||||
|
||||
Reference in New Issue
Block a user