Completed logic for two slack commands
Before writing a single line of code I spent ~1hr learning how to use slack_bolt to register a command listener and how to write logic to perform actions on the command trigger using the decorator @app.command("/command") from the guide and web.
Using it I went on to programming actions for two commands:
-
/sarvgyan-ping: returns latency for acknowledging command. -
/sarvgyan-befunny: Tells you a joke (which I must say doesn’t look like a joke 😅)
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.