slack-bot-api
slack-bot-api copied to clipboard
:rocket: Simple way to control your Slack Bot
I'm currently building a bot and i'm trying to handle a message event, such that when there is a message on a channel which includes a `help` string the bot...
Node version 12 deprecated OutgoingMessage.prototype._headers, which is used in `ws`. https://nodejs.org/api/deprecations.html#deprecations_dep0066_outgoingmessage_prototype_headers_outgoingmessage_prototype_headernames Just keep an eye out for updates that rectifies the issue. Not a blocker right now but probably good...
Can someone please explain why am I getting 'undefined'? ``` bot.postMessageToChannel('test-bot-channel', 'Hi',params).always(function(data) { console.log('success? -->'+data); //output: success? -->undefined }); ``` The message was posted to the channel successfully. Edit: when...
I'm trying to write a message using the channel name but data only logs the ID. When I try using the "getChannelById()" method, it always returns "Undefined". I tried using...
This is feature request. Or is it possible to do it with current API?
the kind:ping causes slack to constantly respond with an invalid message type now. Also allow disabling the ping in case the user wants to handle it on their own.
Hello, I am having an issue with only being able to use my bot in one channel. Is there a way to post info to whichever channel the bot is...
```js bot.postMessageToChannel('channelname', "Some message", params) .then(function(data) { console.log("slack data", data); return data; }); ``` `data` should be the information regarding the posted message, right? But currently I'm just receiving `undefined`....
Hello, I am having a bit of a problem, I don't know how to make bot mention someone @name. For example I type "hello" and I want the bot to...