Sign inSign up

moikot/slack-spy-bot

By moikot

Updated about 7 years ago

🕵️Notifies you when a user goes online and offline.

Image
0

1.9K

moikot/slack-spy-bot repository overview

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 [email protected]: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
    

Tag summary

Content type

Image

Digest

Size

6.9 MB

Last updated

about 7 years ago

docker pull moikot/slack-spy-bot