sleeyax / aternos-discord-bot

Discord bot to start & stop a Minecraft server automatically
https://hub.docker.com/r/sleeyax/aternos-discord-bot/tags
MIT License
75 stars 93 forks source link

Run command #16

Closed deseve closed 2 years ago

deseve commented 2 years ago

Hello if your running it on replit what is the run command for Go language

sleeyax commented 2 years ago

Why would you use replit? Just use vscode, goland or a even a terminal like a sane developer...

If whatever IDE you use can't execute the go run main.go or go build commands it's broken and I do not want to support it. Feel free to create a PR if you figure it out though.

sleeyax commented 2 years ago

That being said by reading the replit docs you should be able to set environment variables and then run go run cmd/main.go

https://docs.replit.com/programming-ide/storing-sensitive-information-environment-variables