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

Commit d08d411

Browse files
committed
feat(howsign): suppress embed; alphabetize
1 parent e6c0374 commit d08d411

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

bot.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -110,19 +110,19 @@ async def on_ready():
110110
# -----------------------------------------------------------------------------
111111

112112
HOWSIGN_TEMPLATE = """{word_uppercased}
113-
_Lifeprint_ : {lifeprint}
114113
_Handspeak_ : {handspeak}
115-
_YouGlish_: {youglish}
114+
_Lifeprint_ : {lifeprint}
115+
_SigningSavvy_: <{signingsavvy}>
116116
_Spread The Sign_: <{spread_the_sign}>
117-
_SigningSavvy_: {signingsavvy}
117+
_YouGlish_: {youglish}
118118
"""
119119

120120
HOWSIGN_SPOILER_TEMPLATE = """||{word_uppercased}||
121-
_Lifeprint_ : || {lifeprint} ||
122121
_Handspeak_ : || {handspeak} ||
123-
_YouGlish_: || {youglish} ||
124-
_Spread The Sign_: || <{spread_the_sign}> ||
122+
_Lifeprint_ : || {lifeprint} ||
125123
_SigningSavvy_: || <{signingsavvy}> ||
124+
_Spread The Sign_: || <{spread_the_sign}> ||
125+
_YouGlish_: || {youglish} ||
126126
"""
127127

128128
HOWSIGN_HELP = """Look up a word or phrase

tests/__snapshots__/test_bot.ambr

+9-9
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@
120120
<class 'dict'> {
121121
'content': '
122122
TIGER
123-
_Lifeprint_ : https://www.google.com/search?&q=site%3Alifeprint.com+tiger
124123
_Handspeak_ : https://www.google.com/search?&q=site%3Ahandspeak.com+tiger
125-
_YouGlish_: https://youglish.com/pronounce/tiger/signlanguage/asl
124+
_Lifeprint_ : https://www.google.com/search?&q=site%3Alifeprint.com+tiger
125+
_SigningSavvy_: <https://www.signingsavvy.com/search/tiger>
126126
_Spread The Sign_: <https://www.spreadthesign.com/en.us/search/?q=tiger>
127-
_SigningSavvy_: https://www.signingsavvy.com/search/tiger
127+
_YouGlish_: https://youglish.com/pronounce/tiger/signlanguage/asl
128128

129129
',
130130
}
@@ -133,11 +133,11 @@
133133
<class 'dict'> {
134134
'content': '
135135
WHAT'S UP
136-
_Lifeprint_ : https://www.google.com/search?&q=site%3Alifeprint.com+what%27s+up
137136
_Handspeak_ : https://www.google.com/search?&q=site%3Ahandspeak.com+what%27s+up
138-
_YouGlish_: https://youglish.com/pronounce/what%27s+up/signlanguage/asl
137+
_Lifeprint_ : https://www.google.com/search?&q=site%3Alifeprint.com+what%27s+up
138+
_SigningSavvy_: <https://www.signingsavvy.com/search/what%27s+up>
139139
_Spread The Sign_: <https://www.spreadthesign.com/en.us/search/?q=what%27s+up>
140-
_SigningSavvy_: https://www.signingsavvy.com/search/what%27s+up
140+
_YouGlish_: https://youglish.com/pronounce/what%27s+up/signlanguage/asl
141141

142142
',
143143
}
@@ -146,11 +146,11 @@
146146
<class 'dict'> {
147147
'content': '
148148
||TIGER||
149-
_Lifeprint_ : || https://www.google.com/search?&q=site%3Alifeprint.com+tiger ||
150149
_Handspeak_ : || https://www.google.com/search?&q=site%3Ahandspeak.com+tiger ||
151-
_YouGlish_: || https://youglish.com/pronounce/tiger/signlanguage/asl ||
152-
_Spread The Sign_: || <https://www.spreadthesign.com/en.us/search/?q=tiger> ||
150+
_Lifeprint_ : || https://www.google.com/search?&q=site%3Alifeprint.com+tiger ||
153151
_SigningSavvy_: || <https://www.signingsavvy.com/search/tiger> ||
152+
_Spread The Sign_: || <https://www.spreadthesign.com/en.us/search/?q=tiger> ||
153+
_YouGlish_: || https://youglish.com/pronounce/tiger/signlanguage/asl ||
154154

155155
',
156156
}

0 commit comments

Comments
 (0)