ephembot
A lil' slack bot that'll make slack more ephemeral
Last updated 5 years ago by talon .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ephembot 
SYNC missed versions from official npm registry.

ephembot Version Badge

Build Status

A slack bot that deletes messages for ephemerality sake!

How to use

Install

Via NPM (preferred)

npm install --global ephembot
ephembot -p 3000

Docker (soon to be preferred)

coming soon

Git clone

git clone https://github.com/Denver-Devs/ephemeral-enforcer.git
cd ephemeral-enforcer

npm start will run ephembot on port 3000.

You can also install ephembot globally or npm link from inside the repo and run ephembot -p 4000 which will run it on port 4000. Choose whatever port you want.

Configure slack

Add a slash command to your slack organization that POSTs to <your server>:<your port>/ephemeral

Name the slash command whatever. Traditionally it is /ephemeral

Commands

Ephembot runs only in the channel from which the command is used this allows for per-channel configuration.

Setting ephembot's level tells it to delete messages that are older than the level. ex. /ephemeral level 20 minutes will tell ephembot to delete messages that are older than 20 minutes, every 20 minutes.

/ephemeral on

Turns ephembot on at the default interval 15 minutes for the current channel

/ephemeral off

Turns ephembot off for the current channel

/ephemeral level <15 minutes | 1 hour | 30 seconds>

Turns ephembot on at the given interval for the current channel

/ephemeral status

Responds with the current channels level

Issues

If you have any issues with ephembot feel free to submit them here

js-standard-style

Current Tags

  • 1.0.0                                ...           latest (5 years ago)

1 Versions

  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (10)
Dev Dependencies (6)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |