Copyright © 2017 Marcus Fihlon
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.
-
Go to https://my.slack.com/services/new/bot and create a new bot.
-
Write down the name of your bot and the auth token.
-
Clone this repository:
git clone https://github.com/chatbot-workshop/kotlin-slack-gravatar.git
Open the file src/main/resources/bot.conf
and enter the name of the bot, the auth token and the name of the channel, the bot should listen at in the corresponding lines.
Run the bot within your IDE or use Gradle at the command line: ./gradlew run
-
Open Slack and login using your credentials
-
Go to the channel your bot is listening at
-
Send an email address to this bot:
-
@botName email@address
, e.g.@mf-gravatar-bot marcus@fihlon.ch
-