Skip to content

Commit

Permalink
add await to init_autoupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
xyloflake committed Sep 29, 2024
1 parent 0be3fc9 commit c44bf44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async fn main() {
// conditional compilation for only unix because auto
// update is not supported on non unix. for eg: windows
#[cfg(target_family = "unix")]
util::init_autoupdate();
util::init_autoupdate().await;

discord::initiate_bot().await;
}

0 comments on commit c44bf44

Please sign in to comment.