diff --git a/handlers/basicCommands.go b/handlers/basicCommands.go index ba4123a..072c184 100644 --- a/handlers/basicCommands.go +++ b/handlers/basicCommands.go @@ -5,6 +5,7 @@ import ( "github.com/bwmarrin/discordgo" "kleincordBot/services" "log" + "os" "time" ) @@ -51,7 +52,7 @@ func StopCommand(s *discordgo.Session, i *discordgo.InteractionCreate) { s.ChannelMessageSendEmbed( LogChannelID, &discordgo.MessageEmbed{ - Title: "stopped with command", + Title: "stopped " + os.Getenv("ENVIRONMENT") + " with command", Timestamp: time.Now().Format(time.RFC3339), }) diff --git a/services/readJson.go b/services/readJson.go index 1a1ad55..773e89d 100644 --- a/services/readJson.go +++ b/services/readJson.go @@ -14,7 +14,6 @@ func readJson() []Server { if err != nil { fmt.Println(err) } - fmt.Println("Successfully Opened users.json") defer jsonFile.Close()