fix /palworld embed drops section

This commit is contained in:
Luke Robles 2024-01-28 10:54:15 -08:00
parent cadd750e0c
commit 1eb833098c

View File

@ -146,8 +146,11 @@ class PalWorld(commands.Cog):
"div",
class_="inline-flex flex-col gap-1 items-center bg-black-300 border border-amber-300 break-all p-2",
):
item = div.text
item_name = item.split("Quantity")[0].split("Drop Chance")
amount = item.split("Quantity")[-1].split("Drop Chance")
embed.add_field(
name=div.text.split("Quantity")[0],
name=" ".join(item_name),
value="",
inline=False,
)