fix /palworld embed drops section
This commit is contained in:
parent
cadd750e0c
commit
1eb833098c
@ -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,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user