Skip to content

lifrank1/GroupMeSpamBlocker

Repository files navigation

GroupMeSpamBlocker

To deploy: 0. Create GroupMe bot

  1. Put handler in lambda function
  2. Run sls deploy (this will require the serverless.yml file in the same directory)
  3. Set AWS secrets (token, botID) to what is listed in your GroupMe developer portal.
  4. Set AWS IAM role for Lambda function to access secrets.

Debugging: --Use CloudWatch to check if your Lambda function is being called (the URL endpoint should be in the configuration section of the function to insert into your groupme bot). Errors can be found in the CloudWatch Log Group for the Lambda Function. --Unable to import module 'handler': cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' --> urllib3 versions 2+ are not compatable with botocore as of December 4 2023. That's why requirements.txt specified urllib3<2. If auto initialized in lambda
environment delete and redeploy.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages