Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions cogs/FFXIV/FFXIV.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,23 @@ async def classes(self, ctx, world, forename, surname, role=""):

await ctx.send(embed=embed)

@commands.command()
async def FCsearch(self, ctx, world, name):
async with ctx.typing():
fc_name= await client.freecompany_search(
world=world,
name=name
)

fc=await client.freecompany_by_id(
lodestone_id=9235334723364979231,
include_freecompany_members=True
)

fc = json.dumps(fc, indent=4)
loaded_fc = json.loads(fc)

print(loaded_fc)

def setup(bot):
bot.add_cog(FFXIV(bot))