Skip to content

Commit

Permalink
fix(discord_client): name hoge fn (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
nanai10a committed Mar 21, 2022
1 parent 3053de6 commit 02bb011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/discord.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ impl EvHandler {
}
}

async fn hoge(inner: Arc<EvHandlerInner>, ctx: SerenityContext) {
async fn initial_validate_vc_cache(inner: Arc<EvHandlerInner>, ctx: SerenityContext) {
let mut interval = interval(Duration::from_secs(1));

loop {
Expand Down Expand Up @@ -222,7 +222,7 @@ impl EventHandler for EvHandler {
tracing::info!("DiscordBot({}) is connected!", ready.user.name);

let inner = Arc::clone(&self.inner);
tokio::spawn(Self::hoge(inner, ctx));
tokio::spawn(Self::initial_validate_vc_cache(inner, ctx));
}

async fn voice_state_update(
Expand Down

0 comments on commit 02bb011

Please sign in to comment.