all repos — paprika @ bb94c73d8044300715bfbb15bddc34634ef755ab

go rewrite of taigabot

Add .increase/.decrease
Anirudh Oppiliappan x@icyphox.sh
Thu, 30 Dec 2021 21:58:13 +0530
commit

bb94c73d8044300715bfbb15bddc34634ef755ab

parent

216907d713809ce6e2cd884590b9e6fb28a08931

1 files changed, 11 insertions(+), 1 deletions(-)

jump to
M plugins/meme.goplugins/meme.go

@@ -20,7 +20,12 @@ var n []byte

func (Meme) Triggers() []string { n, _ = base64.StdEncoding.DecodeString("bmlnZ2Vy") - return []string{"." + string(n), ".kiss"} + return []string{ + "." + string(n), + ".kiss", + ".increase", + ".decrease", + } } func (Meme) Execute(m *irc.Message) (string, error) {

@@ -51,6 +56,11 @@ return fmt.Sprintf(

"%s \x02\x034 。。・゜゜・。。・❤️ %s ❤️ \x03\x02", kaomoji[rand.Intn(len(kaomoji))], target, + ), nil + case ".increase", ".decrease": + return fmt.Sprintf( + "\x02[QUALITY OF CHANNEL SIGNIFICANTLY %sD]\x02", + strings.ToUpper(trigger[1:]), ), nil } return "", nil