add partner skill to the embed
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
20c8bbd95f
commit
e326a9dd05
@ -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