Compare commits

...
2 Commits
Author SHA1 Message Date
imcompiling e1be3218b3 Add expose to see if that fixes issue.
build_develop / build (push) Successful in 1m10s
2024-05-15 20:40:31 -04:00
imcompiling dfd4ef9347 Need to defer followup on refresh because it takes a while. 2024-05-15 17:27:35 -04:00
2 changed files with 5 additions and 3 deletions
+3
View File
@@ -20,4 +20,7 @@ COPY database_setup database_setup/
RUN pip install -r requirements.txt
# Expose to outside of container
EXPOSE 5000
CMD ["python3", "-u", "./main.py"]
+2 -3
View File
@@ -29,7 +29,6 @@ class RefreshCog(commands.Cog, name="Refresh Commands"):
Args:
interaction (nextcord.Interaction): Interaction with the command.
"""
await interaction.response.defer()
await update_clan_messages(interaction.guild)
await interaction.response.send_message(
"Messages have been refreshed.", ephemeral=True
)
await interaction.followup.send("Messages have been refreshed.", ephemeral=True)