From acafed6b66b93d371032f21d3576e531926ae962 Mon Sep 17 00:00:00 2001 From: Daniel Aberger Date: Tue, 24 Jan 2017 22:57:29 +0100 Subject: [PATCH] Removing rcCounter and debug stuff --- main.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 4e0f697..44898a7 100644 --- a/main.go +++ b/main.go @@ -11,6 +11,7 @@ import ( "os" "os/signal" "runtime" + "runtime/debug" "strconv" "strings" "sync" @@ -39,9 +40,6 @@ var ( // mutex for checking if voice connection already exists mutex = &sync.Mutex{} - - // connection refresher counter - rcCounter int = 0 ) // Play represents an individual use of the !airhorn command @@ -410,6 +408,7 @@ func handleBotControlMessages(s *discordgo.Session, m *discordgo.MessageCreate, if len(parts) > 1 { if scontains(parts[1], "status") { displayBotStats(m.ChannelID) + debug.PrintStack() } } }