@@ -97,7 +97,7 @@ def check_answer(reaction, user):
9797
9898 if reactions [reaction .emoji ] == sol :
9999 await ctx .send (
100- " Correct. However, you may want to check against this get a better understanding"
100+ f"<@ { ctx . author . id } > Correct. However, you may want to check against this get a better understanding"
101101 )
102102 await ctx .send (
103103 f"https://artofproblemsolving.com/wiki/index.php?title={ randomyear } _AMC_{ amc10_contestid } _Problems/Problem_{ amc_easy } "
@@ -121,7 +121,7 @@ def check_answer(reaction, user):
121121 )
122122 break
123123 elif reactions [reaction .emoji ] == "quit" :
124- await ctx .send (" You quit." )
124+ await ctx .send (f"<@ { ctx . author . id } > You quit." )
125125 user_collection_ref .update (
126126 {
127127 questions_attempted : firestore .Increment (
@@ -135,7 +135,7 @@ def check_answer(reaction, user):
135135 break
136136 else :
137137 await ctx .send (
138- " Wrong. You may want to check against this get a better understanding"
138+ f"<@ { ctx . author . id } > Wrong. You may want to check against this get a better understanding"
139139 )
140140 await ctx .send (
141141 f"https://artofproblemsolving.com/wiki/index.php?title={ randomyear } _AMC_{ amc10_contestid } _Problems/Problem_{ amc_easy } "
@@ -183,7 +183,7 @@ def check_answer(reaction, user):
183183
184184 if reactions [reaction .emoji ] == sol :
185185 await ctx .send (
186- " Correct. However, you may want to check against this get a better understanding"
186+ f"<@ { ctx . author . id } > Correct. However, you may want to check against this get a better understanding"
187187 )
188188 await ctx .send (
189189 f"https://artofproblemsolving.com/wiki/index.php?title={ randomyear } _AMC_{ amc10_contestid } _Problems/Problem_{ amc_med } "
@@ -205,7 +205,7 @@ def check_answer(reaction, user):
205205 )
206206 break
207207 elif reactions [reaction .emoji ] == "quit" :
208- await ctx .send (" You quit." )
208+ await ctx .send (f"<@ { ctx . author . id } > You quit." )
209209 user_collection_ref .update (
210210 {
211211 questions_attempted : firestore .Increment (
@@ -219,7 +219,7 @@ def check_answer(reaction, user):
219219 break
220220 else :
221221 await ctx .send (
222- " Wrong. You may want to check against this get a better understanding"
222+ f"<@ { ctx . author . id } > Wrong. You may want to check against this get a better understanding"
223223 )
224224 await ctx .send (
225225 f"https://artofproblemsolving.com/wiki/index.php?title={ randomyear } _AMC_{ amc10_contestid } _Problems/Problem_{ amc_med } "
@@ -267,7 +267,7 @@ def check_answer(reaction, user):
267267
268268 if reactions [reaction .emoji ] == sol :
269269 await ctx .send (
270- " Correct. However, you may want to check against this get a better understanding"
270+ f"<@ { ctx . author . id } > Correct. However, you may want to check against this get a better understanding"
271271 )
272272 await ctx .send (
273273 f"https://artofproblemsolving.com/wiki/index.php?title={ randomyear } _AMC_{ amc10_contestid } _Problems/Problem_{ amc_hard } "
@@ -291,7 +291,7 @@ def check_answer(reaction, user):
291291 )
292292 break
293293 elif reactions [reaction .emoji ] == "quit" :
294- await ctx .send (" You quit." )
294+ await ctx .send (f"<@ { ctx . author . id } > You quit." )
295295 user_collection_ref .update (
296296 {
297297 questions_attempted : firestore .Increment (
@@ -305,7 +305,7 @@ def check_answer(reaction, user):
305305 break
306306 else :
307307 await ctx .send (
308- " Wrong. You may want to check against this get a better understanding"
308+ f"<@ { ctx . author . id } > Wrong. You may want to check against this get a better understanding"
309309 )
310310 await ctx .send (
311311 f"https://artofproblemsolving.com/wiki/index.php?title={ randomyear } _AMC_{ amc10_contestid } _Problems/Problem_{ amc_hard } "
0 commit comments