Skip to content
My first attempt at a Slack bot. It uses the shm-reduplication to mock your last word.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images
lib
test
.env.default
.gitignore
LICENSE
README.md
index.js
package-lock.json
package.json

README.md

Slack Shmot Bot

My first attempt at a Slack bot. It uses the shm-reduplication to mock your last word:

Screenshot

You need to talk to him directly or mention him in a group he is in for him to react.

The original ShmotBot (for Discord) is located here.

Getting Started

Run Bot Locally

To run the bot locally, you have to do the following:

  1. Clone this repository
  2. Follow easy-peasy-bot until you have a bot token ready to use and NodeJS installed
  3. Install packages via command line npm install
  4. Copy the file .env.default in the base folder to .env and fill it with your bot token like this TOKEN=YourSuperSecretToken
  5. Start bot via command line node index.js
  6. Open up Slack and see it in action

Note: To redeploy it press Control+C and run node index.js again.

Add Bot to Server

It seems possible to deploy bots to Slack, I just haven't tried it yet.

Bugs

  • ShmotBot goes crazy when the last word is his name (similar stuff happens for trailing smileys): Screenshot

License

This project is licensed under the MIT - see the license file for details.

You can’t perform that action at this time.