async fn in_vote_period(&self, msg: &Message) -> bool {
        if let Some(g) = msg.guild_id {
            !self.votes.get(&g).unwrap().read().await.is_empty()
        } else {
            true
        }
    }
/// Checks whether the vote is currently in the suggestion period.
/// If no votes are cast, it is not in the voting period.
Checks whether the vote is currently in the suggestion period.
If no votes are cast, it is not in the voting period.
Checks whether the vote is currently in the suggestion period . If no votes are cast it is not in the voting period .
async fn in_vote_period(&self, msg: &Message) -> bool {
        if let Some(g) = msg.guild_id {
            !self.votes.get(&g).unwrap().read().await.is_empty()
        } else {
            true
        }
    }
async fn in_vote_period ( & self , msg : & Message ) -> bool { if let Some ( g ) = msg . guild_id { ! self . votes . get ( & g ) . unwrap ( ) . read ( ) . await . is_empty ( ) } else { true } }
Checks whether the vote is currently in the suggestion period.
Checks whether the vote is currently in the suggestion period .
&self
msg
&Message
&self
msg
&Message