Skip to content

Commit

Permalink
Mention that unusual_dm_activity_until might be a time in the past
Browse files Browse the repository at this point in the history
  • Loading branch information
arqunis committed Jan 1, 2024
1 parent c5e6b3d commit a5433d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/model/guild/member.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub struct Member {
/// If the member is currently flagged for sending excessive DMs to non-friend server members
/// in the last 24 hours.
///
/// Will be None if the user is not currently flagged.
/// Will be None or a time in the past if the user is not timed out.
pub unusual_dm_activity_until: Option<Timestamp>,
}

Expand Down Expand Up @@ -600,7 +600,7 @@ pub struct PartialMember {
/// If the member is currently flagged for sending excessive DMs to non-friend server members
/// in the last 24 hours.
///
/// Will be None if the user is not currently flagged.
/// Will be None or a time in the past if the user is not timed out.
pub unusual_dm_activity_until: Option<Timestamp>,
}

Expand Down

0 comments on commit a5433d7

Please sign in to comment.