From e4c0ca0f4807a36a6cc0ea5f793905539afa4648 Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 12 Mar 2022 17:06:39 +0100 Subject: Switch to discordgo upstream again (#1759) * Switch to upstream discordgo again * Fix discord api changes --- bridge/discord/transmitter/transmitter.go | 2 +- bridge/discord/transmitter/utils.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'bridge/discord/transmitter') 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 -- cgit v1.2.3