diff options
| author | seth <[email protected]> | 2023-11-16 01:08:26 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-11-16 01:08:26 -0500 |
| commit | 17573cb795caae3c44b8ab5974febfbe09bc344d (patch) | |
| tree | b534e79cbd666be90c58435eae3bf572039f7c67 /src | |
| parent | 63b1ccaa01a75acd310b550084c964b946a66f90 (diff) | |
fix: use ok() with dotenvy
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 6aa1cb4..462e334 100644 --- a/src/main.rs +++ b/src/main.rs @@ -50,7 +50,7 @@ async fn on_error(error: poise::FrameworkError<'_, Data, Error>) { #[tokio::main] async fn main() { env_logger::init(); - dotenvy::dotenv().unwrap(); + dotenvy::dotenv().ok(); let options = poise::FrameworkOptions { commands: commands::to_global_commands(), |
