A fun and interactive Slack bot that notifies users about new emoji additions with AI-generated descriptions.
Slackmoji Notifier is a Slack bot that monitors your workspace for new emoji additions. When a new emoji is added, it uses OpenAI's GPT model to generate a fun, creative description and sends a notification to a specified Slack channel.
- Real-time monitoring of new emoji additions in your Slack workspace
- AI-generated descriptions for each new emoji using OpenAI's GPT model
- Customizable Slack channel for notifications
- Easy deployment using Helm charts for Kubernetes
- Kubernetes cluster
- Helm 3+
- Slack Bot Token and App Token
- OpenAI API Key
Install the chart:
helm install slackmoji-notifier ./chart \
--set slack.botToken="your-slack-bot-token" \
--set slack.appToken="your-slack-app-token" \
--set slack.channel="#your-notification-channel" \
--set openai.apiKey="your-openai-api-key" \
--set openai.model="your-preferred-gpt-model" \
--set verbose=true
Clone the repository and install dependencies
git clone https://github.com/particledecay/slackmoji-notifier
go mod download
Build and run the application
go build -o slackmoji-notifier .
./slackmoji-notifier
Key configuration options:
- Helm values
slack.channel
: The Slack channel where notifications will be sentslack.botToken
: Your Slack Bot Tokenslack.appToken
: Your Slack App Tokenopenai.apiKey
: Your OpenAI API Keyverbose
: Enable verbose logging (default: false)
- Environment variables
SLACK_CHANNEL
: The Slack channel where notifications will be sentSLACK_BOT_TOKEN
: Your Slack Bot TokenSLACK_APP_TOKEN
: Your Slack App TokenOPENAI_API_KEY
: Your OpenAI API Key
For more configuration options, see the values.yaml file.
- Create a new Slack app at api.slack.com/apps and click "Create New App"
- Choose "From scratch"
- Give it a good name and select your workspace
- Scroll down and give it the icon at assets/logo.png
- Give it the background color '#6c5994'
- Click "Save Changes"
- Click "Socket Mode" in the left sidebar
- Click "Enable Socket Mode" and click "Generate" in the popup (this is your
SLACK_APP_TOKEN
) - Click "OAuth & Permissions" in the left sidebar
- Under "Bot Token Scopes" click "Add an OAuth Scope" and give it the following:
channels:read
chat:write
chat:write.public
emoji:read
- Under "OAuth Tokens" click "Install to " and click "Allow"
- Copy the "Bot User OAuth Token" (this is your
SLACK_BOT_TOKEN
) - Run the application locally (or within a Kubernetes cluster) and set
SLACK_CHANNEL
to any public channel
Emojis are a fun and expressive part of Slack communication. Slackmoji Notifier adds an extra layer of enjoyment by:
- Ensuring no new emoji goes unnoticed
- Providing funny, sometimes nonsensical AI-generated sentences
- Encouraging emoji usage and creativity within your team
Check out the Issues section or specifically issues created by me
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.