yoshisman8/Wayfinder

Actions aren't displayed correctly

qnicoud opened this issue · 5 comments

When asking for the list of actions, it displays the list of feats instead, and then it won't find any of the description of the actions when asked to.

On discord trying the commands:
wayfinder_action_issue

On my character.pf2.tools page, feat section:
wayfinder_action_issue_feats

On my character.pf2.tools page, action section:
wayfinder_action_issue_actionspng

hmm it seems like the !actions command isn't reading from the actions you get from feats. I'll get onto this as soon as i can! Thanks for reporting it!

Can you provide me with the link to your character sheet. I can't seem to be able replicate the bug with my own characters. @qnicoud

oh, so maybe it isn't set up correctly.
Here is the character sheet :
https://character.pf2.tools/?4W7R6ywy-muraizur
Thanks for your quick reply. And very cool bot btw !

Thanks! I found the issue already. It seemes like i forgot to make function that searches through Actions and Feats only return null if both feats and Actions are null. It was set up so that, if you had no actions in the Actions tab, it will always return null even if you had actions derived from the Feats tab. A fix will be comitted shortly! Thanks for the bug report!

Issue fixed in Commit ac077fb