slack-spy-bot

command module
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: MIT Imports: 11 Imported by: 0

README

Slack Spy Bot

Build Status Go Report Card Coverage Status

Notifies when a user goes online or offline.

How to run

You can run it as a Docker container on a Google VM.

docker run -d -e BOT_TOKEN=[token] moikot/slack-spy-bot

If you've got Golang environment and Dep, you can build it from source.

git clone git@github.com:moikot/slack-spy-bot.git

cd slack-spy-bot

dep ensure -vendor-only

export GOOGLE_APPLICATION_CREDENTIALS=[credentials]; \
  export BOT_TOKEN=[token]; \
  go run .

How to use

Assuming that you've already added the bot to your Slack applications, and it successfully connected to your Slack, you should be able to issue the following commands:

  • To start spying on a user
    spy-on @User
    
  • To stop spying on a user
    spy-off @User
    

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