summaryrefslogtreecommitdiffstats
path: root/bridge/discord
diff options
context:
space:
mode:
authorWim <wim@42.be>2020-03-08 17:08:18 +0100
committerGitHub <noreply@github.com>2020-03-08 17:08:18 +0100
commit9785edd26366be8eb11c2435f50f90a5c8eea7fc (patch)
treee8e236b5b273e7535c607507cc059f3b957068a1 /bridge/discord
parent2a0bc11b684f63305258e338c5f1d0e91eb24414 (diff)
downloadmatterbridge-msglm-9785edd26366be8eb11c2435f50f90a5c8eea7fc.tar.gz
matterbridge-msglm-9785edd26366be8eb11c2435f50f90a5c8eea7fc.tar.bz2
matterbridge-msglm-9785edd26366be8eb11c2435f50f90a5c8eea7fc.zip
Remove replace directives and use own fork to make go get work again (#1028)
See https://github.com/golang/go/issues/30354 go get doesn't honor the go.mod replace options.
Diffstat (limited to 'bridge/discord')
-rw-r--r--bridge/discord/discord.go2
-rw-r--r--bridge/discord/handlers.go2
-rw-r--r--bridge/discord/helpers.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go
index e37208b7..c0817911 100644
--- a/bridge/discord/discord.go
+++ b/bridge/discord/discord.go
@@ -10,7 +10,7 @@ import (
"github.com/42wim/matterbridge/bridge"
"github.com/42wim/matterbridge/bridge/config"
"github.com/42wim/matterbridge/bridge/helper"
- "github.com/bwmarrin/discordgo"
+ "github.com/matterbridge/discordgo"
)
const MessageLength = 1950
diff --git a/bridge/discord/handlers.go b/bridge/discord/handlers.go
index ab320975..2527c0db 100644
--- a/bridge/discord/handlers.go
+++ b/bridge/discord/handlers.go
@@ -2,7 +2,7 @@ package bdiscord
import (
"github.com/42wim/matterbridge/bridge/config"
- "github.com/bwmarrin/discordgo"
+ "github.com/matterbridge/discordgo"
)
func (b *Bdiscord) messageDelete(s *discordgo.Session, m *discordgo.MessageDelete) { //nolint:unparam
diff --git a/bridge/discord/helpers.go b/bridge/discord/helpers.go
index 7ea0a365..8bc4f336 100644
--- a/bridge/discord/helpers.go
+++ b/bridge/discord/helpers.go
@@ -6,7 +6,7 @@ import (
"strings"
"unicode"
- "github.com/bwmarrin/discordgo"
+ "github.com/matterbridge/discordgo"
)
func (b *Bdiscord) getNick(user *discordgo.User, guildID string) string {