summaryrefslogtreecommitdiffstats
path: root/bridge/discord
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/discord')
-rw-r--r--bridge/discord/discord.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go
index 184dde85..5f28a3bd 100644
--- a/bridge/discord/discord.go
+++ b/bridge/discord/discord.go
@@ -148,6 +148,11 @@ func (b *Bdiscord) Connect() error {
return fmt.Errorf("use of removed WebhookURL setting")
}
+ if b.GetInt("debuglevel") > 0 {
+ b.Log.Debug("enabling even more discord debug")
+ b.c.Debug = true
+ }
+
// Initialise webhook management
b.transmitter = transmitter.New(b.c, b.guildID, "matterbridge", b.useAutoWebhooks)
b.transmitter.Log = b.Log