Home - x3igh7/slack_unobot_lambda GitHub Wiki
Welcome to the slack_unobot_lambda wiki!
Developer Notes
These are some notes we acquire as we work.
feature/delegate-method-and-SlackDTOs branch
use this in your test harness to call the lambda function. It is what the outgoing webhook will send out. notice that "trigger_word" is set to "UnoBot:" with a flag after the command "--debug", in this case it will simply return your json object of the new deck because of the command "create" in the "text" field. When there isn't a flag "--debug" then we either simply state that the action was finished or we send the user information.
{ "body" :
"token=KHR0zAZcrFkK1zMO40QBWerg&team_id=T3LLL2DEW&team_domain=tiltshift-software&channel_id=D3MBGLRTR&channel_name=directmessage&user_id=U3LLL2DGA&user_name=kmerecido&command=%2Fhi&text=UnoBot:%20create%20--debug×tamp=1355517523.000005&trigger_word=UnoBot:"
}