chore: format

This commit is contained in:
2026-05-24 13:28:02 -04:00
parent 56ec8aaf8c
commit 5cb938aa24
3 changed files with 10 additions and 14 deletions

View File

@@ -16,12 +16,10 @@ use std::{
time::Instant, time::Instant,
}; };
use time::UtcDateTime; use time::UtcDateTime;
use twilight_model:: use twilight_model::id::{
id::{ Id,
Id, marker::{ChannelMarker, GuildMarker, UserMarker},
marker::{ChannelMarker, GuildMarker, UserMarker}, };
}
;
#[derive(Debug, Clone)] #[derive(Debug, Clone)]
struct Handler { struct Handler {

View File

@@ -1,10 +1,6 @@
use crate::{ use crate::{VCs, call::join_and_record, command::State};
VCs, call::join_and_record, command::State,
};
use snafu::{OptionExt as _, Snafu}; use snafu::{OptionExt as _, Snafu};
use std:: use std::sync::LazyLock;
sync::LazyLock
;
use twilight_model::{ use twilight_model::{
application::{ application::{
command::{Command, CommandType}, command::{Command, CommandType},
@@ -131,7 +127,8 @@ pub async fn handle(state: State, interaction: Interaction) {
.songbird(&state.songbird) .songbird(&state.songbird)
.user_data_manager(state.user_data_manager) .user_data_manager(state.user_data_manager)
.voice_channel_id(voice_channel_id) .voice_channel_id(voice_channel_id)
.call().await .call()
.await
{ {
Ok(()) => { Ok(()) => {
let channel_mention = format!("<#{voice_channel_id}>"); let channel_mention = format!("<#{voice_channel_id}>");

View File

@@ -1,6 +1,7 @@
use clap::Parser; use clap::Parser;
use fomo_reducer::{ use fomo_reducer::{
BotDataManager, CommandRouter, GuildVoiceChannelToTextChannel, State, Storage, UserDataManager, VCsSender, all_commands, command, heat_seek, initialize_vcs, update_vcs BotDataManager, CommandRouter, GuildVoiceChannelToTextChannel, State, Storage, UserDataManager,
VCsSender, all_commands, command, heat_seek, initialize_vcs, update_vcs,
}; };
use secrecy::{ExposeSecret, SecretString}; use secrecy::{ExposeSecret, SecretString};
use snafu::{OptionExt, ResultExt, Snafu}; use snafu::{OptionExt, ResultExt, Snafu};