Browse Source

Rollback guildMemberRoleAdd

hkremer/rebranding
Gregory Rudolph 4 years ago
parent
commit
75e029503a
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 12
      main.go

12
main.go

@ -163,12 +163,12 @@ func ready(s *discordgo.Session, event *discordgo.Ready) {
s.UpdateStatus(0, "DreamDaddy v0.9") s.UpdateStatus(0, "DreamDaddy v0.9")
} }
func guildMemberRoleAdd(s *discordgo.Session, m *discordgo.GuildMemberRoleAdd) { //func guildMemberRoleAdd(s *discordgo.Session, m *discordgo.GuildMemberRoleAdd) {
defer log.PanicSafe() // defer log.PanicSafe()
config.Unverified[m.User.ID] = time.Now() // config.Unverified[m.User.ID] = time.Now()
config.Probations[m.User.ID] = time.Now() // config.Probations[m.User.ID] = time.Now()
saveConfig() // saveConfig()
} //}
func guildMemberAdd(s *discordgo.Session, m *discordgo.GuildMemberAdd) { func guildMemberAdd(s *discordgo.Session, m *discordgo.GuildMemberAdd) {
defer log.PanicSafe() defer log.PanicSafe()

Loading…
Cancel
Save