From e6aa16feea071d2b28233004c81163afc3579fe8 Mon Sep 17 00:00:00 2001 From: lyx0 Date: Thu, 14 Oct 2021 21:48:47 +0200 Subject: [PATCH] change ping to be more descriptive --- pkg/commands/ping.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/commands/ping.go b/pkg/commands/ping.go index 493ef80..5e4fee1 100644 --- a/pkg/commands/ping.go +++ b/pkg/commands/ping.go @@ -13,6 +13,6 @@ func Ping(channel string, client *twitch.Client, uptime time.Time) { commandCount := fmt.Sprint(utils.GetCommandsUsed()) botUptime := humanize.HumanizeTime(uptime) - s := fmt.Sprintf("Pong! :) Commands used: %v, Last restart: %v", commandCount, botUptime) - client.Say(channel, s) + reply := fmt.Sprintf("Pong! :) Commands used: %v, Last restart: %v", commandCount, botUptime) + client.Say(channel, reply) }