slashbot_sample

module
v0.0.0-...-2b04739 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: MIT

README

slashbot_sample

A simple boilerplate for Slack's slash command handling bot

usage

run directly
  • socket mode
    • go run ./cmd/socket
  • webhook mode
    • go run ./cmd/webhook
run on docker container
  • socket mode
    • docker build -t socket -f ./Dockerfile.socket .
    • docker run --rm --env-file ./.env socket
  • webhook mode
    • docker build -t webhook -f ./Dockerfile.webhook .
    • docker run --rm --env-file ./.env -p 38080:8080 webhook

license

MIT

author

walkure

Directories

Path Synopsis
cmd
socket command
webhook command
pkg

Jump to

Keyboard shortcuts

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