Skip to content
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

Inline image syntax? #19

Open
ldeluigi opened this issue Oct 31, 2022 · 2 comments
Open

Inline image syntax? #19

ldeluigi opened this issue Oct 31, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@ldeluigi
Copy link

Could you implement some special syntax for inline mode that prompts with card images instead of scryfall card urls?

For example
@Scryfallbot image: <query>

@OliverHofkens
Copy link
Owner

Great idea!
It would be cool if we got more of the features that have been added in the always-on mode supported in inline mode as well. Will need to think about some extensible syntax up front.

@OliverHofkens OliverHofkens self-assigned this Nov 4, 2022
@OliverHofkens OliverHofkens added the enhancement New feature or request label Nov 4, 2022
@OliverHofkens
Copy link
Owner

Ok, I've done some experimenting on this. Turns out the only way to send an image from inline mode, is by listing images during search as well. (InlineQueryResultArticle vs InlineQueryResultPhoto).
I'm trying this out on the Scryfall Beta bot, but it's really hard to use because the images are so small:
photo_2022-11-14 14 40 49

So I'm gonna put some more thought into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants