From d62580b5c1f99bdf740d5cca53a19a067b041b7c Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 6 Mar 2023 23:03:37 -0500 Subject: [PATCH] fixed file names --- sugoncredit/sugoncredit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sugoncredit/sugoncredit.py b/sugoncredit/sugoncredit.py index f912728..902ab2a 100644 --- a/sugoncredit/sugoncredit.py +++ b/sugoncredit/sugoncredit.py @@ -40,7 +40,7 @@ class SugonCredit(commands.Cog): except ValueError: await ctx.send(content="``amount`` must be a number! Please try again.") return - image = discord.File(fp=data_manager.bundled_data_path(self) / "add.png", filename="Add") + image = discord.File(fp=data_manager.bundled_data_path(self) / "add.png", filename="Add.png") bank_name = await bank.get_bank_name(ctx.guild) currency_name = await bank.get_currency_name(ctx.guild) current_bal = await bank.get_balance(target) @@ -80,7 +80,7 @@ class SugonCredit(commands.Cog): except ValueError: await ctx.send(content="``amount`` must be a number. Please try again!") return - image = discord.File(fp=data_manager.bundled_data_path(self) / "remove.mp4", filename="MEGA_BASE") + image = discord.File(fp=data_manager.bundled_data_path(self) / "remove.mp4", filename="MEGA_BASE.mp4") bank_name = await bank.get_bank_name(ctx.guild) currency_name = await bank.get_currency_name(ctx.guild) current_bal = await bank.get_balance(target)