Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Commit 4e16270

Browse files
authored
fix: fix signbank searches (#588)
* fix: fix signbank searches * update snapshots
1 parent ceeea72 commit 4e16270

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

bot/exts/asl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def word_display(word: str, *, template: str = SIGN_TEMPLATE, max_length: int =
6262
return template.format(
6363
word_uppercased=word.upper(),
6464
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",
65-
asl_signbank=f"https://aslsignbank.haskins.yale.edu/signs/search/?keyword={quoted_word}",
65+
asl_signbank=f"https://aslsignbank.haskins.yale.edu/signs/search/?translation={quoted_word}",
6666
howsign=f"https://howsign.app/?s={quoted_word}",
6767
lifeprint=f"https://www.google.com/search?&q=site%3Alifeprint.com+{quoted_word}",
6868
handspeak=f"https://www.google.com/search?&q=site%3Ahandspeak.com+{quoted_word}",

tests/bot/exts/__snapshots__/test_asl.ambr

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@
7171
colour=Embed.Empty,
7272
description=Embed.Empty,
7373
fields=list([
74-
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'),
75-
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'),
74+
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'),
75+
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'),
7676
]),
7777
footer=EmbedProxy(),
7878
image=EmbedProxy(),
@@ -95,7 +95,7 @@
9595
colour=Embed.Empty,
9696
description='''
9797
[🍃 **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)
98-
[📜 **ASL Signbank** - TIGER](https://aslsignbank.haskins.yale.edu/signs/search/?keyword=tiger)
98+
[📜 **ASL Signbank** - TIGER](https://aslsignbank.haskins.yale.edu/signs/search/?translation=tiger)
9999
[🤲 **Handspeak** - Search results](https://www.google.com/search?&q=site%3Ahandspeak.com+tiger)
100100
[🧬 **Lifeprint** - Search results](https://www.google.com/search?&q=site%3Alifeprint.com+tiger)
101101
[🤝 **SigningSavvy** - Sign for TIGER](https://www.signingsavvy.com/search/tiger)
@@ -128,7 +128,7 @@
128128
colour=Embed.Empty,
129129
description='''
130130
[🍃 **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)
131-
[📜 **ASL Signbank** - WHAT'S UP](https://aslsignbank.haskins.yale.edu/signs/search/?keyword=what%27s+up)
131+
[📜 **ASL Signbank** - WHAT'S UP](https://aslsignbank.haskins.yale.edu/signs/search/?translation=what%27s+up)
132132
[🤲 **Handspeak** - Search results](https://www.google.com/search?&q=site%3Ahandspeak.com+what%27s+up)
133133
[🧬 **Lifeprint** - Search results](https://www.google.com/search?&q=site%3Alifeprint.com+what%27s+up)
134134
[🤝 **SigningSavvy** - Sign for WHAT'S UP](https://www.signingsavvy.com/search/what%27s+up)
@@ -161,8 +161,8 @@
161161
colour=Embed.Empty,
162162
description=Embed.Empty,
163163
fields=list([
164-
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'),
165-
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'),
164+
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'),
165+
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'),
166166
]),
167167
footer=EmbedProxy(),
168168
image=EmbedProxy(),
@@ -185,7 +185,7 @@
185185
colour=Embed.Empty,
186186
description='''
187187
[🍃 **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)
188-
[📜 **ASL Signbank** - ||TIGER||](https://aslsignbank.haskins.yale.edu/signs/search/?keyword=tiger)
188+
[📜 **ASL Signbank** - ||TIGER||](https://aslsignbank.haskins.yale.edu/signs/search/?translation=tiger)
189189
[🤲 **Handspeak** - Search results](https://www.google.com/search?&q=site%3Ahandspeak.com+tiger)
190190
[🧬 **Lifeprint** - Search results](https://www.google.com/search?&q=site%3Alifeprint.com+tiger)
191191
[🤝 **SigningSavvy** - Sign for ||TIGER||](https://www.signingsavvy.com/search/tiger)
@@ -218,7 +218,7 @@
218218
colour=Embed.Empty,
219219
description='''
220220
[🍃 **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)
221-
[📜 **ASL Signbank** - ||WHAT'S UP||](https://aslsignbank.haskins.yale.edu/signs/search/?keyword=what%27s+up)
221+
[📜 **ASL Signbank** - ||WHAT'S UP||](https://aslsignbank.haskins.yale.edu/signs/search/?translation=what%27s+up)
222222
[🤲 **Handspeak** - Search results](https://www.google.com/search?&q=site%3Ahandspeak.com+what%27s+up)
223223
[🧬 **Lifeprint** - Search results](https://www.google.com/search?&q=site%3Alifeprint.com+what%27s+up)
224224
[🤝 **SigningSavvy** - Sign for ||WHAT'S UP||](https://www.signingsavvy.com/search/what%27s+up)

0 commit comments

Comments
 (0)