This commit is contained in:
Seaswimmer 2023-03-06 22:25:04 -05:00
parent d0822ce4b1
commit 59305ba1f8
3 changed files with 2 additions and 2 deletions

View file

Before

Width:  |  Height:  |  Size: 116 KiB

After

Width:  |  Height:  |  Size: 116 KiB

View file

@ -40,7 +40,7 @@ class SugonCredit(commands.Cog):
except ValueError: except ValueError:
await ctx.send(content="``amount`` must be a number! Please try again.") await ctx.send(content="``amount`` must be a number! Please try again.")
return 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) bank_name = await bank.get_bank_name(ctx.guild)
currency_name = await bank.get_currency_name(ctx.guild) currency_name = await bank.get_currency_name(ctx.guild)
current_bal = await bank.get_balance(target) current_bal = await bank.get_balance(target)
@ -80,7 +80,7 @@ class SugonCredit(commands.Cog):
except ValueError: except ValueError:
await ctx.send(content="``amount`` must be a number. Please try again!") await ctx.send(content="``amount`` must be a number. Please try again!")
return 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) bank_name = await bank.get_bank_name(ctx.guild)
currency_name = await bank.get_currency_name(ctx.guild) currency_name = await bank.get_currency_name(ctx.guild)
current_bal = await bank.get_balance(target) current_bal = await bank.get_balance(target)