tarot
Search Biddy Tarot for a specific card's meanings. All searches should be entered without the word "the" in front and in lower case. For example "The Tower" should be searched for as "tower".
Private
Content
38 lines{=(COMMENT):**REDIRECT*** Redirects to a specific channel update with your channel ID.}
{redirect:616661360561881106}
{=(COMMENT):**DO NOT EDIT BELOW THIS LINE EXCEPT FOR ERROR MESSAGES.*** Comments are for knowledge purposes only.}
{=(COMMENT):VARIABLES}
{=(COMMENT):List of card names and suits to use for checks.}
{=(major):fool magician empress emperor hierophant lovers chariot strength hermit justice death temperance devil tower star moon sun judgement world high wheel hanged}
{=(minor):cups swords pentacles wands}
{=(COMMENT):Arg manipulation. Makes args lowercase, removes the word the, and pulls only the suit name from the arg for a check.}
{=(largs):{lower:{args}}}
{=(card):{if({in(the):{largs}}==true):{replace(the ,):{largs}|{largs}}}}
{=(suit):{card(3)}}
{=(COMMENT):Defines our URLs using the clean card name.}
{=(majorurl):https://www.biddytarot.com/tarot-card-meanings/major-arcana/{urlencode(-):{card}}}
{=(minorurl):https://www.biddytarot.com/tarot-card-meanings/minor-arcana/suit-of-{suit}/{urlencode(-):{card}}}
{=(COMMENT):ERROR MESSAGES. **YOU CAN EDIT THESE AS YOU NEED.**}
{=(errormsg):Oops! I can't find that tarot card! Please double check your spelling and retry `!tarot`.}
{=(breakmsg):Sorry, {mention}, you forgot to enter a card name, so I can't search. Please retry using `!tarot` and make sure to enter a card name.
If you wanted a reading, you meant to ask my friend <@601504723383877643> by saying `tarotbot` followed by your question.}
{=(COMMENT):CHECKS - checks to see if our args are in the major or minor arcana so we can use the correct link format.}
{=(majorchk):{in({card(1)}):{{major}}}}
{=(minorchk):{in({suit}):{{minor}}}}
{=(COMMENT):Chooses which link to use based on our check.}
{=(searchtarot):{if({majorchk}==true):{majorurl}|{minorurl}}}
{=(COMMENT):ERROR LOGIC. Posts our link if it exists. Otherwise lets the user know they made a typo or entered something that wasn't a card.}
{=(msg):{any({majorchk}==true|{minorchk}==true):{searchtarot}|{errormsg}}}
{=(COMMENT):BREAK LOGIC. Tells our tag not to attempt to run if there are no args.}
{break({args}==):{breakmsg}}
{=(COMMENT):POST. Mentions the user and gives them their link or error message. You can remove the mention here if needed.}
{mention} {msg}Raw JSON
{
"id": 121103,
"created_at": "2020-02-17T17:47:02.000Z",
"tag_name": "tarot",
"nsfw": false,
"owner_id": "508726665199747100",
"uses": 1258,
"description": "Search Biddy Tarot for a specific card's meanings. All searches should be entered without the word \"the\" in front and in lower case. For example \"The Tower\" should be searched for as \"tower\". ",
"restricted": false,
"shared": false,
"deleted": false,
"safe": "",
"hidden": false,
"guild_id": "588775705790251056",
"sharer": "508726665199747100",
"content": "{=(COMMENT):**REDIRECT*** Redirects to a specific channel update with your channel ID.}\n{redirect:616661360561881106}\n\n{=(COMMENT):**DO NOT EDIT BELOW THIS LINE EXCEPT FOR ERROR MESSAGES.*** Comments are for knowledge purposes only.}\n{=(COMMENT):VARIABLES}\n{=(COMMENT):List of card names and suits to use for checks.}\n{=(major):fool magician empress emperor hierophant lovers chariot strength hermit justice death temperance devil tower star moon sun judgement world high wheel hanged}\n{=(minor):cups swords pentacles wands}\n\n{=(COMMENT):Arg manipulation. Makes args lowercase, removes the word the, and pulls only the suit name from the arg for a check.}\n{=(largs):{lower:{args}}}\n{=(card):{if({in(the):{largs}}==true):{replace(the ,):{largs}|{largs}}}}\n{=(suit):{card(3)}}\n\n{=(COMMENT):Defines our URLs using the clean card name.}\n{=(majorurl):https://www.biddytarot.com/tarot-card-meanings/major-arcana/{urlencode(-):{card}}}\n{=(minorurl):https://www.biddytarot.com/tarot-card-meanings/minor-arcana/suit-of-{suit}/{urlencode(-):{card}}}\n\n{=(COMMENT):ERROR MESSAGES. **YOU CAN EDIT THESE AS YOU NEED.**}\n{=(errormsg):Oops! I can't find that tarot card! Please double check your spelling and retry `!tarot`.}\n{=(breakmsg):Sorry, {mention}, you forgot to enter a card name, so I can't search. Please retry using `!tarot` and make sure to enter a card name.\nIf you wanted a reading, you meant to ask my friend <@601504723383877643> by saying `tarotbot` followed by your question.}\n\n{=(COMMENT):CHECKS - checks to see if our args are in the major or minor arcana so we can use the correct link format.}\n{=(majorchk):{in({card(1)}):{{major}}}}\n{=(minorchk):{in({suit}):{{minor}}}}\n\n{=(COMMENT):Chooses which link to use based on our check.}\n{=(searchtarot):{if({majorchk}==true):{majorurl}|{minorurl}}}\n\n{=(COMMENT):ERROR LOGIC. Posts our link if it exists. Otherwise lets the user know they made a typo or entered something that wasn't a card.}\n{=(msg):{any({majorchk}==true|{minorchk}==true):{searchtarot}|{errormsg}}}\n\n{=(COMMENT):BREAK LOGIC. Tells our tag not to attempt to run if there are no args.}\n{break({args}==):{breakmsg}}\n\n{=(COMMENT):POST. Mentions the user and gives them their link or error message. You can remove the mention here if needed.}\n{mention} {msg}",
"embed": "{}",
"last_fetched": "2026-10-20T20:57:37.174Z"
}