Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MergeAoi = &faceplusplus.MergeTargetCommand{ TargetName: "aoi", TargetURLs: []string{ "https://upload.wikimedia.org/wikipedia/commons/thumb/8/87/Miyazaki_Aoi_at_Opening_Ceremony_of_the_Tokyo_International_Film_Festival_2017_%2840170393182%29.jpg/220px-Miyazaki_Aoi_at_Opening_Ceremony_of_the_Tokyo_International_Film_Festival_2017_%2840170393182%29.jpg", "https://s.eximg.jp/exnews/feed/Gendai/Gendai_553683_ebf1_1.jpg", "https://www.sankei.com/images/news/180519/ent1805190009-p1.jpg", "https://www.sankei.com/images/news/171223/ent1712230004-p1.jpg", "https://img.jisin.jp/uploads/2018/07/miyazaki_aoi_1_line_Tw.jpg", "https://www.sponichi.co.jp/entertainment/news/2018/05/08/jpeg/20180507s00041000262000p_view.jpg", "https://pbs.twimg.com/profile_images/561149770744348673/9vMOpgft_400x400.jpeg", "https://entertainment-ib.com/wp-content/uploads/2018/06/335.jpg", "https://festy.jp/wp-content/uploads/2018/06/CenK2ZsWAAA56G.jpg&width&height&sha=cc4c90a5c4c042b63562043329b54d62a343ee44-500x358.jpg", "https://img.cinematoday.jp/a/A0001642/_size_640x/A0001642-00.jpg", "https://i.ytimg.com/vi/AAxdoxaYWG0/maxresdefault.jpg", "http://芸能人の整形事情.com/wp-content/uploads/2016/04/WS000024.jpg", "https://i0.wp.com/milkpan.link/wp-content/uploads/2017/03/aoi-e1488470620993.jpg?resize=416%2C452&ssl=1", }, UseWhitelist: true, Whitelist: []string{ "takuma.morikawa", }, }
View Source
var MergeKanada = &faceplusplus.MergeTargetCommand{ TargetName: "kanada", TargetURLs: []string{ "https://d2v9k5u4v94ulw.cloudfront.net/small_light(dw=260,dh=260,da=s,ds=s,cw=260,ch=260,cc=FFFFFF)/assets/images/1107900/original/53c36a47-d5de-4a85-936b-59622f5ea020?1547373809", "https://image-careerhack.en-japan.com/1238/Panel_optimized.jpg", "https://eure.jp/wp-content/uploads/2018/10/kanada_400.png", "https://supership.jp/wp-content/uploads/2017/09/795316b92fc766b0181f6fef074f03fa.png", "https://prod-fastgrow.s3.amazonaws.com/uploads/articles/detail/91/eureka-kanada-sub03.jpg", "https://connpass-tokyo.s3.amazonaws.com/user/54704/b010a59051fb46edae7b00f6e790915c.png", "https://image-careerhack.en-japan.com/1238/image2_optimized.jpg", "https://image-careerhack.en-japan.com/1240/image2.jpg", "https://cdn-natgeo.nikkeibp.co.jp/atcl/news/16/060200197/ph_thumb.jpg", "https://livedoor.blogimg.jp/jin115/imgs/a/e/ae746fee-s.jpg", "https://s3-ap-northeast-1.amazonaws.com/storage.withnews.jp/2015/09/25/a/98/a98c8796-l.jpeg", "http://www.enrichment-jp.org/wp-content/uploads/2014/06/gorilla.jpg", "https://icotto.k-img.com/system/press_images/000/015/385/ec713e04b695c1732f90390ae896ed436b5ac2fc.jpeg", }, }
View Source
var MergeRizap = &faceplusplus.MergeTargetCommand{ TargetName: "rizap", TargetURLs: []string{ "https://img-mdpr.freetls.fastly.net/article/q0Ff/nm/q0FfMn8dh5Bwu1E9UHqtLycNGIK36Z7V5wqcRXKEWf8.jpg", "http://livedoor.blogimg.jp/netachou1/imgs/a/6/a6712399.jpg", "https://sociopouch.files.wordpress.com/2019/07/4.jpg", "https://imagef.navi.com/images/templates/TAIPEI/1004448/676844196e1f08b7_S.jpg", "http://ryugaku-sapport.sakura.ne.jp/img/s-2016y01m16d_095441604.jpg", "https://diet.news-postseven.com/wp-content/uploads/2018/09/rizap_umezawa_ba.jpg", "https://cdn.shiru.company/2018/04/satohhitomi_before-after.jpg", "https://cdn-ak.f.st-hatena.com/images/fotolife/m/mitomito777/20181118/20181118191150.jpg", "https://www.singaweblog.com/wp-content/uploads/2018/08/rizap-a.jpg", "https://rizap.xsrv.jp/wp-content/uploads/2019-03-25-17.05.06.png", "https://ライザップ体験記.com/wp/wp-content/uploads/2015/06/000317.jpg", "https://cyclestyle.net/imgs/p/VV1edTZuitQuloxsN4RzFBspniShQiYhICMi/240940.jpg", }, UseWhitelist: true, Whitelist: []string{ "takuma.morikawa", "hiroki.kojima", }, }
View Source
var MergeYui = &faceplusplus.MergeTargetCommand{ TargetName: "yui", TargetURLs: []string{ "https://orionfdn.org/wp-content/uploads/2018/12/WS000011-69.jpg", "https://image.entertainment-topics.jp/item/image/normal/3200590.jpg?time=1515810369", "https://thetv.jp/i/nw/172416/1013915.jpg?w=615", "https://free-style-info.com/wp-content/uploads/2017/08/aragaki08-20170807-600x338.jpg", "https://i1.wp.com/buzzb2.com/wp-content/uploads/2019/06/aragakiyui5.jpg?resize=267%2C300&ssl=1", "https://imgc.eximg.jp/cv/resize?i=https%3A%2F%2Fs.eximg.jp%2Fexnews%2Ffeed%2FCrankin%2FCrankin_5416703_6d17_1.jpg&t=jpeg&q=70&w=600", "https://66.media.tumblr.com/ecddc354a681f125ab4f65db070d455b/tumblr_pverrpScBs1w1yutso1_500.jpg", "https://66.media.tumblr.com/41ea7fd9a06dc28782e7b7b3248f1732/tumblr_pves5uncjm1w1yutso4_400.jpg", "https://66.media.tumblr.com/4855f629d04c193666269eea60ae229c/tumblr_pukp3iqiNW1w1yutso1_400.jpg", "https://66.media.tumblr.com/c0e599b3e0ba884d6beb893410b40d0d/tumblr_pukmmqrcuU1w1yutso1_500.jpg", "https://66.media.tumblr.com/ef001304d94e95a310236f5aa3e7d12b/tumblr_pukm4oUZmq1w1yutso1_500.jpg", "https://66.media.tumblr.com/e4ff06577cd7d80de1c4a83c3aa59019/tumblr_pukly9Uffz1w1yutso1_500.jpg", }, UseWhitelist: true, Whitelist: []string{ "takuma.morikawa", "hiroki.kojima", }, }
Functions ¶
This section is empty.
Types ¶
type ReactEmojiCommand ¶
type ReactEmojiCommand struct { HighProbList []string Blacklist []string HighProbability int DefaultProbability int // contains filtered or unexported fields }
func (*ReactEmojiCommand) Exec ¶
func (r *ReactEmojiCommand) Exec(d command.CommandData)
func (ReactEmojiCommand) GetHelp ¶
func (ReactEmojiCommand) GetHelp() string
func (ReactEmojiCommand) GetMentionCommand ¶
func (ReactEmojiCommand) GetMentionCommand() string
func (ReactEmojiCommand) GetRegexp ¶
func (ReactEmojiCommand) GetRegexp() *regexp.Regexp
func (ReactEmojiCommand) HasHelp ¶
func (ReactEmojiCommand) HasHelp() bool
type TFQueryCommand ¶
func (*TFQueryCommand) Exec ¶
func (t *TFQueryCommand) Exec(d command.CommandData)
func (TFQueryCommand) GetHelp ¶
func (TFQueryCommand) GetHelp() string
func (TFQueryCommand) GetMentionCommand ¶
func (t TFQueryCommand) GetMentionCommand() string
func (TFQueryCommand) GetRegexp ¶
func (TFQueryCommand) GetRegexp() *regexp.Regexp
func (TFQueryCommand) HasHelp ¶
func (TFQueryCommand) HasHelp() bool
type TFQueryOutput ¶
func (TFQueryOutput) GetRandomVal ¶
func (o TFQueryOutput) GetRandomVal() string
type TFQueryOutputs ¶
type TFQueryOutputs struct {
Outputs []TFQueryOutput `json:"outputs"`
}
func (TFQueryOutputs) GetRandomVal ¶
func (o TFQueryOutputs) GetRandomVal() string
func (TFQueryOutputs) HasValue ¶
func (o TFQueryOutputs) HasValue() bool
type TFQueryResult ¶
type TFQueryResult struct {
// contains filtered or unexported fields
}
func (*TFQueryResult) Add ¶
func (r *TFQueryResult) Add(text string)
func (TFQueryResult) Show ¶
func (r TFQueryResult) Show() string