aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/channel.go1
-rw-r--r--config/guild.go3
2 files changed, 0 insertions, 4 deletions
diff --git a/config/channel.go b/config/channel.go
index 8b45382..723ec38 100644
--- a/config/channel.go
+++ b/config/channel.go
@@ -6,7 +6,6 @@ import (
"github.com/anhgelus/gokord/cmd"
discordgo "github.com/nyttikord/gokord"
- // "github.com/nyttikord/gokord/component"
"github.com/nyttikord/gokord/interaction"
)
diff --git a/config/guild.go b/config/guild.go
index 8096096..9cdb7e4 100644
--- a/config/guild.go
+++ b/config/guild.go
@@ -34,10 +34,7 @@ func (cfg *GuildConfig) Save() error {
func (cfg *GuildConfig) IsDisabled(s *discordgo.Session, channelID string) bool {
ok := true
- s.LogInfo("Configuration: %s", cfg.DisabledChannels)
- s.LogInfo("Channel %s, ok %t", channelID, ok)
for channelID != "" && ok {
- s.LogInfo("Channel %s, ok %t", channelID, ok)
ok = !strings.Contains(cfg.DisabledChannels, channelID)
c, err := s.State.Channel(channelID)
if err != nil {