summaryrefslogtreecommitdiffstats
path: root/bridge/discord/discord.go
diff options
context:
space:
mode:
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 bc93b957..7159b08e 100644
--- a/bridge/discord/discord.go
+++ b/bridge/discord/discord.go
@@ -21,7 +21,6 @@ type Bdiscord struct {
c *discordgo.Session
nick string
- useChannelID bool
guildID string
webhookID string
webhookToken string
@@ -174,10 +173,6 @@ func (b *Bdiscord) JoinChannel(channel config.ChannelInfo) error {
defer b.channelsMutex.Unlock()
b.channelInfoMap[channel.ID] = &channel
- idcheck := strings.Split(channel.Name, "ID:")
- if len(idcheck) > 1 {
- b.useChannelID = true
- }
return nil
}