diff --git a/src/cogs/quote_quota.py b/src/cogs/quote_quota.py index bf56c9b..6b508b4 100644 --- a/src/cogs/quote_quota.py +++ b/src/cogs/quote_quota.py @@ -272,7 +272,7 @@ class QuoteQuota(commands.Cog): file = io.BytesIO() plt.savefig(file, format="jpg") file.seek(0) - return discord.File(file, "truths.jpg") + return discord.File(file, "truths.png") async def _process_all_messages(self, channel: discord.TextChannel) -> tuple[discord.Embed, discord.File]: """ @@ -312,7 +312,7 @@ class QuoteQuota(commands.Cog): for stat_k, stat_v in tate_stats["hours"].items(): hours[stat_k] += stat_v graph = await asyncio.to_thread(self._generate_truth_frequency_graph, hours) - embed.set_image(url="attachment://truths.jpg") + embed.set_image(url="attachment://truths.png") return embed, graph @commands.slash_command(name="truths")