This file contains hidden or 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 -*- | |
# favstarを開く | |
Plugin.create :open_favstar_of_tweet do | |
command(:open_favstar_of_tweet, | |
name: 'このTweetのFavstarを見る', | |
condition: Plugin::Command[:HasMessage], | |
visible: true, | |
role: :timeline) do |opt| |
This file contains hidden or 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 :block do | |
UserConfig[:block_update_interval] ||= 15 | |
@blocked_ids = [] | |
@no_retweets_ids = [] | |
@muted_user_ids = [] |
This file contains hidden or 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 :ebi_beam do | |
command(:ebi_beam, | |
name: 'エビビーム', | |
condition: lambda{ |opt| true}, | |
visible: false, | |
role: :window) do |opt| | |
Service.primary.post(:message => 'エビビームビビビビビビビwwwwwwwwww') | |
end | |
end |