summaryrefslogtreecommitdiffstats
path: root/bridge/discord/transmitter
diff options
context:
space:
mode:
authorWim <wim@42.be>2022-03-12 17:06:39 +0100
committerGitHub <noreply@github.com>2022-03-12 17:06:39 +0100
commite4c0ca0f4807a36a6cc0ea5f793905539afa4648 (patch)
treecfaa8cb0c5650878047456f83b8e18299b15869d /bridge/discord/transmitter
parent9c203327c07d8fd4161c47163f35dfea29ac83b1 (diff)
downloadmatterbridge-msglm-e4c0ca0f4807a36a6cc0ea5f793905539afa4648.tar.gz
matterbridge-msglm-e4c0ca0f4807a36a6cc0ea5f793905539afa4648.tar.bz2
matterbridge-msglm-e4c0ca0f4807a36a6cc0ea5f793905539afa4648.zip
Switch to discordgo upstream again (#1759)
* Switch to upstream discordgo again * Fix discord api changes
Diffstat (limited to 'bridge/discord/transmitter')
-rw-r--r--bridge/discord/transmitter/transmitter.go2
-rw-r--r--bridge/discord/transmitter/utils.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/bridge/discord/transmitter/transmitter.go b/bridge/discord/transmitter/transmitter.go
index f327dfb7..71407a1d 100644
--- a/bridge/discord/transmitter/transmitter.go
+++ b/bridge/discord/transmitter/transmitter.go
@@ -20,7 +20,7 @@ import (
"sync"
"time"
- "github.com/matterbridge/discordgo"
+ "github.com/bwmarrin/discordgo"
log "github.com/sirupsen/logrus"
)
diff --git a/bridge/discord/transmitter/utils.go b/bridge/discord/transmitter/utils.go
index f42e81eb..042aa505 100644
--- a/bridge/discord/transmitter/utils.go
+++ b/bridge/discord/transmitter/utils.go
@@ -1,7 +1,7 @@
package transmitter
import (
- "github.com/matterbridge/discordgo"
+ "github.com/bwmarrin/discordgo"
)
// isDiscordPermissionError returns false for nil, and true if a Discord RESTError with code discordgo.ErrorCodeMissionPermissions