diff --git a/src/utils.rs b/src/utils.rs index f59eab6..777736d 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -407,6 +407,7 @@ pub async fn leaderboard(ctx: &Context) -> CommandResult { } leaderboard_html.push_str(""); let mut file = std::fs::OpenOptions::new() + .create(true) .write(true) .open(env::var("LEADERBOARD").unwrap()) .unwrap();