Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/salimkayabasi/slack-chat
Basic slack chat bot implementation
https://github.com/salimkayabasi/slack-chat
Last synced: 7 days ago
JSON representation
Basic slack chat bot implementation
- Host: GitHub
- URL: https://github.com/salimkayabasi/slack-chat
- Owner: salimkayabasi
- Created: 2016-12-22T06:30:33.000Z (almost 8 years ago)
- Default Branch: develop
- Last Pushed: 2022-06-26T08:12:10.000Z (over 2 years ago)
- Last Synced: 2024-11-08T09:45:33.273Z (9 days ago)
- Language: JavaScript
- Homepage:
- Size: 437 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
[![npm version](https://badge.fury.io/js/slack-chat.svg)](http://badge.fury.io/js/slack-chat)
[![Dependency Status](https://david-dm.org/salimkayabasi/slack-chat.svg)](https://david-dm.org/salimkayabasi/slack-chat)
[![DevDependency Status](https://david-dm.org/salimkayabasi/slack-chat/dev-status.svg)](https://david-dm.org/salimkayabasi/slack-chat#info=devDependencies)
[![PeerDependency Status](https://david-dm.org/salimkayabasi/slack-chat/peer-status.svg)](https://david-dm.org/salimkayabasi/slack-chat#info=peerDependencies)
[![Build Status](https://travis-ci.org/salimkayabasi/slack-chat.svg?branch=master)](https://travis-ci.org/salimkayabasi/slack-chat)
[![Greenkeeper badge](https://badges.greenkeeper.io/salimkayabasi/slack-chat.svg)](https://greenkeeper.io/)# slack-chat
Basic slack chat bot implementation
```$bash
yarn add slack-chat
``````$js
import SlackChat from 'slack-chat';const bot = new SlackChat({
/* options */
token, // slack bot token
username, // username of your bot
channel // channel name which message will be sent (#general is default channel)
});
await bot.postMessage('your message');
```