提案 #1297 » search-without-twitter.patch
| core/plugin/search/.mikutter.yml | ||
|---|---|---|
|
- gui
|
||
|
- uitranslator
|
||
|
- skin
|
||
|
- twitter
|
||
|
version: '1.0'
|
||
|
author: toshi_a
|
||
|
name: 検索
|
||
| core/plugin/search/search.rb | ||
|---|---|---|
|
Plugin.call(:search_start, token.model.query)
|
||
|
end
|
||
|
intent :twitter_hashtag do |token|
|
||
|
Plugin.call(:search_start, token.model.title)
|
||
|
end
|
||
|
Delayer.new do
|
||
|
refresh_tab
|
||
|
end
|
||
| core/plugin/twitter/twitter.rb | ||
|---|---|---|
|
twitter.search(**options)
|
||
|
end
|
||
|
intent :twitter_hashtag do |token|
|
||
|
Plugin.call(:search_start, token.model.title)
|
||
|
end
|
||
|
defspell(:update_profile_name, :twitter) do |twitter, name:|
|
||
|
(twitter/'account/update_profile').user(name: name)
|
||
|
end
|
||