From b9d91a80bf32c21803c3887467059c72106be076 Mon Sep 17 00:00:00 2001 From: Ryan Yeske Date: Wed, 8 Jan 2025 10:09:14 -0700 Subject: [PATCH] Nice moon --- .air.toml | 4 ++-- handlers/pom.go | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.air.toml b/.air.toml index 40bfbd6..f6997c3 100644 --- a/.air.toml +++ b/.air.toml @@ -4,8 +4,8 @@ tmp_dir = "tmp" [build] args_bin = [] - bin = "./tmp/main" - cmd = "go build -o ./tmp/main ." + bin = "./tmp/annie" + cmd = "pkill annie; go build -o ./tmp/annie ." delay = 0 exclude_dir = ["assets", "tmp", "vendor", "testdata"] exclude_file = [] diff --git a/handlers/pom.go b/handlers/pom.go index 9d75933..93084ff 100644 --- a/handlers/pom.go +++ b/handlers/pom.go @@ -16,7 +16,12 @@ func POM(params bot.HandlerParams) error { return err } - params.Privmsgf(params.Target, "%s", out.String()) + str := out.String() + if strings.Contains(str, "69") { + str = str + " (nice)" + } + + params.Privmsgf(params.Target, "%s", str) return nil }