diff --git a/README.md b/README.md index 1c59a9d..8b8e363 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +# Well, i guess this is not temporary anymore and will just become the new main + # Discord bot for logging Untis timetable to a Discord Webhook and Multiple accounts which can be added using !addaccount in a server whit the Bot ## create .env with Credentials diff --git a/Untis/Untis.go b/Untis/Untis.go index 5df1b28..51fe035 100644 --- a/Untis/Untis.go +++ b/Untis/Untis.go @@ -36,6 +36,7 @@ var Url = os.Getenv("URL") var location *time.Location func init() { + godotenv.Load("../.env") locEnv := os.Getenv("LOCATION_ENV") if locEnv == "" { locEnv = "UTC"