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

Commit e54c2b5

Browse files
authored
feat(howsign): add Handspeak (Google search) (#13)
1 parent 6af8f84 commit e54c2b5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

bot.py

+3
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,15 @@ async def on_ready():
111111

112112
HOWSIGN_TEMPLATE = """{word_uppercased}
113113
_Lifeprint_ : {lifeprint}
114+
_Handspeak_ : {handspeak}
114115
_YouGlish_: {youglish}
115116
_Spread The Sign_: <{spread_the_sign}>
116117
_SigningSavvy_: {signingsavvy}
117118
"""
118119

119120
HOWSIGN_SPOILER_TEMPLATE = """||{word_uppercased}||
120121
_Lifeprint_ : || {lifeprint} ||
122+
_Handspeak_ : || {handspeak} ||
121123
_YouGlish_: || {youglish} ||
122124
_Spread The Sign_: || <{spread_the_sign}> ||
123125
_SigningSavvy_: || <{signingsavvy}> ||
@@ -151,6 +153,7 @@ def howsign_impl(word: str):
151153
"content": template.format(
152154
word_uppercased=word.upper(),
153155
lifeprint=f"https://www.google.com/search?&q=site%3Alifeprint.com+{quoted_word}",
156+
handspeak=f"https://www.google.com/search?&q=site%3Ahandspeak.com+{quoted_word}",
154157
signingsavvy=f"https://www.signingsavvy.com/search/{quoted_word}",
155158
spread_the_sign=f"https://www.spreadthesign.com/en.us/search/?q={quoted_word}",
156159
youglish=f"https://youglish.com/pronounce/{quoted_word}/signlanguage/asl",

tests/__snapshots__/test_bot.ambr

+3
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
'content': '
122122
TIGER
123123
_Lifeprint_ : https://www.google.com/search?&q=site%3Alifeprint.com+tiger
124+
_Handspeak_ : https://www.google.com/search?&q=site%3Ahandspeak.com+tiger
124125
_YouGlish_: https://youglish.com/pronounce/tiger/signlanguage/asl
125126
_Spread The Sign_: <https://www.spreadthesign.com/en.us/search/?q=tiger>
126127
_SigningSavvy_: https://www.signingsavvy.com/search/tiger
@@ -133,6 +134,7 @@
133134
'content': '
134135
WHAT'S UP
135136
_Lifeprint_ : https://www.google.com/search?&q=site%3Alifeprint.com+what%27s+up
137+
_Handspeak_ : https://www.google.com/search?&q=site%3Ahandspeak.com+what%27s+up
136138
_YouGlish_: https://youglish.com/pronounce/what%27s+up/signlanguage/asl
137139
_Spread The Sign_: <https://www.spreadthesign.com/en.us/search/?q=what%27s+up>
138140
_SigningSavvy_: https://www.signingsavvy.com/search/what%27s+up
@@ -145,6 +147,7 @@
145147
'content': '
146148
||TIGER||
147149
_Lifeprint_ : || https://www.google.com/search?&q=site%3Alifeprint.com+tiger ||
150+
_Handspeak_ : || https://www.google.com/search?&q=site%3Ahandspeak.com+tiger ||
148151
_YouGlish_: || https://youglish.com/pronounce/tiger/signlanguage/asl ||
149152
_Spread The Sign_: || <https://www.spreadthesign.com/en.us/search/?q=tiger> ||
150153
_SigningSavvy_: || <https://www.signingsavvy.com/search/tiger> ||

0 commit comments

Comments
 (0)