Compare commits

...
1 Commits
Author SHA1 Message Date
imcompiling 370bd71154 The defer needs to be ephemeral too.
build_latest / build (push) Successful in 57s
build_release / build (push) Successful in 22s
2024-05-16 09:55:33 -04:00
+1 -1
View File
@@ -29,6 +29,6 @@ class RefreshCog(commands.Cog, name="Refresh Commands"):
Args: Args:
interaction (nextcord.Interaction): Interaction with the command. interaction (nextcord.Interaction): Interaction with the command.
""" """
await interaction.response.defer() await interaction.response.defer(ephemeral=True)
await update_clan_messages(interaction.guild) await update_clan_messages(interaction.guild)
await interaction.followup.send("Messages have been refreshed.", ephemeral=True) await interaction.followup.send("Messages have been refreshed.", ephemeral=True)