Browse Source

Fix bot

master
Jonas Franz 4 years ago
parent
commit
5bd6da233b
  1. 2
      bot.go

2
bot.go

@ -30,7 +30,7 @@ var ( @@ -30,7 +30,7 @@ var (
func main() {
token := os.Getenv("MENSABOT_TOKEN")
if len(token) == 0 {
if len(token) == 0 || token == "token" {
println("Please add token as environment variable: MENSABOT_TOKEN.")
return
}

Loading…
Cancel
Save