Skip to content

Commit c44bf44

Browse files
committed
add await to init_autoupdate
1 parent 0be3fc9 commit c44bf44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ async fn main() {
1515
// conditional compilation for only unix because auto
1616
// update is not supported on non unix. for eg: windows
1717
#[cfg(target_family = "unix")]
18-
util::init_autoupdate();
18+
util::init_autoupdate().await;
1919

2020
discord::initiate_bot().await;
2121
}

0 commit comments

Comments
 (0)