diff --git a/src/shared/services/mention.ts b/src/shared/services/mention.ts index 330fb52..dfb0aac 100644 --- a/src/shared/services/mention.ts +++ b/src/shared/services/mention.ts @@ -18,7 +18,7 @@ export class MentionService { const chunkIdx = membersChunks.indexOf(memberChunk) const message = format` - ${bold('Mass mention by')} ${bold(mention('user', { id: caller.id, is_bot: caller.isBot(), first_name: caller.firstName }))} ${chunkIdx > 0 ? italic(`[${chunkIdx + 1}/${membersChunks.length}]`) : ''} + ${bold('Mass mention by')} ${bold(mention('user', { id: caller.id, is_bot: caller.isBot(), first_name: caller.firstName }))} ${membersChunks.length > 1 ? italic(`[${chunkIdx + 1}/${membersChunks.length}]`) : ''} ${join(this.buildMentions(memberChunk), entity => entity, ' ')} `