change ping to be more descriptive

This commit is contained in:
lyx0 2021-10-14 21:48:47 +02:00
parent c16a839d5b
commit e6aa16feea

View file

@ -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)
}