You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I was working on ?wikipage embeds for cryptogull, I ended up having to make an extra API call to the expandtemplates API to remotely call Template:Grammar in order to parse look descriptions correctly to be displayed on Discord.
It would be nice if we can parse those descriptions in hagadias before uploading to the wiki instead. This would improve performance of the ?wikipage embed by removing the need for the extra API call.
If we do address this issue at some point, we should completely remove the _parse_grammar method from cryptogull's wiki_page.py module, and we can also remove the single call to that method (self._look_description = await self._parse_grammar(self._look_description, wiki_text))
The text was updated successfully, but these errors were encountered:
As I was working on
?wikipage
embeds for cryptogull, I ended up having to make an extra API call to the expandtemplates API to remotely call Template:Grammar in order to parse look descriptions correctly to be displayed on Discord.It would be nice if we can parse those descriptions in hagadias before uploading to the wiki instead. This would improve performance of the
?wikipage
embed by removing the need for the extra API call.If we do address this issue at some point, we should completely remove the
_parse_grammar
method from cryptogull'swiki_page.py
module, and we can also remove the single call to that method (self._look_description = await self._parse_grammar(self._look_description, wiki_text)
)The text was updated successfully, but these errors were encountered: