Skip to content

Commit

Permalink
updated rs command message
Browse files Browse the repository at this point in the history
  • Loading branch information
BK1031 committed Aug 30, 2024
1 parent cf01a53 commit 5bcc793
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commands/rs.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func RemoveSubteam(args []string, s *discordgo.Session, m *discordgo.MessageCrea
if counter == 0 {
go service.SendDisappearingMessage(m.ChannelID, "Command usage: `!rs <aero | business | chassis | data | electronics | powertrain | suspension>`", 5*time.Second)
} else {
go service.SendDisappearingMessage(m.ChannelID, "Added "+strconv.Itoa(counter)+" subteam roles!", 5*time.Second)
go service.SendDisappearingMessage(m.ChannelID, "Removed "+strconv.Itoa(counter)+" subteam roles!", 5*time.Second)
}
}
}
2 changes: 1 addition & 1 deletion jobs/discord.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
func RegisterDiscordCronJob() {
if config.Env != "PROD" {
utils.SugarLogger.Infoln("Discord CRON Job not registered because environment is not PROD")
// return
return
}
c := cron.New()
CleanDiscordJob(c)
Expand Down

0 comments on commit 5bcc793

Please sign in to comment.