This commit is contained in:
@@ -22,7 +22,7 @@ class RefreshCog(commands.Cog, name="Refresh Commands"):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
@refresh.subcommand(description="Force refresh all of the bot managed messages.")
|
@refresh.subcommand(description="Force refresh all of the bot managed messages.")
|
||||||
async def event(self, interaction: nextcord.Interaction):
|
async def messages(self, interaction: nextcord.Interaction):
|
||||||
"""
|
"""
|
||||||
Calls update_clan_messages() to update all messages.
|
Calls update_clan_messages() to update all messages.
|
||||||
|
|
||||||
@@ -30,3 +30,6 @@ class RefreshCog(commands.Cog, name="Refresh Commands"):
|
|||||||
interaction (nextcord.Interaction): Interaction with the command.
|
interaction (nextcord.Interaction): Interaction with the command.
|
||||||
"""
|
"""
|
||||||
await update_clan_messages(interaction.guild)
|
await update_clan_messages(interaction.guild)
|
||||||
|
await interaction.response.send_message(
|
||||||
|
"Messages have been refreshed.", ephemeral=True
|
||||||
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user