diff --git a/discordMessage.go b/discordMessage.go index 664bd2a..a6060f6 100644 --- a/discordMessage.go +++ b/discordMessage.go @@ -27,13 +27,8 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) { } if strings.Contains(m.Embeds[0].Description, "Bump done!") { log.LogDebug("Finding string %+v", m.Embeds[0].Description) - if time.Since(config.BumpTime) < 2*time.Hour { - //s.ChannelMessageSend(m.ChannelID, fmt.Sprintf("Sorry, <@%+v> already claimed the bump. Better luck next time!", config.LastBumper)) - return - } activeInteraction(s, m.Author.ID) config.LastBumper = m.Author.ID - //go bumpTimer(s) } return @@ -68,8 +63,6 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) { s.ChannelMessageSend(m.ChannelID, fmt.Sprintf("Sorry, <@%+v> already claimed the bump. Better luck next time!", config.LastBumper)) return } - activeInteraction(s, m.Author.ID) - config.LastBumper = m.Author.ID go bumpTimer(s) return }