remove panics
This commit is contained in:
Vendored
-4
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user