diff --git a/sugoncredit/add.png b/sugoncredit/data/add.png similarity index 100% rename from sugoncredit/add.png rename to sugoncredit/data/add.png diff --git a/sugoncredit/remove.mp4 b/sugoncredit/data/remove.mp4 similarity index 100% rename from sugoncredit/remove.mp4 rename to sugoncredit/data/remove.mp4 diff --git a/sugoncredit/sugoncredit.py b/sugoncredit/sugoncredit.py index e44d835..0b781f6 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="add.png", filename="Add") + image = discord.File(fp=f"{data_manager.bundled_data_path(SugonCredit)}/add.png", filename="Add") 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=f"{data_manager.bundled_data_path(SugonCredit)}remove.mp4", filename="MEGA_BASE") + image = discord.File(fp=f"{data_manager.bundled_data_path(SugonCredit)}/remove.mp4", filename="MEGA_BASE") 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)