scryfall / servo Goto Github PK
View Code? Open in Web Editor NEWA Discord bot that can return Magic card information and pictures.
License: MIT License
A Discord bot that can return Magic card information and pictures.
License: MIT License
utm_source=discord
utm_campaign=server_name
utm_medium=response_type
Cards exclusive to Alchemy sets must be invoked using their full name, even if there is a set postfix for the alchemy set. e.g:
[[Teysa of the]] finds 0 cards
[[Teysa of the|YOTJ]] finds 0 cards
[[Teysa of the Ghost Council]] finds 1 cards
"Teysa of the" as a name search on scryfall proper returns 1 card
search for
(cn:"2โ " set:ARN)OR(cn:"51" set:ARN)
Only 1 card returns
search for
(cn:"2โ " set:ARN)
A different card returns
I sent Scryfall an email about this like 6 months ago, but I guess they didn't see it.
It doesn't appear that Discord supports emoji in embeds. Let's see if there's an easy workaround.
Support card nicknames, [[Bob]] would return the same result as [[Dark Confidant]]
If Markdown is available, we can do things like italicize ability words.
Implement syntax for getting a specific print. Collector's number is the obvious choice. Multiverse ID could also work.
Reported by WNivek on Discord
Discord added forum channels, a thread-esque way to communicate. The Scryfall bot does not currently interact with these forum posts.
The embedded message that displays oracle and flavor text incorrectly handles flavor text that contains words that are not italicized. The text instead has an asterisk at the beginning and end, with the only italicised text being that which should not be.
For example, calling [[Aerial Caravan]] yields the flavor text:
*Successful delivery is not guaranteed.*
whereas it should be:
Successful delivery is not guaranteed.
[[Mox Diamond|V10]] returns a card without the image of that card.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.