remove panics

This commit is contained in:
unintendedfraud
2024-03-25 01:34:57 +01:00
parent 4f9e06d4c1
commit 84529ca966
2 changed files with 3 additions and 6 deletions
Vendored
-4
View File
@@ -19,8 +19,6 @@ func GetEnvVariables() Env {
AppID: tempest.StringToSnowflake(os.Getenv("HAL_APP_ID")),
PublicKey: os.Getenv("HAL_PUBLIC_KEY"),
Token: os.Getenv("HAL_TOKEN"),
Port: os.Getenv("PORT"),
Addr: os.Getenv("ADDR"),
ServerIDs: serverIDs,
OpenaiHalToken: os.Getenv("OPENAI_HAL"),
}
@@ -30,8 +28,6 @@ type Env struct {
AppID tempest.Snowflake
PublicKey string
Token string
Port string
Addr string
ServerIDs []tempest.Snowflake
OpenaiHalToken string
}