Skip to content

Commit

Permalink
Remove extra dots
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowRZ committed Nov 15, 2023
1 parent d5f0636 commit 2da492e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bot_commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ async fn name_changes_command(
MembershipChange::Joined => {
count -= 1;
let result = format!(
"{count}: Joined with display name {}.\n",
"{count}: Joined with display name {}\n",
event.content.displayname.unwrap_or("(No name)".to_string())
);
body.push_str(&result);
Expand Down Expand Up @@ -286,7 +286,7 @@ async fn avatar_changes_command(
let avatar_link =
avatar_http_url(event.content.avatar_url.as_deref(), homeserver)?;
let result = format!(
"{count}: Joined with avatar {}.\n",
"{count}: Joined with avatar {}\n",
avatar_link.map(|link| link.to_string()).unwrap_or("(No avatar)".to_string())
);
body.push_str(&result);
Expand Down

0 comments on commit 2da492e

Please sign in to comment.