1.0.1 • Published 5 months ago

ams-bot v1.0.1

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago

Bot Chat Integration

Effortlessly automate tasks, from scheduling messages to content organization, enhancing efficiency. This bot is the solution for seamless integration, saving time, and boosting overall team productivity.

Currently Applicable : Slack

Creating an App in Slack (Bot)

Installation

npm i ams-bot

Usage

const { sendMessage } = require("ams-bot"); // import the installed package

// Replace these values with your actual data
const channel = 'your_channel_id';
const message = 'Hello, Slack!';
const slackApiToken = 'your_slack_api_token';
const pin = 'boolean (true/false)'

sendMessage(channel, message, slackApiToken, pin);

Tagging someone

in message pass <@${userName}> pass the userID !!!

1.0.1

5 months ago

1.0.0

5 months ago