Remove debugging messages.
This commit is contained in:
@ -16,7 +16,6 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
|
|||||||
re := regexp.MustCompile("Please wait another (.*) minutes until the server can be bumped")
|
re := regexp.MustCompile("Please wait another (.*) minutes until the server can be bumped")
|
||||||
match := re.FindStringSubmatch(m.Embeds[0].Description)
|
match := re.FindStringSubmatch(m.Embeds[0].Description)
|
||||||
m.Content = fmt.Sprintf("@Thanos bs %+v", match[1])
|
m.Content = fmt.Sprintf("@Thanos bs %+v", match[1])
|
||||||
s.ChannelMessageSend(config.AdminChannel, m.Content)
|
|
||||||
BumpSet(BotCommand{
|
BumpSet(BotCommand{
|
||||||
Message: m,
|
Message: m,
|
||||||
Session: s,
|
Session: s,
|
||||||
|
|||||||
Reference in New Issue
Block a user