diff options
Diffstat (limited to 'bridge/discord/discord.go')
-rw-r--r-- | bridge/discord/discord.go | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go index 0df03212..e7d98c10 100644 --- a/bridge/discord/discord.go +++ b/bridge/discord/discord.go @@ -142,12 +142,16 @@ func (b *Bdiscord) Connect() error { } b.canEditWebhooks = len(channelsDenied) == 0 - if b.canEditWebhooks { - b.Log.Info("Can manage webhooks; will edit channel for global webhook on send") - } else { - b.Log.Warn("Can't manage webhooks; won't edit channel for global webhook on send") - b.Log.Warn("Can't manage webhooks in channels: ", strings.Join(channelsDenied, ", ")) - } + b.canEditWebhooks = false + b.Log.Info("Webhook editing is disabled because of ratelimit issues") + /* + if b.canEditWebhooks { + b.Log.Info("Can manage webhooks; will edit channel for global webhook on send") + } else { + b.Log.Warn("Can't manage webhooks; won't edit channel for global webhook on send") + b.Log.Warn("Can't manage webhooks in channels: ", strings.Join(channelsDenied, ", ")) + } + */ } b.channelsMutex.RUnlock() |