[Feature Request] - Command to sync discord roles with free company ranks
It would be ideal to have a command that can be triggered to sync roles of individuals for the free company.
I looked at the api figuring it would be possible.
One would require first the users in the discord, which i believe can be fetched over the discord.js file (if that information is up-to-date)
Next you can use the logic for the !whois command, which you already implemented.
If an error occurs for a user just display a message for the individuals that they are not linked or smth and need to be manually done
You can use /freecompany/[lodestone_id]?data=FCM
from the lodestone api to fetch the members of the fc and their ranks and compare them to a list.
I think it would be a good addition and help FC leaders and others a lot by reducing the amount of handish work needed. Ideally the result would be that users automatically get their ranks of the fc in the discord. Given the role exists and the user is linked, otherwise display those who didnt work as mentioned above.
For questions please reach out :)