Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

How to get instance of bot object for using bot.say() #11

Open
naqvijafar91 opened this issue Apr 20, 2017 · 1 comment
Open

How to get instance of bot object for using bot.say() #11

naqvijafar91 opened this issue Apr 20, 2017 · 1 comment

Comments

@naqvijafar91
Copy link

I want to send a message to a user, i have his slack id, how do i get the bot object without any hear,on.etc events from the controller

@starpause
Copy link

In what context do you have the user's slack id? By convention I pass bot and message parameters to all of my skills as a minimum, so that they always have access to those things.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants