fix(art): fixed art trying to use an int instead of string for filename
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 43s
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 43s
This commit is contained in:
parent
14c068c206
commit
1ae7dbe44c
1 changed files with 1 additions and 1 deletions
|
@ -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}):", file=await art.to_file(filename=interaction.user.id))
|
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 interaction.followup.send("Art submitted.", ephemeral=True)
|
await interaction.followup.send("Art submitted.", ephemeral=True)
|
||||||
|
|
||||||
@commands.group()
|
@commands.group()
|
||||||
|
|
Loading…
Reference in a new issue