Skip to content

Commit

Permalink
Update main.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
tuna2134 committed Sep 13, 2023
1 parent f02df8a commit 636d99f
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 @@ -62,7 +62,7 @@ async fn main() -> Result<(), Box<dyn Error + Send + Sync>> {
create_application_commands(Arc::clone(&client)).await?;

loop {
let shard = shard_lock.write().await;
let mut shard = shard_lock.write().await;
let event = match shard.next_event().await {
Ok(event) => event,
Err(source) => {
Expand Down

0 comments on commit 636d99f

Please sign in to comment.