Removing rcCounter and debug stuff

This commit is contained in:
da
2017-01-24 22:57:29 +01:00
parent 7c669ade2c
commit acafed6b66
+2 -3
View File
@@ -11,6 +11,7 @@ import (
"os" "os"
"os/signal" "os/signal"
"runtime" "runtime"
"runtime/debug"
"strconv" "strconv"
"strings" "strings"
"sync" "sync"
@@ -39,9 +40,6 @@ var (
// mutex for checking if voice connection already exists // mutex for checking if voice connection already exists
mutex = &sync.Mutex{} mutex = &sync.Mutex{}
// connection refresher counter
rcCounter int = 0
) )
// Play represents an individual use of the !airhorn command // 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 len(parts) > 1 {
if scontains(parts[1], "status") { if scontains(parts[1], "status") {
displayBotStats(m.ChannelID) displayBotStats(m.ChannelID)
debug.PrintStack()
} }
} }
} }