Skip to content

Commit

Permalink
remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Seb committed Mar 15, 2023
1 parent 27daea8 commit b54ff41
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/dickcord.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ struct Handler {
#[async_trait]
impl EventHandler for Handler {
async fn ready(&self, context: Context, _ready: Ready) {
println!("Finding user {}", self.user_id);

let guilds = context.cache.guilds();
println!("Searching in {} guilds", guilds.len());

let channel = find_voice_channel(&context, self.user_id, guilds.clone())
.await
.expect("Could not find voice channel");
Expand All @@ -35,7 +31,6 @@ impl EventHandler for Handler {
let input = self.audio.stream().into_input();
call.play_source(input);

println!("{}", channel.id);
self.ready.send(()).unwrap();
}
}
Expand Down

0 comments on commit b54ff41

Please sign in to comment.