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
| Plugin.create :home_timeline do | |
| tab :home_timeline, "Home Timeline" do | |
| set_icon MUI::Skin.get("timeline.png") | |
| timeline :home_timeline end | |
| on_update do |service, messages| | |
| timeline(:home_timeline) << messages end | |
| end |
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
| # -*- mode: snippet -*- | |
| # name: あーキチガイきたキチガイ | |
| # key: kichigai-has-come | |
| # -- | |
| あー${1:キチガイ}きた$1 | |
| 〃∩ ∧_∧ | |
| ⊂⌒( ・ω・) | |
| \_つ_つ | |
| ${2:( ◠‿◠ )}) ))ウッスw | |
| あー$1 いっちゃう$1 |
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
| # -*- mode: snippet -*- | |
| # name: うわああああああ | |
| # key: uwa | |
| # -- | |
| ( ^o^)${1:なんかセリフ} | |
| ( ˘⊖˘)。o(待てよ、なんで$1${2:なん}だ…?) | |
| |${3:place}| ┗(☋` )┓三 |
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
| # -*- mode: snippet -*- | |
| # name: えりつぃんだよー | |
| # key: eritwin | |
| # -- | |
| ${1:えりつぃんだよ|} | |
| A____A | |
| |・ㅅ・| | |
| |っ c| | |
| ${1:$(mapconcat (lambda (c) (concat "| " (char-to-string c) " |")) text "\n")} | |
| | | |
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
| d=:durun;Plugin.create(d){e=[];filtershow_filter{|s|s.select{|m|(e&[m.id])[0]}};command(d,name:'封印',condition:->o{o.messages[0]},visible:1,role: :timeline){|o|e << o.messages[0]}} |
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
| Plugin.create :gobou do | |
| GOBOU_SIGN = "♡" | |
| GOBOU_QUANTITY = 1 | |
| command(:gobou, | |
| name: 'ごぼう', | |
| condition: lambda{ |opt| !opt.messages.empty? and opt.messages.all? &:repliable? }, | |
| visible: true, | |
| role: :timeline) do |opt| | |
| opt.messages.each do |message| |
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
| Plugin.create :gobou do | |
| UserConfig[:gobou_sign] ||= "♡" | |
| UserConfig[:gobou_quantity] ||= 1 | |
| command(:gobou, | |
| name: 'ごぼう', | |
| condition: lambda{ |opt| !opt.messages.empty? and opt.messages.all? &:repliable? }, | |
| visible: true, | |
| role: :timeline) do |opt| | |
| opt.messages.each do |message| |
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
| Plugin.create :laco do | |
| command(:laco, | |
| name: 'らこらこらこ〜', | |
| condition: lambda{ |opt| true }, | |
| visible: true, | |
| role: :timeline) do |opt| | |
| Service.primary.update(message: "らこらこらこ〜") | |
| end | |
| end |
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
| Plugin.create :spellchecker do | |
| filter_gui_timeline_selected_messages do |timeline, messages| | |
| messages.each { |message| | |
| raise RuntimeError if /[Ff]ile:\/\/\// =~ message.to_s | |
| } | |
| [timeline, messages] | |
| end | |
| end |
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
| Plugin.create :twihai_achievements do | |
| defachievement(:red_fav, | |
| description: "1つのツイートに5ふぁぼ以上された", | |
| hint: "おもしろツイートで5fav以上もらおう" | |
| ) do |achievement| | |
| on_favorite do |service, user, message| | |
| if message.user.is_me? and message.favorited_by.size >= 5 | |
| achievement.take! end end end | |
| end |