add partner skill to the embed
This commit is contained in:
parent
bf314abef0
commit
544cd7d24a
@ -129,6 +129,17 @@ class PalWorld(commands.Cog):
|
|||||||
inline=True,
|
inline=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Partner Skill
|
||||||
|
embed.add_field(name="Partner Skill", value="-----", inline=False)
|
||||||
|
skill_name = soup.find("h2", string="Partner Skill").find_next(
|
||||||
|
"p", class_="text-xl"
|
||||||
|
)
|
||||||
|
skill_description = skill_name.find_next("p", class_="text-lg mr-4").text
|
||||||
|
embed.add_field(
|
||||||
|
name=skill_name.text,
|
||||||
|
value=skill_description,
|
||||||
|
inline=False,
|
||||||
|
)
|
||||||
# Drops
|
# Drops
|
||||||
embed.add_field(name="Drops", value="-----", inline=False)
|
embed.add_field(name="Drops", value="-----", inline=False)
|
||||||
for div in soup.find("div", class_="flex flex-col gap-2"):
|
for div in soup.find("div", class_="flex flex-col gap-2"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user