helen
Jan 19, 2021

hey. my setup just separates the lambda handler and the other code into different files/directories, so like there's a slash_command_a.py, a slash_command_b.py, a lambda_handler.py/main that imports and calls stuff from everything else, and a common folder, etc. it's not as clean as having different endpoints for each command would be, but it also avoids the 1500-line function, so :( something of a compromise. chaining lambdas or having a distributor lamba/sns would also work, as you suggested. let me know if you come up with something more elegant?

No responses yet