Skip to content

Commit

Permalink
version info in command
Browse files Browse the repository at this point in the history
  • Loading branch information
joshspicer committed Aug 13, 2023
1 parent d470aa7 commit a027db9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions server/clusterBot.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ func ClusterCommandHandler(bot *BotExtended, command string, args string) string
}

func clustersHelpCommand() string {
return ("- /status\n")
return "Help Menu."
}

func clusterStatusCommand() string {
return time.Now().Weekday().String()
versionInfo := fmt.Sprintf("[jarvis] %s, %s\n", version, commit)
return versionInfo
}

func augustInviteCommand(args string) string {
Expand All @@ -52,7 +53,7 @@ func augustInviteCommand(args string) string {
}
expiration := time.Now().Add(time.Hour * 32)

// TODO: Acually do it.
// TODO: Acually do it. Add cosmos for persistence, -or- sign the token.

return fmt.Sprintf("%s has been invited %d times until %s. Invite code: %s", name, count, expiration.Format(time.RFC822Z), uuid.String())
}

0 comments on commit a027db9

Please sign in to comment.