fredagsboten

command module
v0.0.0-...-1510557 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2024 License: MIT Imports: 8 Imported by: 0

README

fredagsboten

Fredagsboten is a Slack bot to automatically let your colleagues know it's Friday by posting an randomly selected image to a channel of your choice.

Prerequisites

  • A Slack workspace.
  • An AWS account.

Setup

  1. Start by creating a Slack app and setting up Incoming Webhooks.
  2. Configure your AWS account to work with Serverless.
  3. Configure a DYNAMO_TABLE_NAME environmental variable with the name of your DynamoDB table.
  4. Configure a SLACK_WEBHOOK_URL environmental variable with your Slack Webhook URL.
  5. After deploying the first time, add some images to your DynamoDB table, see the item structure below.
  6. Change any other values in serverless.yml to fit your needs.
  7. Profit!
Example image item
{
    "image_url": "https://grodanboll.azurewebsites.net/img/fredagsgrodan/fredagsgrodan512.png",
}
  • image_url - points to the image file to use

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL