Update map to be the right way around
This commit is contained in:
4
main.go
4
main.go
@ -157,7 +157,7 @@ func runPurge(s *discordgo.Session) {
|
|||||||
|
|
||||||
func ready(s *discordgo.Session, event *discordgo.Ready) {
|
func ready(s *discordgo.Session, event *discordgo.Ready) {
|
||||||
// Set the playing status.
|
// Set the playing status.
|
||||||
s.UpdateGameStatus(0, "DreamDaddy v2.2")
|
s.UpdateGameStatus(0, "DreamDaddy v2.3")
|
||||||
}
|
}
|
||||||
|
|
||||||
func guildMemberUpdate(s *discordgo.Session, m *discordgo.GuildMemberUpdate) {
|
func guildMemberUpdate(s *discordgo.Session, m *discordgo.GuildMemberUpdate) {
|
||||||
@ -230,7 +230,7 @@ func verifyMember(s *discordgo.Session, u discordgo.User) {
|
|||||||
st, _ := s.UserChannelCreate(u.ID)
|
st, _ := s.UserChannelCreate(u.ID)
|
||||||
s.ChannelMessageSend(st.ID, "Your verification has been accepted, welcome!")
|
s.ChannelMessageSend(st.ID, "Your verification has been accepted, welcome!")
|
||||||
m, _ := s.ChannelMessageSend(config.IntroChann, fmt.Sprintf("Welcome %+v please introduce yourself! :) feel free to check out <#710557387937022034> to tag your roles. Also please mute any channels you are not interested in!", u.Mention()))
|
m, _ := s.ChannelMessageSend(config.IntroChann, fmt.Sprintf("Welcome %+v please introduce yourself! :) feel free to check out <#710557387937022034> to tag your roles. Also please mute any channels you are not interested in!", u.Mention()))
|
||||||
introMsg[m.ID] = u.ID
|
introMsg[u.ID] = m.ID
|
||||||
}
|
}
|
||||||
|
|
||||||
func rejectVerification(s *discordgo.Session, u discordgo.User) {
|
func rejectVerification(s *discordgo.Session, u discordgo.User) {
|
||||||
|
|||||||
Reference in New Issue
Block a user