mirror of
https://github.com/stryan/mumble-discord-bridge.git
synced 2024-11-22 13:25:45 -05:00
don't clear channel ID on auto toggle
This commit is contained in:
parent
7010fd277a
commit
5d413e3806
@ -150,7 +150,6 @@ func (l *DiscordListener) MessageCreate(s *discordgo.Session, m *discordgo.Messa
|
||||
go l.Bridge.AutoBridge()
|
||||
} else {
|
||||
l.Bridge.DiscordSession.ChannelMessageSend(m.ChannelID, "Auto mode disabled")
|
||||
l.Bridge.DiscordChannelID = ""
|
||||
l.Bridge.AutoChanDie <- true
|
||||
l.Bridge.Mode = BridgeModeManual
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user