summaryrefslogtreecommitdiffstats
path: root/bridge/discord/discord.go
diff options
context:
space:
mode:
authorQais Patankar <qaisjp@gmail.com>2020-12-17 19:27:52 +0000
committerGitHub <noreply@github.com>2020-12-17 20:27:52 +0100
commit6de4c7e97196c738466d318dd2c45ec03ad05762 (patch)
tree7b0b7e57634e55cc59e43f72d6d3ac030fd360dd /bridge/discord/discord.go
parent03dc51ffa2c07c3bb35e834971650bbf1110e88e (diff)
downloadmatterbridge-msglm-6de4c7e97196c738466d318dd2c45ec03ad05762.tar.gz
matterbridge-msglm-6de4c7e97196c738466d318dd2c45ec03ad05762.tar.bz2
matterbridge-msglm-6de4c7e97196c738466d318dd2c45ec03ad05762.zip
Update webhook documentation (discord) (#1335)
Diffstat (limited to 'bridge/discord/discord.go')
-rw-r--r--bridge/discord/discord.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go
index 07e4f776..d63006a7 100644
--- a/bridge/discord/discord.go
+++ b/bridge/discord/discord.go
@@ -54,11 +54,6 @@ func (b *Bdiscord) Connect() error {
var err error
token := b.GetString("Token")
b.Log.Info("Connecting")
- if b.GetString("WebhookURL") == "" {
- b.Log.Info("Connecting using token")
- } else {
- b.Log.Info("Connecting using webhookurl (for posting) and token")
- }
if !strings.HasPrefix(b.GetString("Token"), "Bot ") {
token = "Bot " + b.GetString("Token")
}