Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
JINS PCに対応するためのmikutterプラグイン
#-*- coding: utf-8 -*-
Plugin.create :jins_pc do
filter_message_background_color do | mp, color |
# 青成分を50%カット
[mp, [color[0],color[1],(color[2] * 0.5).to_i]]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.