Skip to content

Instantly share code, notes, and snippets.

@Akkiesoft
Created October 9, 2020 14:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Akkiesoft/6f3015b6ee5008f74e0bfc917b4b38cc to your computer and use it in GitHub Desktop.
Save Akkiesoft/6f3015b6ee5008f74e0bfc917b4b38cc to your computer and use it in GitHub Desktop.
スパムリププライヤーに対応するmikutterプラグイン
# -*- coding: utf-8 -*-
Plugin.create(:fxxk_spam_tooter) do
command(
:fxxk_spam_tooter,
name: 'スパムリププライヤーに対応する',
condition: -> _ { true },
visible: true,
role: :timeline
) do |opt|
plugins = [:toyasunpalace, :kumabokujo, :daigorou, :famous_tweet_reply, :mikutter_hokkaido_no_ie ]
opt.messages.each do |message|
5.times {
Plugin.call(plugins.sample, message)
}
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment