Skip to content

Commit

Permalink
拡張子修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Syunngiku0402 authored Sep 17, 2024
1 parent 11fbcd3 commit f3198c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cogs/cpackmcmeta.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ async def datapacks(self, interaction: discord.Interaction):
body.append((v.dp, DP_ALL_VERSIONS[i], k))
i += 1

file = discord.File(os.path.join(os.getenv("BASE_DIR", "."), "assets/dp.json"), filename="dp.png")
file = discord.File(os.path.join(os.getenv("BASE_DIR", "."), "assets/dp.png"), filename="dp.png")

embed = discord.Embed(title="データパックバージョン一覧")
embed.set_image(url="attachment://dp.png")
Expand All @@ -241,7 +241,7 @@ async def resourcepacks(self, interaction: discord.Interaction):
body.append((v.rp, RP_ALL_VERSIONS[i], k))
i += 1

file = discord.File(os.path.join(os.getenv("BASE_DIR", "."), "assets/rp.json"), filename="rp.png")
file = discord.File(os.path.join(os.getenv("BASE_DIR", "."), "assets/rp.png"), filename="rp.png")

embed = discord.Embed(title="リソースパックバージョン一覧")
embed.set_image(url="attachment://rp.png")
Expand Down

0 comments on commit f3198c8

Please sign in to comment.