fix(art): don't specify the file name so the file embeds properly

This commit is contained in:
Seaswimmer 2023-12-28 10:08:46 -05:00
parent 1ae7dbe44c
commit 1611bfa180
Signed by untrusted user: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -40,7 +40,7 @@ class Art(commands.Cog):
if art_submission_channel is None:
await interaction.followup.send("Art submission channel not set. Report this error to the server administrators.", ephemeral=True)
return
await art_submission_channel.send(f"Art submission from {interaction.user.mention} ({interaction.user.id}):", file=await art.to_file(filename=str(interaction.user.id)))
await art_submission_channel.send(f"Art submission from {interaction.user.mention} ({interaction.user.id}):", file=await art.to_file())
await interaction.followup.send("Art submitted.", ephemeral=True)
@commands.group()