diff options
| author | ascpial <mail@ascpial.fr> | 2025-09-21 23:34:31 +0200 |
|---|---|---|
| committer | ascpial <mail@ascpial.fr> | 2025-09-21 23:34:31 +0200 |
| commit | 30f110d8d49cd1174882c58916147f52e09dd51e (patch) | |
| tree | c1aa0cdfec1b99761d393cb63b39057046be5b74 /config/guild.go | |
| parent | beaea94172f16c350515cb28941f3d5a2101b690 (diff) | |
fix(config): forgot some things
Diffstat (limited to 'config/guild.go')
| -rw-r--r-- | config/guild.go | 3 |
1 files changed, 0 insertions, 3 deletions
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 { |
