Created
October 9, 2020 14:15
-
-
Save Akkiesoft/6f3015b6ee5008f74e0bfc917b4b38cc to your computer and use it in GitHub Desktop.
スパムリププライヤーに対応するmikutterプラグイン
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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