Fix check for if someones in an org
This commit is contained in:
parent
cb99e1d1a1
commit
341f62295f
@ -98,7 +98,7 @@ async def rsi_find(player):
|
||||
embed.set_thumbnail(url=response["data"]["profile"]["image"])
|
||||
|
||||
embed.add_field(name="-------", value="", inline=False)
|
||||
if "name" in response["data"]["organization"]:
|
||||
if "sid" in response["data"]["organization"]:
|
||||
org_url = "https://api.starcitizen-api.com/%s/v1/live/organization/%s" % (
|
||||
os.getenv("star_citizen_token").replace('"', ""),
|
||||
response["data"]["organization"]["sid"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user