No commit activity in last 3 years
No release in over 3 years
It posts image according to the pattern in the room
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
~> 10.0
~> 3.0

Runtime

~> 1.6
= 0.5.2
 Project Readme

Blacksmith

Blacksmith is a custom meme plugin for robut, a HipChat room plugin. It posts image according to the pattern in the room.

Configure

In Gemfile:

gem 'blacksmith-hipchat'

run bundle install afterwards.

In Chatfile:

# Add the plugin to the list
Robut::Plugin.plugins << Blacksmith::Listener

# Select a room
Blacksmith::Config.room = "chatbot"

# custom server_url
Blacksmith::Config.server_url = "https://custom_server.com"

# API token for the account sending all messages
# See how to generate a personal token at https://www.hipchat.com/docs/apiv2/method/generate_token
Blacksmith::Config.api_token = "..."

# Map the Images with Regexp
Blacksmith::Config.draw do
  # map /regexp/, to: 'image_url'
  map /just do it/, to: 'https://i.imgur.com/4loCJ30.png'
end

Optional setup:

# Add a title to the message sender
Blacksmith::Config.title = "Memebot"