generated from 42ip/template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
output.yag
27 lines (27 loc) · 3.29 KB
/
output.yag
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{{$a := index .CmdArgs 0 }}
{{$b := cslice "" "L" "aaa" "adios" "ahegao" "analyse" "angery" "angry" "angrycarrot" "angryping" "animelove" "antisigma" "astro" "auto" "awkward" "baka" "ban" "beaut" "beluga" "belugagif" "besties" "birdd" "blobdance" "bonk" "bopcorn" "build" "bunnycat" "carpt" "catcry" "catface" "catfight" "cathypervibe" "catpeep" "catree" "catultravibe" "catvibe" "catvibe2" "catvibe3" "che" "choggers" "clown" "code" "coding" "cofe" "cofe2" "cofe3" "cofexphile" "coffeeman" "comficat" "compro" "comprofinish" "comradecat" "cool" "cooldance" "coomercat" "cpr" "cry" "crydrink" "crydrink2" "dance" "danceamongus" "danceanim" "dancecat" "dancedood" "danceduck" "dancin" "dankies" "dap" "ded" "dekho" "depression" "dio" "drake" "drum" "dud" "dum" "dumbu" "eat" "elgato" "elgato1" "elgato2" "elgato3" "elgato4" "elgato5" "elgato6" "empty" "f" "fight" "flush" "frogie" "funi" "garbage" "getsomehelp" "goleft" "goodbye" "goright" "haha" "hammer" "happy" "happy2" "happykitty" "hecker" "hehe" "hehecat" "hehesad" "hello" "hey" "hisucry" "hitcat" "hitcat2" "hitcat3" "hmm" "hshake" "hshake2" "hshake3" "hshake4" "hshake5" "hshake6" "hue" "huh" "hungry" "hyper" "hyperneko" "innocat" "innocent" "jam" "jb" "jb2" "jc" "jc2" "jc3" "jc4" "jumpcat" "jumpcat2" "jumpcat3" "jumpcat4" "justfuckingendme" "kambli" "kanyekawaii" "kek" "kickout" "kirbydance" "kittypet" "koko" "konnichiwa" "kpray" "kripaleat" "kripalpray" "kshksh" "lesgo" "lesgo2" "lick" "life" "linkin" "linux" "lonely" "lookatthiscat" "m2m" "mad" "mention" "mok" "monke" "mryeshappy" "muah" "myman" "nod" "nomnom" "noted" "notfair" "notfair2" "notfuni" "nothehecat" "noti" "notnow" "nou" "ohho" "okayudance" "omg" "oni" "pain" "party" "pat" "penguinhit" "peped" "pepeoeye" "pgp" "phile" "phile2" "phile3" "phile4" "philent" "philent2" "philent3" "pika" "ping" "please" "pls" "prash" "prashcry" "prashwhenmeghana" "pray" "pray2" "pwm" "ragej" "rain" "rgbnou" "rock" "run" "runanime" "sad" "sadcat" "sadhorn" "sadpat" "salt" "sasa" "sasa2" "scared" "scaredhamster" "shakeit" "shoot" "shut" "shuttleBot" "si67" "sigma" "simp" "sneak" "sneaky" "solider" "somethingweirdpgpwanted" "spookicat" "stare" "stoptalking" "strum" "stuff" "superidol" "sus" "tata" "tf" "thanos" "think" "thomas" "thrash" "thumb" "together" "tonybhau" "twa" "twerkcraft" "twerkmongus" "uajokevro" "umaru" "unsee" "uwu" "vericool" "vibe" "vibin" "waa" "walk" "walk2" "wave" "wcg" "wco" "wco2" "weeb" "wenotfriends" "wha" "whaaa" "what" "whencarptonline" "wherebanana" "whoasked" "whygodwhy" "wildchan" "woo" "worried" "wow" "wtf" "wtf2" "yay" "yeet" "yellowman" "yellowmanbig" "ym" "ymbig" "zoom" }}
{{if or (eq $a "stickers") (eq $a "gifs") (eq $a "gif") (eq $a "gifss") }}
{{deleteTrigger 0 }}
{{if eq (len .Args) 1}}
{{$r := joinStr " " $b.StringSlice}}
{{$r}}
{{else if eq (len .Args) 2}}
{{$c := index .CmdArgs 1}}
{{$s := cslice " " }}
{{range $index,$value := $b}}
{{- if or (hasPrefix $value $c) ( and (eq $a "gifss" ) ( reFind $c $value ) ) -}}
{{$s = $s.Append $value}}
{{- end -}}
{{- end}}
{{$r := joinStr " " $s.StringSlice}}
{{$r := str $r}}
{{$r}}
{{ deleteResponse 30 }}
{{end}}
{{end}}
{{range $b}}
{{- if eq . $a -}}
{{- $link := joinStr "" "https://github.com/42ip/animatedStickersDB/blob/main/stickersraw/" $a ".gif?raw=true" -}}
{{- $link -}}
{{- end -}}
{{- end}}