rileyshahar / botcbot

A WIP bot for playing Blood on the Clocktower on Discord. Version 2.
3 stars 1 forks source link

Make comma-separated lists use semicolons when items have commas #2

Closed rileyshahar closed 4 years ago

rileyshahar commented 4 years ago

When lists created with utils/list_to_plural_string have items with commas, the lists should be semicolon (or line-break) separated. In particular, currently, votes on a player are displayed in a comma-separated list, which is unclear, for instance:

6 votes on Blue | Amelia (She/Her) (nominated by Darkseid.): MiX, vice (soy monkey) (he/him), Jirwe, Honorary Sgaheh, Chavey (Vice's Best Friend), Recusant Angel (he/him), and Blue | Amelia (She/Her). They are about to be executed.

This looks like seven players nominated, even though only six did.