Code Monkey home page Code Monkey logo

slack-anonymous-1's Introduction

Anonymous Bot for Slack

Express your personal thoughts and desires in the depersonalized way concealing your true identity from the rest of your Slack team.

What it does

When someone posts /anon @user Some anonymous text, that message is sent to this simple service, which sends the text back to the specified user with a modified text, omitting the information about the author of the message.

To avoid revealing your identity by accidentally typing the wrong command, it's recommended to post all messages in your private conversation with SlackBot.

Usage

*Assuming that the configured slash-command is called "/anon" *

  • /anon help -- Displays the help information
  • /anon @user Text -- Sends `Text' to the specified user
  • /anon #channel Text -- Sends `Text' to the specified public channel
  • /anon group Text -- Sends `Text' to the specified private group
  • /anon :here Text -- Sends `Text' to the current channel/group/DM, where the message is typed

Deployment

We use Heroku for deployment, but the process should be similar for any other environment.

  • Create a new Heroku app
  • Point its deployment target to the repository

From the Slack's side:

  • Create a new slash-command integration in your team's Slack.
  • Set its URL to your Heroku app, i.e. https://myanonymousslackbot.herokuapp.com
  • Optionally, copy the autogenerated Token field value of the Slash Command integration, and add it as a configuration parameter SLACK_COMMAND_TOKEN of your Heroku app. This helps to verify that the origin of the command is your team's account and not someone else.
  • Create a new Incoming WebHook integration, copy its WebHook URL (something like https://hooks.slack.com/services/****/***) to the configuration parameter POSTBACK_URL of your Heroku app. This lets the anonymous bot to post the message back to your team's Slack account.
  • Customize the integration in Slack settings: give it a custom name, icon, etc.

slack-anonymous-1's People

Contributors

khmylov avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.