We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a9cd17 commit 3b895b8Copy full SHA for 3b895b8
src/Bot/Friday.hs
@@ -213,11 +213,13 @@ videoCommand =
213
liftR (const currentVideo) $
214
replyOnNothing "No videos in the queue" $
215
cmapR entityPayload $
216
+ liftFst (fmap length . fridayVideosByYtId . fridayVideoName) $
217
cmapR
- (\video ->
218
+ (\(video, times) ->
219
[qms|{fridayVideoDate video}
220
<{fridayVideoAuthor video}>
- {fridayVideoName video}|]) $
221
+ {fridayVideoName video} —
222
+ This video was suggested {times} times.|]) $
223
Reaction replyMessage
224
225
currentFridayState :: Effect (Entity FridayState)
0 commit comments