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 9df4172 commit 3dbafce
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 @@ -41,7 +41,7 @@ async fn main() -> Result<(), Box<dyn Error + Send + Sync>> {
| Intents::GUILDS;

let shard_lock = Arc::new(RwLock::new(Shard::new(ShardId::ONE, token.clone(), intents)));
let shard_c_lock = lock.clone();
let shard_c_lock = shard_lock.clone();

let http = Arc::new(HttpClient::new(token));

Expand Down

0 comments on commit 3dbafce

Please sign in to comment.