Skip to content

Instantly share code, notes, and snippets.

@shibafu528
Last active November 28, 2019 13:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shibafu528/9628014830a007612cc2e9d1619e1bc6 to your computer and use it in GitHub Desktop.
Save shibafu528/9628014830a007612cc2e9d1619e1bc6 to your computer and use it in GitHub Desktop.
Plugin.create :kadoma do
on_update do |w, ms|
ms.each do |m|
if m.description.include?("門真") || (m.description.include?("@") && m.description.include?("いやじゃ"))
compose(w, body: "@toshi_a@social.mikutter.hachune.net まちカドまぞくを見ろ")
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment