-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only hear when mentioned? #9
Comments
I'm not at my computer so I can't confirm but, it might be possible by setting the |
Ok, was just able to verify this works: config :alfred, Alfred.Robot,
adapter: Hedwig.Adapters.Slack,
token: System.get_env("SLACK_TOKEN"),
name: "alfred",
aka: "!|<@U2FC3P1PH>",
responders: [...] Now my bot will respond to Hope that helps! |
Thank you @scrogson. Is the id of the slackbot always the same? Would it be ok to hardcode it? What do you think about making this behaviour a standard? Maybe we could replace the |
@philipgiuliani as far as I know, the bot's I've recently (yesterday) pushed code to Hedwig |
Hi guys, I was thinking about the same. What would be the correct solution for now? |
Re. the other part of the earlier question, is there a way to make the bot respond to unprefixed commands over DM but require the prefix otherwise? |
Its possible to only hear when the bot is mentioned unless in its own chat? This would only affect responders. I would be much nicer in slack to write
@bot help
instead ofbot help
.The text was updated successfully, but these errors were encountered: