Skip to content

Commit

Permalink
Merge pull request #2 from igoose1/emit-space
Browse files Browse the repository at this point in the history
Emit extra space when last name is missing
  • Loading branch information
TiraelSedai authored Jul 16, 2024
2 parents 88ae692 + 53fd618 commit d2cfae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ClubDoorman/Worker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ private async Task<bool> BanIfBlacklisted(User user, Chat chat)
await _bot.BanChatMemberAsync(chat.Id, user.Id);
await _bot.SendTextMessageAsync(
Config.AdminChatId,
$"Забанен юзер {user.FirstName} {user.LastName} в чате {chat.Title} по блеклисту спамеров"
$"Забанен юзер {FullName(user.FirstName, user.LastName)} в чате {chat.Title} по блеклисту спамеров"
);
return true;
}
Expand Down

0 comments on commit d2cfae1

Please sign in to comment.