fix(art): use file, not files
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 42s

This commit is contained in:
Seaswimmer 2023-12-28 10:05:03 -05:00
parent a9dc3b5747
commit 02a68b726c
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

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