Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
juni-b-queer committed Jul 18, 2024
1 parent 7997757 commit 6db7a66
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
IsSpecifiedTimeValidator,
JetstreamMessage,
JetstreamSubscription,
LogInputTextAction,
LogInputTextAction, LogMessageAction,
MessageHandler
} from "bsky-event-handlers";
import {MagicEightBallHandler} from "./handler/MagicEightBall.ts";
Expand Down Expand Up @@ -84,10 +84,12 @@ let handlers = {
}else if(msm > fourtwentyPm || msm <fourtwentyAm){
ampm = "am"
}
DebugLog.warn('NOTIFY420', `text: ${messageText} -- replied: !remindme 4:20${ampm} ${replyTimezone}`)
return `!remindme 4:20${ampm} ${replyTimezone}`;
},
MessageHandler.generateReplyFromMessage
)
),
LogMessageAction.make()
],
isItFourTwentyHandlerAgent
)
Expand Down

0 comments on commit 6db7a66

Please sign in to comment.