This repository has been archived by the owner on Apr 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 121
Making this work with multiple channels and hubot #5
Comments
Thanks @devTechi ! This is useful information. If you'd like to submit a PR to fix some or all of that I'd gladly accept it. |
Ok. Will see if I can do it tomorrow. |
devTechi
added a commit
to devTechi/mattermost-integration-giphy
that referenced
this issue
Dec 2, 2015
jwilander
added a commit
that referenced
this issue
Dec 17, 2015
…nels Now it is possible to have giphy support in multiple channels (see: #5)
@jwilander I've got an OT question concerning the Android app in development. Is it possible for me to test it? Or where should I ask for that? Thx 😊 |
Hello,
You should use a Regard |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
first of all thanks for this.
In order to work with hubot at the same time we need to change some environment variables, at least I did.
I changed yours to the following
and
To support multiple channels I changed the line
if data['token'] != MATTERMOST_GIPHY_TOKEN:
toMATTERMOST_GIPHY_TOKEN.find(data['token']) == -1:
After that you just need to create an outgoing webhook for every channel in every team and put it (perhaps comma separated) to your environment variable.
Works fine that way.
P.s.: for security reasons I changed the line
app.run(host='0.0.0.0', port=port)
toapp.run(host='127.0.0.1', port=port)
The text was updated successfully, but these errors were encountered: