Skip to content

Commit

Permalink
fix: fix signbank searches (#588)
Browse files Browse the repository at this point in the history
* fix: fix signbank searches

* update snapshots
  • Loading branch information
sloria authored Feb 13, 2024
1 parent ceeea72 commit 4e16270
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bot/exts/asl.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def word_display(word: str, *, template: str = SIGN_TEMPLATE, max_length: int =
return template.format(
word_uppercased=word.upper(),
aslcore=f"https://aslcore.org/search/?query={quoted_word}&architecture=1&art=1&biology=1&computerscience=1&engineering=1&literature=1&organicchemistry=1&philosophy=1&physics=1&sustainability=1",
asl_signbank=f"https://aslsignbank.haskins.yale.edu/signs/search/?keyword={quoted_word}",
asl_signbank=f"https://aslsignbank.haskins.yale.edu/signs/search/?translation={quoted_word}",
howsign=f"https://howsign.app/?s={quoted_word}",
lifeprint=f"https://www.google.com/search?&q=site%3Alifeprint.com+{quoted_word}",
handspeak=f"https://www.google.com/search?&q=site%3Ahandspeak.com+{quoted_word}",
Expand Down
16 changes: 8 additions & 8 deletions tests/bot/exts/__snapshots__/test_asl.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
colour=Embed.Empty,
description=Embed.Empty,
fields=list([
EmbedProxy(inline=True, name='NEED', value='[🍃 **ASLCORE** - NEED](https://aslcore.org/search/?query=need&architecture=1&art=1&biology=1&computerscience=1&engineering=1&literature=1&organicchemistry=1&philosophy=1&physics=1&sustainability=1)\n[📜 **ASL Signbank** - NEED](https://aslsignbank.haskins.yale.edu/signs/search/?keyword=need)\n[🤲 **Handspeak** - Search results](https://www.google.com/search?&q=site%3Ahandspeak.com+need)\n[🧬 **Lifeprint** - Search results](https://www.google.com/search?&q=site%3Alifeprint.com+need)\n[🤝 **SigningSavvy** - Sign for NEED](https://www.signingsavvy.com/search/need)\n[🌐 **Spread The Sign** - NEED](https://www.spreadthesign.com/en.us/search/?q=need)\n[🔬 **STEM Dictionary** - NEED](https://deaftec.org/stem-dictionary/dictionary_term/need/)\n[📹 **YouGlish** - ASL videos with NEED](https://youglish.com/pronounce/need/signlanguage/us)\nShare: https://howsign.app/?s=need\n'),
EmbedProxy(inline=True, name='ASK', value='[🍃 **ASLCORE** - ASK](https://aslcore.org/search/?query=ask&architecture=1&art=1&biology=1&computerscience=1&engineering=1&literature=1&organicchemistry=1&philosophy=1&physics=1&sustainability=1)\n[📜 **ASL Signbank** - ASK](https://aslsignbank.haskins.yale.edu/signs/search/?keyword=ask)\n[🤲 **Handspeak** - Search results](https://www.google.com/search?&q=site%3Ahandspeak.com+ask)\n[🧬 **Lifeprint** - Search results](https://www.google.com/search?&q=site%3Alifeprint.com+ask)\n[🤝 **SigningSavvy** - Sign for ASK](https://www.signingsavvy.com/search/ask)\n[🌐 **Spread The Sign** - ASK](https://www.spreadthesign.com/en.us/search/?q=ask)\n[🔬 **STEM Dictionary** - ASK](https://deaftec.org/stem-dictionary/dictionary_term/ask/)\n[📹 **YouGlish** - ASL videos with ASK](https://youglish.com/pronounce/ask/signlanguage/us)\nShare: https://howsign.app/?s=ask\n'),
EmbedProxy(inline=True, name='NEED', value='[🍃 **ASLCORE** - NEED](https://aslcore.org/search/?query=need&architecture=1&art=1&biology=1&computerscience=1&engineering=1&literature=1&organicchemistry=1&philosophy=1&physics=1&sustainability=1)\n[📜 **ASL Signbank** - NEED](https://aslsignbank.haskins.yale.edu/signs/search/?translation=need)\n[🤲 **Handspeak** - Search results](https://www.google.com/search?&q=site%3Ahandspeak.com+need)\n[🧬 **Lifeprint** - Search results](https://www.google.com/search?&q=site%3Alifeprint.com+need)\n[🤝 **SigningSavvy** - Sign for NEED](https://www.signingsavvy.com/search/need)\n[🌐 **Spread The Sign** - NEED](https://www.spreadthesign.com/en.us/search/?q=need)\n[🔬 **STEM Dictionary** - NEED](https://deaftec.org/stem-dictionary/dictionary_term/need/)\n[📹 **YouGlish** - ASL videos with NEED](https://youglish.com/pronounce/need/signlanguage/us)\nShare: https://howsign.app/?s=need\n'),
EmbedProxy(inline=True, name='ASK', value='[🍃 **ASLCORE** - ASK](https://aslcore.org/search/?query=ask&architecture=1&art=1&biology=1&computerscience=1&engineering=1&literature=1&organicchemistry=1&philosophy=1&physics=1&sustainability=1)\n[📜 **ASL Signbank** - ASK](https://aslsignbank.haskins.yale.edu/signs/search/?translation=ask)\n[🤲 **Handspeak** - Search results](https://www.google.com/search?&q=site%3Ahandspeak.com+ask)\n[🧬 **Lifeprint** - Search results](https://www.google.com/search?&q=site%3Alifeprint.com+ask)\n[🤝 **SigningSavvy** - Sign for ASK](https://www.signingsavvy.com/search/ask)\n[🌐 **Spread The Sign** - ASK](https://www.spreadthesign.com/en.us/search/?q=ask)\n[🔬 **STEM Dictionary** - ASK](https://deaftec.org/stem-dictionary/dictionary_term/ask/)\n[📹 **YouGlish** - ASL videos with ASK](https://youglish.com/pronounce/ask/signlanguage/us)\nShare: https://howsign.app/?s=ask\n'),
]),
footer=EmbedProxy(),
image=EmbedProxy(),
Expand All @@ -95,7 +95,7 @@
colour=Embed.Empty,
description='''
[🍃 **ASLCORE** - TIGER](https://aslcore.org/search/?query=tiger&architecture=1&art=1&biology=1&computerscience=1&engineering=1&literature=1&organicchemistry=1&philosophy=1&physics=1&sustainability=1)
[📜 **ASL Signbank** - TIGER](https://aslsignbank.haskins.yale.edu/signs/search/?keyword=tiger)
[📜 **ASL Signbank** - TIGER](https://aslsignbank.haskins.yale.edu/signs/search/?translation=tiger)
[🤲 **Handspeak** - Search results](https://www.google.com/search?&q=site%3Ahandspeak.com+tiger)
[🧬 **Lifeprint** - Search results](https://www.google.com/search?&q=site%3Alifeprint.com+tiger)
[🤝 **SigningSavvy** - Sign for TIGER](https://www.signingsavvy.com/search/tiger)
Expand Down Expand Up @@ -128,7 +128,7 @@
colour=Embed.Empty,
description='''
[🍃 **ASLCORE** - WHAT'S UP](https://aslcore.org/search/?query=what%27s+up&architecture=1&art=1&biology=1&computerscience=1&engineering=1&literature=1&organicchemistry=1&philosophy=1&physics=1&sustainability=1)
[📜 **ASL Signbank** - WHAT'S UP](https://aslsignbank.haskins.yale.edu/signs/search/?keyword=what%27s+up)
[📜 **ASL Signbank** - WHAT'S UP](https://aslsignbank.haskins.yale.edu/signs/search/?translation=what%27s+up)
[🤲 **Handspeak** - Search results](https://www.google.com/search?&q=site%3Ahandspeak.com+what%27s+up)
[🧬 **Lifeprint** - Search results](https://www.google.com/search?&q=site%3Alifeprint.com+what%27s+up)
[🤝 **SigningSavvy** - Sign for WHAT'S UP](https://www.signingsavvy.com/search/what%27s+up)
Expand Down Expand Up @@ -161,8 +161,8 @@
colour=Embed.Empty,
description=Embed.Empty,
fields=list([
EmbedProxy(inline=True, name='||NEED||', value='[🍃 **ASLCORE** - ||NEED||](https://aslcore.org/search/?query=need&architecture=1&art=1&biology=1&computerscience=1&engineering=1&literature=1&organicchemistry=1&philosophy=1&physics=1&sustainability=1)\n[📜 **ASL Signbank** - ||NEED||](https://aslsignbank.haskins.yale.edu/signs/search/?keyword=need)\n[🤲 **Handspeak** - Search results](https://www.google.com/search?&q=site%3Ahandspeak.com+need)\n[🧬 **Lifeprint** - Search results](https://www.google.com/search?&q=site%3Alifeprint.com+need)\n[🤝 **SigningSavvy** - Sign for ||NEED||](https://www.signingsavvy.com/search/need)\n[🌐 **Spread The Sign** - ||NEED||](https://www.spreadthesign.com/en.us/search/?q=need)\n[🔬 **STEM Dictionary** - ||NEED||](https://deaftec.org/stem-dictionary/dictionary_term/need/)\n[📹 **YouGlish** - ASL videos with ||NEED||](https://youglish.com/pronounce/need/signlanguage/us)\nShare: ||https://howsign.app/?s=need||\n'),
EmbedProxy(inline=True, name='||ASK||', value='[🍃 **ASLCORE** - ||ASK||](https://aslcore.org/search/?query=ask&architecture=1&art=1&biology=1&computerscience=1&engineering=1&literature=1&organicchemistry=1&philosophy=1&physics=1&sustainability=1)\n[📜 **ASL Signbank** - ||ASK||](https://aslsignbank.haskins.yale.edu/signs/search/?keyword=ask)\n[🤲 **Handspeak** - Search results](https://www.google.com/search?&q=site%3Ahandspeak.com+ask)\n[🧬 **Lifeprint** - Search results](https://www.google.com/search?&q=site%3Alifeprint.com+ask)\n[🤝 **SigningSavvy** - Sign for ||ASK||](https://www.signingsavvy.com/search/ask)\n[🌐 **Spread The Sign** - ||ASK||](https://www.spreadthesign.com/en.us/search/?q=ask)\n[🔬 **STEM Dictionary** - ||ASK||](https://deaftec.org/stem-dictionary/dictionary_term/ask/)\n[📹 **YouGlish** - ASL videos with ||ASK||](https://youglish.com/pronounce/ask/signlanguage/us)\nShare: ||https://howsign.app/?s=ask||\n'),
EmbedProxy(inline=True, name='||NEED||', value='[🍃 **ASLCORE** - ||NEED||](https://aslcore.org/search/?query=need&architecture=1&art=1&biology=1&computerscience=1&engineering=1&literature=1&organicchemistry=1&philosophy=1&physics=1&sustainability=1)\n[📜 **ASL Signbank** - ||NEED||](https://aslsignbank.haskins.yale.edu/signs/search/?translation=need)\n[🤲 **Handspeak** - Search results](https://www.google.com/search?&q=site%3Ahandspeak.com+need)\n[🧬 **Lifeprint** - Search results](https://www.google.com/search?&q=site%3Alifeprint.com+need)\n[🤝 **SigningSavvy** - Sign for ||NEED||](https://www.signingsavvy.com/search/need)\n[🌐 **Spread The Sign** - ||NEED||](https://www.spreadthesign.com/en.us/search/?q=need)\n[🔬 **STEM Dictionary** - ||NEED||](https://deaftec.org/stem-dictionary/dictionary_term/need/)\n[📹 **YouGlish** - ASL videos with ||NEED||](https://youglish.com/pronounce/need/signlanguage/us)\nShare: ||https://howsign.app/?s=need||\n'),
EmbedProxy(inline=True, name='||ASK||', value='[🍃 **ASLCORE** - ||ASK||](https://aslcore.org/search/?query=ask&architecture=1&art=1&biology=1&computerscience=1&engineering=1&literature=1&organicchemistry=1&philosophy=1&physics=1&sustainability=1)\n[📜 **ASL Signbank** - ||ASK||](https://aslsignbank.haskins.yale.edu/signs/search/?translation=ask)\n[🤲 **Handspeak** - Search results](https://www.google.com/search?&q=site%3Ahandspeak.com+ask)\n[🧬 **Lifeprint** - Search results](https://www.google.com/search?&q=site%3Alifeprint.com+ask)\n[🤝 **SigningSavvy** - Sign for ||ASK||](https://www.signingsavvy.com/search/ask)\n[🌐 **Spread The Sign** - ||ASK||](https://www.spreadthesign.com/en.us/search/?q=ask)\n[🔬 **STEM Dictionary** - ||ASK||](https://deaftec.org/stem-dictionary/dictionary_term/ask/)\n[📹 **YouGlish** - ASL videos with ||ASK||](https://youglish.com/pronounce/ask/signlanguage/us)\nShare: ||https://howsign.app/?s=ask||\n'),
]),
footer=EmbedProxy(),
image=EmbedProxy(),
Expand All @@ -185,7 +185,7 @@
colour=Embed.Empty,
description='''
[🍃 **ASLCORE** - ||TIGER||](https://aslcore.org/search/?query=tiger&architecture=1&art=1&biology=1&computerscience=1&engineering=1&literature=1&organicchemistry=1&philosophy=1&physics=1&sustainability=1)
[📜 **ASL Signbank** - ||TIGER||](https://aslsignbank.haskins.yale.edu/signs/search/?keyword=tiger)
[📜 **ASL Signbank** - ||TIGER||](https://aslsignbank.haskins.yale.edu/signs/search/?translation=tiger)
[🤲 **Handspeak** - Search results](https://www.google.com/search?&q=site%3Ahandspeak.com+tiger)
[🧬 **Lifeprint** - Search results](https://www.google.com/search?&q=site%3Alifeprint.com+tiger)
[🤝 **SigningSavvy** - Sign for ||TIGER||](https://www.signingsavvy.com/search/tiger)
Expand Down Expand Up @@ -218,7 +218,7 @@
colour=Embed.Empty,
description='''
[🍃 **ASLCORE** - ||WHAT'S UP||](https://aslcore.org/search/?query=what%27s+up&architecture=1&art=1&biology=1&computerscience=1&engineering=1&literature=1&organicchemistry=1&philosophy=1&physics=1&sustainability=1)
[📜 **ASL Signbank** - ||WHAT'S UP||](https://aslsignbank.haskins.yale.edu/signs/search/?keyword=what%27s+up)
[📜 **ASL Signbank** - ||WHAT'S UP||](https://aslsignbank.haskins.yale.edu/signs/search/?translation=what%27s+up)
[🤲 **Handspeak** - Search results](https://www.google.com/search?&q=site%3Ahandspeak.com+what%27s+up)
[🧬 **Lifeprint** - Search results](https://www.google.com/search?&q=site%3Alifeprint.com+what%27s+up)
[🤝 **SigningSavvy** - Sign for ||WHAT'S UP||](https://www.signingsavvy.com/search/what%27s+up)
Expand Down

0 comments on commit 4e16270

Please sign in to comment.