Updated unmaintained dependency
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
extern crate lastfm;
|
||||
use dotenv::dotenv;
|
||||
extern crate dotenvy;
|
||||
|
||||
use serenity::async_trait;
|
||||
use serenity::model::channel::Message;
|
||||
@ -119,7 +119,7 @@ impl EventHandler for Handler {
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
START.call_once(|| {
|
||||
dotenv().ok();
|
||||
dotenvy::dotenv().expect("Failed to load .env");
|
||||
magick_wand_genesis();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user