Skip to content

[deprecated] Transform your account in a bot 🤖

Notifications You must be signed in to change notification settings

robiXxu/slack-user-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[deprecated] slack-user-bot -- Slack removed IRC connection.

Up and running

Clone and run

npm install

If you get a error similar to this ( on Mac ):

/node-icu-charset-detector.cpp:7:10: fatal error: 'unicode/ucsdet.h' file not found
#include <unicode/ucsdet.h>

This should solve the issue

brew install icu4c
brew link icu4c --force

Rename config/slack.js.default to slack.js

Navigate to https://.slack.com/account/gateways and find "Getting Started: IRC"

Fill up the slack.js file.

Run using:

node app.js

Commands:

Currently have a small number of commands. My intention was to make something that i can use to "mess" with my colleagues and have a laugh. But you can go further and implement whatever you want...

If you make something cool and want to share please make a pull request.

This could also be used to develop custom integrations for a free team with a limited number who already reached that limit.

Problems

  • doesn't work in DM's

Todo

  • fix DM (at the moment i don't think that's possible - i'll keep searching)
  • a better way to handle args
  • refactoring ( split app.js into modules )
  • better way to see the history ( web module ? )

About

[deprecated] Transform your account in a bot 🤖

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published