-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] xkcd doesn't embed alt text from json #274
Comments
How would you suggest this be shown? Joined to the titled with a |
Well, considering the existing code for it in xkcd.py:
Unless i'm reading it wrong (which is likely considering how little proficient i am with python), it seems backwards? It checks if there isn't data in
or
|
Ha, I didn't even notice there was existing code for it 🤦 You're spot on. That's an even easier fix than I imagined. Thanks for the report! |
Describe the bug
When the bot retrieves XKCD comics, it's supposed to also embed the alt text from the json if there is any, though this doesn't happen.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Alt text should be embedded if it exists.
Screenshots
Additional context
JSON of the relevant comic
The text was updated successfully, but these errors were encountered: