Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
〄が含まれるツイートを検出したら即座に空リプするmikutterプラグイン
# -*- coding: utf-8 -*-
Plugin.create :jis_empty_reply do
on_appear do |ms|
ms.each do |m|
if m.message.to_s =~ /〄/
Service.primary.post(:message => "#{"@" + m.user.idname}", :replyto => m)
end
end
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.