| 2496 | result.push(charString); | 2496 | result.push(charString); |
| 2497 | } | 2497 | } |
| 2498 | | 2498 | |
| 2499 | // Add other group members as the stopping strings | 2499 | // Add group members as stopping strings if generating for a specific group member or user. (Allow slash commands to work around name stopping string restrictions) |
| 2500 | if (selected_group) { | 2500 | if (selected_group && (name2 || isImpersonate)) { |
| 2501 | const group = groups.find(x => x.id === selected_group); | 2501 | const group = groups.find(x => x.id === selected_group); |
| 2502 | | 2502 | |
| 2503 | if (group && Array.isArray(group.members)) { | 2503 | if (group && Array.isArray(group.members)) { |