From 1ae7dbe44c02d99bc0bfaab1b8ba6b89c63a420d Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 28 Dec 2023 10:07:50 -0500 Subject: [PATCH] fix(art): fixed art trying to use an int instead of string for filename --- art/art.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/art/art.py b/art/art.py index 7adde1c..09c1d75 100644 --- a/art/art.py +++ b/art/art.py @@ -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=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) @commands.group()