Skip to content
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

Changed almost everything #5

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Changed almost everything #5

wants to merge 14 commits into from

Conversation

Kerwood
Copy link
Contributor

@Kerwood Kerwood commented Jan 28, 2018

Hi Jussi..
I did the changes that we talked about last time.
The bot now only responds if the message starts with !kontena.

The RtmClient datastore method was deprecated so I started looking for an alternative method. I ended up using Botkit instead. It just made more sense.
I added the ALLOW_ADMINS env. If you set it to true, all admins in the channel can use the bot.
I also made so if ALLOW_ADMINS is not set and theres no user list, no one can use the bot (instead of every one).

Anyway if you want it, you can merge it.

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

Successfully merging this pull request may close these issues.

1 participant