mirror of
https://github.com/stryan/mumble-discord-bridge.git
synced 2024-11-23 05:45:41 -05:00
actually add users in initial run
This commit is contained in:
parent
ab1046838c
commit
8e2fe4f3b7
@ -113,13 +113,14 @@ func startBridge(discord *discordgo.Session, discordGID string, discordCID strin
|
||||
u, err := discord.User(vs.UserID)
|
||||
if err != nil {
|
||||
log.Println("error looking up username")
|
||||
continue
|
||||
}
|
||||
Bridge.DiscordUsers[u.Username] = true
|
||||
Bridge.Client.Do(func() {
|
||||
Bridge.Client.Self.Channel.Send(fmt.Sprintf("%v has joined Discord channel\n", u.Username), false)
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
Bridge.Connected = true
|
||||
|
||||
select {
|
||||
|
Loading…
Reference in New Issue
Block a user