If you're writing your own Actions using Node.js. Save yourself some time and take a look at Actions Toolkit. Jason is collecting common tasks and ...
For further actions, you may consider blocking this person and/or reporting abuse
I've used this already, definitely recommend!
For those of us who are used to working in JS environments, using actions-toolkit by Jason has made working with actions much easier.