Function format_direction
Source async fn format_direction(msg: &Message, context: &CommandContext) -> String
Expand description
Formats the direction of a message (sent or received).
§Arguments
msg - The Message to format.
context - The CommandContext for looking up peer labels.
§Returns
A formatted string indicating the message direction and peer label.