Skip to content

nkc-ug/Slack_Bot

Repository files navigation

NKCUG-Slack-Bot

NKCUG_Slack_Bot_Logo

SlackBot container service building on Ruby.

feature

  • Notification Emoji published.

Command in slack

  • 今日も一日

  • put_gif {search_query}

    • search gif image from tenor & post image

Usage

  1. Issue a Token from SlackAPI.
  • You can use Bots app. Search it in your workspace apps.
  1. Create .env file and write slack api token, etc.
# API KEY
SLACK_API_KEY=INSERT_HERE
# TENOR_API_KEY
TENOR_API_KEY=INSERT_HERE
# Notify Channel When publishing Emoji, etc
BOT_NOTIFICATION_CHANNEL=general

The file structure should be like this.

.
├── .env
├── .git
├── .gitignore
├── README.md
├── application
├── docker
└── docker-compose.yml
  1. Starting Container.
$ docker-compose up -d

LICENSE

MIT LICENSE

Releases

No releases published

Packages

No packages published